1

Trying to use Oracle's Times Ten db instead of hsqldb for performance reasons. I read where you need to create a new hibernate.jar file using times ten sql dialect class file. This is proving to be a little challenging. Does hibernate now work with times ten dialect?

Trevor
  • 163
  • 1
  • 2
  • 7

1 Answers1

2

I read where you need to create a new hibernate.jar file using times ten sql dialect class file.

Where did you read that? Unless you need change Hibernate, there is no need to recompile Hibernate to use a Dialect, as long as it's available on the classpath.

Does hibernate now work with times ten dialect?

Never tried myself but Oracle's TimesTen 7 includes org.hibernate.dialect.TimesTen7Dialect that is supposed to work with newer versions (i.e. TimesTen 11g).

TimesTen dialects have been submitted for inclusion into Hibernate (see HHH-3067) but still aren't. So either download TimesTen 7 (or maybe get it from HHH-3061 but I can't say if they are similar).

Pascal Thivent
  • 562,542
  • 136
  • 1,062
  • 1,124
  • http://www.oracle.com//technetwork/database/timesten/wp-timesten70-appsrv-128860.pdf – Trevor Nov 05 '10 at 11:45
  • At the end of the PDF mentions recompiling. After review it appears that you just need to include the timeten7dialect.java file. However we have hibernate working with times ten 11G without doing that step. – Trevor Nov 05 '10 at 11:46