java - Table does not exist error despite I have it -


when use entity manager commit got following error: entity title exist , doesnt have error reason error

table/view 's1_manager' not exist.

happen when did commit.

entitymanager.gettransaction().commit();   @entity @table(name = "s1_manager") public class manager  {     @id      @column(name = "title_id", length = 128)         private string id; 

btw, table exist in persistence xml.

ensure table existing on database user/schema connecting to.

to have tables automatically created see,

http://wiki.eclipse.org/eclipselink/examples/jpa/ddl


Comments