Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Hibernate Query

 
Manojkr Jadhav
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am new in hibernate, i want to run simple hibernate program but some following error,
please help me, How to solve following error.

log4j:WARN No appenders could be found for logger (org.hibernate.cfg.Environment).
log4j:WARN Please initialize the log4j system properly.

The dialect was not set. Set the property hibernate.dialect.
Exception in thread "main" java.lang.NullPointerException
at roseindia.tutorial.hibernate.FirstExample.main(FirstExample.java:42)
 
Paul Clapham
Sheriff
Posts: 21142
32
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hibernate? The topic of this forum is Websphere. Let's move this thread to the forum where Hibernate is on-topic.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic