JPA2

As all of you who are familiar with Hibernate know, not all entity annotations are mandatory. These non mandatory annotations include @Table and @Column annotations. However, even though these annotations are not required, leaving them out has never been an option for me. I simply don’t like the table and column names which are generated [...]

{ 0 comments }

Read the full article...

I ran into a really weird problem when I was playing around with JPA2 by using Hibernate 3.5 as JPA2 implementation. I had implemented two entity classes called BaseEntity and Person. BaseEntity class contains the common properties of all entity classes. The Person class extends the BaseEntity class and adds some person specific properties in [...]

{ 2 comments }

Read the full article...