-->
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: Generated SQL Identifiers too long
PostPosted: Mon Jan 15, 2007 3:55 pm 
Beginner
Beginner

Joined: Sun Nov 16, 2003 3:04 pm
Posts: 24
Hibernate version: 3.2.0 GA

Name and version of the database you are using: Informix 9

I have two normal domain objects with a many-to-one relationship. When I try to do anything simple (like merge, etc...), the generated sql has identifier names that are longer than 18 characters, so informix pukes them out. Is there any setting to maintain the size of the identifier? If not, is there any work arounds to limit the size? The variable and class names aren't long. In fact, I'm having trouble understanding why these classes are giving me any trouble.

For the record, I'm using anotations and ejb3 in the application. There are a dozen other domains with normal to complex relationships, and all work. This one has given me a ton of trouble, though.

Any and all help is appreciated.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jan 21, 2007 7:29 pm 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
what do you mean by identifier? alias or actual column/table names?
if the latter, you can overridel their value using @(Join)Table and @(Join)Column

_________________
Emmanuel


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.