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.  [ 3 posts ] 
Author Message
 Post subject: concurrency with timestamp
PostPosted: Mon Oct 16, 2006 3:37 am 
Regular
Regular

Joined: Thu Aug 24, 2006 2:05 am
Posts: 80
Hi nHibernate Devs,

I am trying to figure-out whether nHibernate maintains timestamp internally or do I need to map the timestamp property with database column? If anybody has a clear understanding about how timestamp works in nHibernate then please help me out.

-Thanks
Deepak


Top
 Profile  
 
 Post subject:
PostPosted: Mon Oct 16, 2006 6:34 am 
Regular
Regular

Joined: Thu Aug 24, 2006 2:05 am
Posts: 80
Still no reply.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Oct 16, 2006 7:45 pm 
Beginner
Beginner

Joined: Wed Jun 01, 2005 3:22 pm
Posts: 38
Location: Menlo Park, CA
AFAIK, you need to map either a time stamp or version property to a database column if you want NHibernate to handle concurrency for you.

Alternately, you need to manually handle concurrency in your application somehow and pray to $diety that nothing and nobody accesses your data in some way other than your *single* app. (Bad idea, IMHO)


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 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.