Win a copy of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications this week in the Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

What are the basic difference between javax.persistence and org.ibrenate.annotaton, in hibernate  RSS feed

 
jacob deiter
Ranch Hand
Posts: 588
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Anyone can clarify my query.I try to use annotation in hibernate.I use Eclipse with hibernate tool,When I add annotation to class for Ex:@entity ,then IDE suggest me to include Javax.persistence or org.hibernate.annotation.Which I have to include?

What are the basic difference between javax.persistence and org.ibrenate.annotaton, in hibernate
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!