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&...]