Dear Users,
I have a problem by using a foreign class (Info) from a jar-library as a component within my class User.
public class User {
@Embedded private Info info;
..... .... }
When I start the Application, I'm getting the message:
'org.hibernate.HibernateException: Missing column: login in Table USER'
The problem is, that I only need quiet a few attributes of the class Info. I don't want to create neither a column login, because I don't need it. Nor I want to create an own Info class, because I need exact this one. Furthermore I'm not able to use @Transient and @Column in the class Info, because I haven't access to the sourcecode.
How let I hibernate know, that I don't need the attribut login. Can anybody help me?
Thanks, Alex
|