Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp
Hi All,
I am new to hibernate. Using Eclipse 3.1 + Hibernate 3.0.5 + jdk 1.4 + Tools 3.1 alpha 5.
We have a database (SQL server) and I used Wizard through the Eclipse to generate hibernate.cfg.xml and other mapping files. They are generated nicely.
Using artefact generation, the code is generated nicely but compiles only in jdk 1.5 and not in 1.4.
My eclipse is set to version 1.4 before code generation. Could you please tell me what I am doing wrong ? How do I set my environment so that the code generated is compliant with version 1.4.
Here are the errors:
1. Syntax error, static imports are only available if source level is 5.0
2. The method create(CcReviewHistory) is undefined for the type CcReviewHistoryHome CcReviewHistoryHome.java
I would greatly appreciate any help.
Thanks,
Ritesh