-->
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: help with hibernate and mysql function now()
PostPosted: Wed Dec 07, 2005 5:07 am 
Newbie

Joined: Wed Dec 07, 2005 5:01 am
Posts: 2
Hi,

I have problem: I use hibernate for mapping objects in database. When I want to do save or update I need to put into one column result of mysql function now(), because people work on differnet workstation and I need time from database server side. Any suggestion please?

thanks

Filip


Top
 Profile  
 
 Post subject:
PostPosted: Wed Dec 07, 2005 6:50 am 
Senior
Senior

Joined: Mon Aug 22, 2005 5:45 am
Posts: 146
either disable saving this property in your mapping config, or set the timestamp value on the server side.

_________________
Please don't forget to give credit, if my posting helped to solve your problem.


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.