These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: nhibernate jetdriver native generator get identifier on save
PostPosted: Thu Feb 25, 2010 9:59 am 
Newbie

Joined: Thu Jun 15, 2006 11:15 am
Posts: 3
hi all

I'm using jetdriver.dll with nhibernate and I have several tables with native generator pk.

the problem I'm facing is:
when I'm saving a new object, the session.save(o)
always returns me a "0" instead of the new Id for the object saved.

the same using a transaction and connection.release_mode = on_close.

how can I get the id of the object saved??

please help me!

EDIT:
I'm using

NHibernate.JetDriver.dll ver: 2.0.0.1001
NHibernate.dll ver: 2.1.2.4000


Top
 Profile  
 
 Post subject: Re: nhibernate jetdriver native generator get identifier on save
PostPosted: Thu Mar 18, 2010 4:47 am 
Newbie

Joined: Thu Mar 18, 2010 4:44 am
Posts: 1
Where I can find new dll version, please?

NHibernate.JetDriver.dll ver: 2.0.0.1001


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.