Yes, I've searched for this error before but not found anything I could relate to.
I get the exception:
Quote:
org.hibernate.AnnotationException: No identifier specified for entity
The class is auto-generated by NetBeans:
Code:
@Entity
@Table(name = "PDFINSTALLEDFONTS")
public class Pdfinstalledfonts {
@Id
@Column(nullable = false)
private BigDecimal id;
(..)
I read in the Hibernate FAQ that the reason for this error was that the unique id field wasn't annotated with @Id .. but it is in my case.
Anyone know what else might be the reason?