[jboss-user] [JBoss Tools] - Re: JPA reverse engineer & MySQL

Dmitry Geraskov do-not-reply at jboss.com
Thu Apr 28 05:03:28 EDT 2011


Dmitry Geraskov [http://community.jboss.org/people/dgeraskov] created the discussion

"Re: JPA reverse engineer & MySQL"

To view the discussion, visit: http://community.jboss.org/message/602476#602476

--------------------------------------------------------------
http://community.jboss.org/people/ericjvandervelden 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
[http://community.jboss.org/message/602476#602476]

Start a new discussion in JBoss Tools at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2128]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110428/16ab030c/attachment-0001.html 


More information about the jboss-user mailing list