-->
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: getTimestamp
PostPosted: Thu Aug 05, 2004 9:06 am 
Newbie

Joined: Thu Aug 05, 2004 9:03 am
Posts: 5
Can anyone please tell me how to get the time stamp of a particulat transaction i do.

i tried to use getTimestamp but could not. I could not figure which class method to call.

Help please!!


Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 05, 2004 9:09 am 
Hibernate Team
Hibernate Team

Joined: Mon Aug 25, 2003 9:11 pm
Posts: 4592
Location: Switzerland
What?

_________________
JAVA PERSISTENCE WITH HIBERNATE
http://jpwh.org
Get the book, training, and consulting for your Hibernate team.


Top
 Profile  
 
 Post subject: Re: getTimestamp
PostPosted: Thu Aug 05, 2004 9:42 am 
Newbie

Joined: Thu Aug 05, 2004 9:03 am
Posts: 5
[quote="karan"]Can anyone please tell me how to get the time stamp of a particulat transaction i do.

i tried to use getTimestamp but could not. I could not figure which class method to call.

Help please!![/quote]

want to get the time at which i execute one insert into the database. I tried to use the method getTimestamp(0 of the class sessionimpl but failed.!!


Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 05, 2004 9:52 am 
Hibernate Team
Hibernate Team

Joined: Mon Aug 25, 2003 9:11 pm
Posts: 4592
Location: Switzerland
System.currentTimeMillis();
new Date();

_________________
JAVA PERSISTENCE WITH HIBERNATE
http://jpwh.org
Get the book, training, and consulting for your Hibernate team.


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.