Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes 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>...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic