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

reskejal do-not-reply at jboss.com
Fri Apr 19 19:06:42 EDT 2013


reskejal [https://community.jboss.org/people/reskejal] created the discussion

"Re: JPA reverse engineer & MySQL"

To view the discussion, visit: https://community.jboss.org/message/809365#809365

--------------------------------------------------------------
Any news about this topic??
I have the same problem with stable release of jboss developer studio (6.0).
In my case the error is only for the validator because i can use the genereted class without problem.
i'm also able to fix the error but i need remove manually the catalog definition and have an annotation like this
@Table(name = "F")
and default values (in JPA property windows) are "Default" for catalog and "Default (sample2)" for schema
Also with this fix my project work.

In jboss dev studio i have a Database Connection like jdbc:mysql://localhost:3306/sample2 
while on AS and in persistence.xml use data source with jta  (connection string is always like jdbc:mysql://localhost:3306/sample2)

Is there a way to not generate the catalog attribute in annotation ??

Thanks.
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/809365#809365]

Start a new discussion in JBoss Tools at Community
[https://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/20130419/21da5d04/attachment.html 


More information about the jboss-user mailing list