I think if you send object>>id, you should see the newly assigned
sequence value. If that's not working, a full code snippet might help
the group figure out what's going wrong.
-Dave
-----Original Message-----
From:
[hidden email] [mailto:
[hidden email]] On
Behalf Of oystein
Sent: Thursday, June 30, 2011 4:23 AM
To:
[hidden email]
Subject: [vwnc] retrieving sequence number in Glorp
Hi
I want to save an object to the database, and then retrieve the
autogenerated sequence number. When i say: inUnitsOfWorkDo: [session
register: myObject], the sequence nr is automatically updated, and
myObject
is stored with this id. Im using Oracle, and postgres for testing.
so, how can i get Glorp to return the sequence nr to smalltalk? Im using
visualworks.
--
View this message in context:
http://forum.world.st/retrieving-sequence-number-in-Glorp-tp3635380p3635380.html
Sent from the VisualWorks mailing list archive at Nabble.com.
_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc