-->
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.  [ 5 posts ] 
Author Message
 Post subject: Mapping a MySQL Set
PostPosted: Thu Oct 16, 2008 7:31 am 
Newbie

Joined: Fri May 09, 2008 2:34 pm
Posts: 5
hey guys,
is there anyone who can explain how to map the MySQL datatype SET?
I tried building a "," separated string but it doesn't work. Any hints?
The problem is NOT to map a Java Set, the problem is to map a MySQL Dataset back to Java.

Thanks and regards,
chris


Top
 Profile  
 
 Post subject:
PostPosted: Thu Oct 16, 2008 8:43 am 
Newbie

Joined: Tue Nov 01, 2005 2:00 pm
Posts: 10
Use String. If that doesn't work, there's something else going on.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Oct 16, 2008 8:47 am 
Newbie

Joined: Fri May 09, 2008 2:34 pm
Posts: 5
thanks for your quick reply. i will try it again. the string has to be ',' separated, right?

regards,
chris


Top
 Profile  
 
 Post subject:
PostPosted: Thu Oct 16, 2008 8:57 am 
Newbie

Joined: Tue Nov 01, 2005 2:00 pm
Posts: 10
Yes.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Oct 16, 2008 10:16 am 
Newbie

Joined: Fri May 09, 2008 2:34 pm
Posts: 5
ok, you were right. it wasn't the main problem. only the error message was a little bit confusing.
topic closed


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 5 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.