-->
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 Boolean Arrays
PostPosted: Wed Sep 16, 2009 11:17 am 
Newbie

Joined: Wed Sep 16, 2009 11:06 am
Posts: 7
So I've googled this to death, and have searched the forums, etc, and I have not been able to find an answer on this.

I need to know how to go about mapping/persisting a simple boolean array, array size of about 100.

Example list of properties in my object:

Code:
private String inputText;
private String identifierName;
private int enumId;
private boolean[] validMfgs;
...


The first 3 properties are trivial, but how do I map the boolean[]? And can this be done in a single DB field or will it have to be normalized? (This will have to be deployed on several different client databases, including Oracle and MySQL among others)


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.