-->
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 Collection of UserTypes
PostPosted: Fri Jan 20, 2006 9:21 am 
Beginner
Beginner

Joined: Sat Dec 03, 2005 11:12 am
Posts: 27
Hi,
I have a POJO with this getter/setter methods

/**
@hibernate.property type = "gov.osc.pl.URLUserType" column= "file_url"
* @return Returns the fileURL.
*/
public URL getFileURL()
{
return fileURL;
}
/**
* @param fileURL The fileURL to set.
*/
public void setFileURL(URL fileURL)
{
this.fileURL = fileURL;
}

I have URLUserType class to Map url to database and it works fine. But how do i map collection of URL's to the database with URLUserType.

For Ex: how do i map public Collection getFileURL()

Thanks


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.