JBoss Community

Re: JPA reverse engineer & MySQL

created by Dmitry Geraskov in JBoss Tools - View the full discussion

Eric J. Van der Velden,

could you please check @Table(name = "F", schema= "sample2", catalog= "sample2")

I guess hibernate toold doesn't add schema as consider it as default.

(In url you have something jdbc:mymysql://localhost:3306/?nullCatalogMeansCurrent=false)

where mymysql is schema and you don't need to override it.

Does hibernate work with generated annotation:

@Table(name = "F", catalog= "sample2")

or with updated

@Table(name = "F", schema= "sample2")?

Please check also

@Table(name = "F", schema= "sample2", catalog= "sample2")

Reply to this message by going to Community

Start a new discussion in JBoss Tools at Community