-->
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: Jaxb Static Class containing list mapping
PostPosted: Tue Dec 08, 2009 3:12 pm 
Newbie

Joined: Tue Dec 08, 2009 2:39 pm
Posts: 3
I have the following class structure. Would really appreciate if someone can help me with the mappings.
Class A {
B btype;

static class B {
List<C> values;
List<C> getValues();
}
}
I need to Map Class A to table_A and the List<C> to table_C with one-to-many from table_A to table_C.

I can create the mappings for Class A and the List if the list was directly contained in the Class A. Since the list is contained in static Class B, I can't figure out how to do this.

Would really appreciate some help;


Top
 Profile  
 
 Post subject: Re: Jaxb Static Class containing list mapping
PostPosted: Thu Dec 10, 2009 2:31 pm 
Newbie

Joined: Tue Dec 08, 2009 2:39 pm
Posts: 3
Please help with this if someone knows about this. I can't make any progress without someon'e help. Don't want
to switch technologies at this time.


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.