users
[Top] [All Lists]

RE: [cinjug-users] Sql column alias length using hibernate

To: "James Carman" <james@xxxxxxxxxxxxxxxxxxxx>
Subject: RE: [cinjug-users] Sql column alias length using hibernate
From: bill.manuel@xxxxxxxxxx
Date: Mon, 28 Mar 2005 10:48:43 -0500
Cc: users@xxxxxxxxxx
Delivered-to: mailing list users@cinjug.org
In-reply-to: <000b01c533ac$2ff1bb90$c951058f@carmani600m>
Mailing-list: contact users-help@cinjug.org; run by ezmlm



I am using Hibernate 2.1.8.  I am using the InformixDialect.

Bill Manuel
Sun Certified Web Component Developer
Supply Chain Systems
The Kroger Co.
(513) 762-1283
bill.manuel@xxxxxxxxxx


                                                                           
             "James Carman"                                                
             <james@carmancons                                             
             ulting.com>                                                To 
                                       <users@xxxxxxxxxx>                  
             03/28/2005 10:38                                           cc 
             AM                                                            
                                                                   Subject 
                                       RE: [cinjug-users] Sql column alias 
                                       length using hibernate              
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           




The Informix dialect should be taking care of this for you.  What version
of
Hibernate do you use?

-----Original Message-----
From: bill.manuel@xxxxxxxxxx [mailto:bill.manuel@xxxxxxxxxx]
Sent: Monday, March 28, 2005 10:27 AM
To: users@xxxxxxxxxx
Subject: [cinjug-users] Sql column alias length using hibernate






I am trying to use hibernate against an informix 7.something.  The problem
I
am having is hibernate is generating alias names for the columns in the sql
statements like this:

select someLongAlias.fieldName as fieldName_0 from someTable as
someLongAlias

Informix does not seem to like these long alias names -->  [Identifier
length exceeds the maximum allowed by this version of the server.]

I can't seem to find anything in the Hibernate forums.

Any Hibernate experts out there?

Bill Manuel
Sun Certified Web Component Developer
Supply Chain Systems
The Kroger Co.
bill.manuel@xxxxxxxxxx


---------
You may unsubscribe from this mailing list
by sending a blank email addressed to: users-unsubscribe@xxxxxxxxxx

--
Find additional help by sending a blank email
addressed to:
users-help@xxxxxxxxxx



---------
You may unsubscribe from this mailing list
by sending a blank email addressed to:
users-unsubscribe@xxxxxxxxxx

--
Find additional help by sending a blank email
addressed to:
users-help@xxxxxxxxxx





<Prev in Thread] Current Thread [Next in Thread>