Board index » jbuilder » a question in JBuilder6's "JBuilder Tutorials"

a question in JBuilder6's "JBuilder Tutorials"


2003-07-10 04:56:48 PM
jbuilder16
In the JBuilder Tutorials:
Database Application Developer's Guide
Saving changes back to your data source with a stored procedure
Tutorial: Saving changes using a QueryResolver
I try the project in the tutorial, but sometimes it displays the error
message:
" DataSet has no unique row identifiers.
Note: For QueryDataSets you need to disable metaDataUpdate.ROWID in the
MetaDataUpdate property, in addition to setting the RowId property on a
column."
And after displaying this message, the Column COUNTRY 's rowId property is
set to False.
What this message means, and why ?
 
 

Re:a question in JBuilder6's "JBuilder Tutorials"

In < XXXX@XXXXX.COM >Vairocana wrote:
Quote
I try the project in the tutorial, but sometimes it displays the error
message:
" DataSet has no unique row identifiers.
Note: For QueryDataSets you need to disable metaDataUpdate.ROWID
in the MetaDataUpdate property, in addition to setting the RowId
property on a column."

And after displaying this message, the Column COUNTRY 's rowId
property is set to False.

You need to set the rowID to true..just as the error message suggests.
The other issue is that some Drivers do not implement all the proper
JDBC APIs therefore there are times when DX can not properly determine
what columns are "unique row identifiers".. hence the remainder of the
error message.
John..
--
+++++++++++++++++++++++
TeamB are volunteer helpers. Please do not email replies or questions.
Post or reply only on this newsgroup. Thank you.
For Papers on DataExpress, Applets, and Web Technologies go to:
www.microps.com/mps/papers.htm
=======================