• 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic