Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

help on SQLServerDialect in hibernate

 
JP Estrada
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys,

I'm using SQL Server 2000 and have the MSDE installed.
when i run this code using HSQLDialect, i get the records with no problems.

session.createQuery("from PersistTable").list();

But when i use the SQLServerDialect, i dont get errors but i'm not able to retrieve the records... why is that? what other things do i need to setup?
[ June 05, 2007: Message edited by: JP Estrada ]
 
JP Estrada
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
oops my bad. i uncommented <property name="hbm2ddl.auto">create</property>...
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!