File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Object Relational Mapping and the fly likes Hibernate Query Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Hibernate Query" Watch "Hibernate Query" New topic
Author

Hibernate Query

Manojkr Jadhav
Greenhorn

Joined: Sep 05, 2009
Posts: 7
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
Bartender

Joined: Oct 14, 2005
Posts: 18992
    
    8

Hibernate? The topic of this forum is Websphere. Let's move this thread to the forum where Hibernate is on-topic.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Hibernate Query