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
|
|