-->
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: hi
PostPosted: Fri Nov 30, 2007 8:37 am 
Newbie

Joined: Thu Nov 29, 2007 9:09 am
Posts: 1
Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp

Hibernate version:

Mapping documents:

Code between sessionFactory.openSession() and session.close():

Full stack trace of any exception that occurs:

Name and version of the database you are using:

The generated SQL (show_sql=true):

Debug level Hibernate log excerpt:


Problems with Session and transaction handling?

Read this: http://hibernate.org/42.html

would like to use the hibernate tools for testing hql-queries. Unfortunately I can't get them to work. Like indicated in the manual, I create a .cfg.xml file with the wizard and then create a console configuration.

When switching to the hibernate view and when trying to open the console configuration I just created, I always get a "Problem Occured" window:

An internal error occurred during: "Fetching children of hibernate_console_configuration".
Bad version number in .class file

I'm using hibernate tools 3.1.0.beta5, postgreSQL 8.2, and hibernate 3.2.2.ga
would like to use the hibernate tools for testing hql-queries. Unfortunately I can't get them to work. Like indicated in the manual, I create a .cfg.xml file with the wizard and then create a console configuration.

When switching to the hibernate view and when trying to open the console configuration I just created, I always get a "Problem Occured" window:

An internal error occurred during: "Fetching children of hibernate_console_configuration".
Bad version number in .class file

I'm using hibernate tools 3.1.0.beta5, postgreSQL 8.2, and hibernate 3.2.2.ga

most interesting forum learning something all the time thanks i will try it

_________________
fitted slipcovers
slipcovers
sofa slipcovers


Top
 Profile  
 
 Post subject:
PostPosted: Fri Nov 30, 2007 1:38 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
if your classes is compiled to target Java 5 then you need to run eclipse with that too.

_________________
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:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.