-->
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: HQL-Editor / Informix-Syntax (using MyEclipse)
PostPosted: Thu Jan 06, 2011 3:33 am 
Newbie

Joined: Wed Jan 05, 2011 5:20 pm
Posts: 6
Hi,

I make the first steps with Hibernate.
I use Myeclipse for the steps, because the integration
of hibernate is for a new user quit helpfull.

I managed to create of the DAO/POJO classes I need, (looks fine),
but when I use HQL-Editor,
I get an syntax-error at the generated FROM part.

the Naming is: "FROM server.database.table" is wrong

But informix need a colon after the database-name "FROM server:databse.table"
(or even better) FROM database.table (even FROM table would be sufficent)

I do not understand, wether this is an Informix-dialect or an hibernate-problem.

Qestion:
- do I see a pseudo-code or the real SQL-Code which will be used for informix?
- is this a problem of the informix-dialect ?
- how can I influence i.e. the generation of the from-part ?
- can I supress the server-part in the FROM clause ?

Yours Bernhard / Berlin


Top
 Profile  
 
 Post subject: Re: HQL-Editor / Informix-Syntax (using MyEclipse)
PostPosted: Fri Jan 07, 2011 6:07 pm 
Newbie

Joined: Wed Jan 05, 2011 5:20 pm
Posts: 6
Hi,

as I understand now, this is a problem with the informix-integration,
not a problem with hibernate or MySql itself.

There is a patch für 3.3-version at teh IIUG-Homepage.
If the 3.6-Version has this patch included, I don´t know till now.

Yours Bernhard


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.