-->
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.  [ 4 posts ] 
Author Message
 Post subject: Can Hibernate use LinkedMap instead of LinkedHashMap /jdk1.3
PostPosted: Mon Sep 27, 2004 3:14 pm 
Regular
Regular

Joined: Thu Sep 09, 2004 6:46 pm
Posts: 96
Hibernate version: 2.1.6

Can hibernate 2.1.6 and > be changed to use LinkedMap from apache commons instead of LinkedHashMap if LinkedHashMap is not available. Please let me know if this is possible and if so when would I see it in 2.1.7?

Thanks,
Garry


Top
 Profile  
 
 Post subject:
PostPosted: Mon Oct 04, 2004 4:53 am 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
Ask that through JIRA, but we're not big fans of Commons stuffs.
You can even provide a patch, shouldn't be that hard I guess

_________________
Emmanuel


Top
 Profile  
 
 Post subject:
PostPosted: Mon Oct 04, 2004 4:55 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 12:50 pm
Posts: 5130
Location: Melbourne, Australia
there is already a request for this, you can vote for it if you like ... but I am also extremely loathe to get extra dependencies to commons stuff, it has always been a mistake in the past


Top
 Profile  
 
 Post subject: I provided a patch in JIRA...
PostPosted: Mon Oct 04, 2004 7:34 am 
Regular
Regular

Joined: Thu Sep 09, 2004 6:46 pm
Posts: 96
gavin wrote:
there is already a request for this, you can vote for it if you like ... but I am also extremely loathe to get extra dependencies to commons stuff, it has always been a mistake in the past


I provided a patch in JIRA. The patch works in such a way that it doesn't depend on commons until runtime. If LinkedHashMap exists it uses that otherwise if LinkedMap exists it uses that etc.... This is the way they implemented it for Spring.

Thanks,
Garry


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