[jboss-user] [JBoss Tools] - Re: JPA reverse engineer & MySQL
Dmitry Geraskov
do-not-reply at jboss.com
Thu Apr 28 07:30:12 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/602511#602511
--------------------------------------------------------------
Eric,
we checked this ourself. The hibernate works well with @Table(name = "F", catalog= "sample2") and one of the folowwing:
1) jdbc:mysql://localhost:3306/?nullCatalogMeansCurrent=false
2) jdbc:mysql://localhost:3306/sample2
3) jdbc:mysql://localhost:3306/ hibernate.*default_catalog*=sample2
sample2
@Table(name = "F", schema= "sample2") works in the cases:
1) jdbc:mysql://localhost:3306/?nullCatalogMeansCurrent=false
2) jdbc:mysql://localhost:3306/sample2
3) jdbc:mysql://localhost:3306/ hibernate.*default_schema*=sample2
The jpa validator is not consistent in some cases
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/602511#602511]
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/08181411/attachment.html
More information about the jboss-user
mailing list