Java Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingJava Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
Ajax Application Generator Generate database and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
  #1  
Old September 1st, 2005, 05:23 PM
pawelsm pawelsm is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Aug 2005
Location: muenchen
Posts: 5 pawelsm User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 14 m 49 sec
Reputation Power: 0
Mapping collection of object

I want to map collection of objects. So far in java I was using Vector to hold them and I would be happy to stick with the Vector type instead switching to Set, Bag, List, or Map.

Is there any workaround so one can use Vector to hold objects and still be able to hibernate such a class ?

Sincerely,

Pawel

Reply With Quote
  #2  
Old April 17th, 2008, 06:42 AM
eejimkos eejimkos is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2008
Posts: 4 eejimkos User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 43 m 40 sec
Reputation Power: 0
hiii

just don't change ur jdk to jdk6.it supports vector and hashtables but these will now change to List(linkedlist...) and Map(HashMap,SortMap....).the main change will be the "Casting" methods which u have to use generics and collections instead of casting

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingJava Development > Mapping collection of object


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 

Iron Speed




© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway