Hi,

I am using the classes that implement "PropertyBusinessObject".

Create a table as follows:
             Menu mu = new Menu ();
             sqlMap.setPrimaryKeyAutoIncrement (mu, mu.sequence);
             sqlMap.createTable (mu);

When I try to insert a record I do this:
sqlMap.insert (mu);

Since mu.sequence is autoIncrement, how do I know which number was 
generated?

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/f72cbd0e-0334-406a-8ac3-a498b86b251eo%40googlegroups.com.

Reply via email to