Please use the user forum for such question
TIA
http://forum.hibernate.org

Michael Mehrle wrote:

This is what I'm doing:
/** Returns the keyword list associated with the referenced physical asset.
* @hibernate.list table="ImageMasterKeywords" lazy="false" cascade="save-update"
*
* @return List the keyworld list field.
*/
public List getKeywords() {
return keywords;
}
And the error I get is this:
[hibernatedoclet] org.xml.sax.SAXParseException: The content of element type "list" is incomplete, it must ma
ch "(meta*,(cache|jcs-cache)?,key,index,(element|one-to-many|many-to-many|composite-element|many-to-any))".
[hibernatedoclet] at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
[hibernatedoclet] at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)
[hibernatedoclet] at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
[hibernatedoclet] at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
[hibernatedoclet] at org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(Unknown Source)
[hibernatedoclet] at org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(Unknown Source)
[hibernatedoclet] at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source)
I tried to all types of variations, but nothing works. What is the correct way to store a simple List with Strings in a separate table?
Thanks!
Michael


--
Emmanuel Bernard
[EMAIL PROTECTED]
http://www.hibernate.org



-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
_______________________________________________
hibernate-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/hibernate-devel

Reply via email to