-->
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: primitive arrays - with Strings
PostPosted: Thu Oct 23, 2003 11:26 am 
Beginner
Beginner

Joined: Thu Oct 23, 2003 11:22 am
Posts: 20
I am a beginner with Hibernate. So forgive me if this is covered somewhere... I have looked, but can't find what I am looking for...

I have a class (something like):

public class Party {

public void setMiddleNames(String[] mns) {
}

public String[] getMiddleNames() {
}
}

how do I map this?? Do I use a primitive-array or just array? I can't seem to find good information on primitive arrays and the attributes you use.

Luke Stephens


Top
 Profile  
 
 Post subject:
PostPosted: Thu Oct 23, 2003 12:53 pm 
Newbie

Joined: Mon Oct 20, 2003 3:03 pm
Posts: 13
try <array> I expect <primitive-array> is for arrays of java primitives (e.g., int) rather than Objects


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.