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

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -