posted 15 years ago
hi there,
i have a new problem.
i have a domain object called "Lecture", and in the database its called "Lectures"
i want to use hibernate to manage this database stuff so i created the annotations:
the interpreter says:
named queries can be defined only on an entity or a mappedsuperclass class.
i have no idea whats the problem because with @entity i tell hibernate that its a entity, dont i?
ps.: and yes, i used the netbeans "do the magic"-create objects from database sheme ;)