• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Disable Hibernate

 
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I am using Spring framework 2 on my NetBeans 5.5.1
For JPA, I am using TopLink.

when I run my application on Tomcat 5.5, First access to database is fine..
next one.. it throw.. error like this
INFO [org.simtech.iBoem.B2Bi.B2BService] - Start subscribing
WARN [org.hibernate.connection.UserSuppliedConnectionProvider] - No connection properties specified - the user must supply JDBC connections
ERROR [org.simtech.iBoem.B2Bi.B2BService] - Error WS: org.hibernate.HibernateException: Hibernate Dialect must be explicitly set

I dont use Hibernate in my apps.. I thing the spring automatically load it.
Anyone know how to disable Hibernate so that my JPA toplink can work?

thanks,
arief
 
Ranch Hand
Posts: 166
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
check for a persistence.xml file on the classpath. There may be a hibernate reference in there.
 
arief hidayat
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Jeremy Wilson:
check for a persistence.xml file on the classpath. There may be a hibernate reference in there.



No hibernate.. it's all using TopLink, and the references are all from TopLink.



Never mind.. I solve my problem without disabling Hibernate..

I disable TopLink cache, and the error does not show up anymore.
I don't know why it could be like that. My deadline approaching, the most important thing is that the component working fine now. hehehe..

Anyway thanks.
 
reply
    Bookmark Topic Watch Topic
  • New Topic