cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with JPA annotation

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi

Are you sure you have imported "javax.persistence.Entity"

br

Timo

rolf_paulsen
Active Participant
0 Kudos

Hi Johannes,

did you try to use uppercase?

@Table (name="TABLENAME")?

Regards,

-- Rolf