-->
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: Map a matrix of double's in Hibernate?
PostPosted: Mon Jan 31, 2005 12:51 pm 
Newbie

Joined: Mon Aug 16, 2004 6:47 pm
Posts: 5
How can I map a matrix of doubles in Hibernate? Would it be a list of lists of double? What would the mapping file look like for this?

Thanks,

.../Ola


Top
 Profile  
 
 Post subject: Mapping to hashmap?
PostPosted: Wed Mar 02, 2005 6:39 am 
Newbie

Joined: Mon Aug 16, 2004 6:47 pm
Posts: 5
Replying to my own thread:

How about mapping the matrix to a (Hash)Map? Key can be row+"/"+col as a String, and value=(Double)myValue. How about such a solution? Comments on performance and other solutions would be highly appreciated!

/Ola


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.