I have a JPA TableXXX class that contains the following field:
@Column(name = "CreatedOn")
@NotNull
private Date createdOn;
When I compile and deploy my app it throws an error:
Caused by: org.hibernate.HibernateException: Missing column: created_on in TABLEXXX
I am using Hibernate 3.5.5 and Oracle 10g. the CreatedOn column is stored as Timestamp in the database. Why does Hibernate add an underscore between 'created' and 'on'?