-->
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.  [ 1 post ] 
Author Message
 Post subject: mapping a fixed size array to columns iso related table
PostPosted: Thu Jul 12, 2007 8:38 am 
Newbie

Joined: Wed Jul 04, 2007 12:03 pm
Posts: 14
i have a fixed size array of status fields, say

class Document {
long id;
boolean[4] status;
}

i would like to map this onto 5 fields of the master table iso a related table (to avoid the join), say

table document
id status_0 status_1 status_2 status_3

does anybody have a reference on how to realize this (custom mapper?)

motivation : i would like to avoid the join

kind regards

koen


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

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.