-->
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.  [ 1 post ] 
Author Message
 Post subject: Override Hibernate Timestamp type
PostPosted: Thu Feb 18, 2010 5:56 pm 
Newbie

Joined: Sun Feb 08, 2009 10:05 pm
Posts: 11
Hi All,

I am using a database that doesn't support 9 digits of precision for SQL Timestamps.

They only allow 6 digits of precision.

Is there a way that I can remove the extra digits? Do I have to create my own SQL Timestamp type (inherit from the Hibernate Timestamp type and inject that into my dialect) or is there some configuration I can set somewhere?

Thanks for your help!

Ronak


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

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.