• Post Reply Bookmark Topic Watch Topic
  • New Topic

Hibernate Type for Oracle Interval Datatype

 
Sujatha Kumar
Ranch Hand
Posts: 134
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
May i know what is the equivalent of Interval datatype in
hibernate.

How can we represent this interval datatype in java??

I was thinking i can use a long dataype in java...

Any ideas???
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Looking at the Oracle9Dialect - Hibernate doesn't register a column type of interval, so what to use isn't clear. You might try creating a pojo via one of the 3rd party tools and see what it assigns to that datatype.
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!