[seasar-user-en:36] How to get ID after insert ?

tran nguyet [E-MAIL ADDRESS DELETED]
Thu Jun 28 12:55:23 JST 2007


Hi All,
   
  I'm using s2sao.net 1.0.4 , and this is my problem.
   
  After inserting an object into table, I want to get back the ID which is automatically generated by using sequence. Then  I try to use s2dao method like this "Function AddEmp(employee As Employee) As Integer", but the return Integer is always  1, not the real ID. 
  Could you help me to solve this problem. 
   
  Thanks in advance. 
   
  MinhNguyet
  


       
---------------------------------
Boardwalk for $500? In 2007? Ha! 
Play Monopoly Here and Now (it's updated for today's economy) at Yahoo! Games.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ml.seasar.org/archives/seasar-user-en/attachments/20070627/b866cfe4/attachment.html 


More information about the seasar-user-en mailing list