-->
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.  [ 5 posts ] 
Author Message
 Post subject: Error of maxlength of field using DB2
PostPosted: Mon Mar 29, 2004 11:42 pm 
Newbie

Joined: Wed Dec 17, 2003 11:55 am
Posts: 10
Hi i am using DB2 as a database for my application.
I have come across a problem of maxlength for field name while working with a mainframe

the error is

The name "MANUAL_ENT_ALLOWED1" is too long. The maximum length is "18". SQLSTATE=42622


This is because i have a field name of 18 char while hibernate internally adds one more char for alias which is a problem.

Please guide.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Mar 31, 2004 9:35 am 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
Please put that to JIRA.

_________________
Emmanuel


Top
 Profile  
 
 Post subject:
PostPosted: Wed Mar 31, 2004 9:37 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 12:50 pm
Posts: 5130
Location: Melbourne, Australia
No, please don't. You must be using an obsolete version of Hibernate.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Mar 31, 2004 9:38 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 12:50 pm
Posts: 5130
Location: Melbourne, Australia
Actually, MANUAL_ENT_ALLOWED1 is not an alias generated by Hibernate anyway, so this is definitely not Hibernate's fault.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Mar 31, 2004 9:42 am 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
From some post later (:)http://forum.hibernate.org/viewtopic.php?t=929415), Gavin's right (of course)

_________________
Emmanuel


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 5 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.