I'm trying generate a database schema but I end up with an extra table I don't want. My creation looks like this (well its a bit (much ?) simplified):
contactProcess.java (Extends from myProcess)
CreateContactProcess.java(Extends from ContactProcess)
This all works as expected but there is one thing I don't like about it. Because the CreateContactProcess contains the @Entity annotation, a table in the database is created with the name CreateContactProcess. This table contains one column and thats the id column. Is there a way to prevent hibernate to create the CreateContactProcess ?
Removing the @Entity annotation lets hibernate generate the right tables but as expected breaks my code and prevents me to persist my entities.
I'm trying to find a solution for problem for a couple of days and can't find a solution.. so any hibernate guru around here who know how to fix it ? (Without me having to patch hibernate itself )