-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: Urgent: Artefact generation with jdk 1.4 - Problems !!!
PostPosted: Tue Sep 06, 2005 1:18 pm 
Newbie

Joined: Thu Sep 01, 2005 6:04 pm
Posts: 1
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


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 06, 2005 4:34 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
it is only the DAO and EJB3 generation that has jdk 1.5 dependencies in the alpha5 release

_________________
Max
Don't forget to rate


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
cron
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.