on 10-17-2011 2:29 PM
Hi experts,
I wrote a little JPA-application and created the database-tables with the JPA-Tools. In my Entity I get the "Table cannot be resolved" error code at the @Entity annotation. The database-table and the entity have the same name. I also tried the @Table(name="tablename") annotation but the error-code was the same.
Regards
Johannes
Hi
Are you sure you have imported "javax.persistence.Entity"
br
Timo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Johannes,
did you try to use uppercase?
@Table (name="TABLENAME")?
Regards,
-- Rolf
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.