JBoss Community

Re: JPA reverse engineer & MySQL

created by reskejal in JBoss Tools - View the full discussion

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

Start a new discussion in JBoss Tools at Community