-->
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.  [ 3 posts ] 
Author Message
 Post subject: Alias length
PostPosted: Tue Dec 16, 2003 8:24 pm 
Regular
Regular

Joined: Tue Sep 09, 2003 9:37 pm
Posts: 56
Location: Ogden, Utah, USA
In Hibernate2, the problem of aliases that are too long is supposed to be solved by the Alias class. However, unless a max length is passed in it uses Integer.MAX_VALUE which is huge!

What is the best way to implement a max length if your database has a restriction? I could just change that default constructor but it seems like there ought to be something in the dialect or a properties setting that would work without recompiling the jar file.

Thanks for your help!
Jenica Humphreys
MountainView Software


Top
 Profile  
 
 Post subject:
PostPosted: Tue Dec 16, 2003 8:45 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 12:50 pm
Posts: 5130
Location: Melbourne, Australia
eh?? This is working AFAIK. Do you have some example of something that fails? Note that Alias is used for a variety of different things.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Dec 18, 2003 2:55 pm 
Regular
Regular

Joined: Tue Sep 09, 2003 9:37 pm
Posts: 56
Location: Ogden, Utah, USA
I apologize, it must have been fixed in a newer version than I had. I have been unable to reproduce the problem with Hibernate 2.1 Final.


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