• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Hibernate example gives NullPointerException

 
sam liya
Ranch Hand
Posts: 1243
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
this is my main class



this is my mapping class



this is my config xml



this is my mapping xml file



below is the exception i am getting



i am using Hibernate 4.3.why it doesn't create SessionFactory?
 
sam liya
Ranch Hand
Posts: 1243
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can anyone please help me?
 
meriem batoul
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi, did you found the solution? because i have the same error like you!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic