-->
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.  [ 4 posts ] 
Author Message
 Post subject: What SessionImpelmentor.getTimestamp() really returns ?
PostPosted: Fri Aug 26, 2005 6:35 am 
Newbie

Joined: Thu Jul 21, 2005 10:48 am
Posts: 7
Hi,

I'm wondering what exactly timestamp does SessionImplementor.getTimestamp() method returnes ?
It is not normal timestamp as milliseconds from 01.01.1970
The number is much bigger. Does anyone have an idea ?


Thanks,
Peter


Top
 Profile  
 
 Post subject:
PostPosted: Sun Aug 28, 2005 7:39 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 3:00 pm
Posts: 1816
Location: Austin, TX
http://cvs.sourceforge.net/viewcvs.py/hibernate/


Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 29, 2005 2:55 am 
Newbie

Joined: Thu Jul 21, 2005 10:48 am
Posts: 7
Yes, I already check the sources and got what it returns.
The question is, is there a way to get the real transaction start time.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 29, 2005 3:23 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
that timestamp is not for getting transaction start time.

It is initialized with a value that helps into ensuring cache consistency/semantics.

_________________
Max
Don't forget to rate


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