"alex.loubyansky(a)jboss.com" wrote : Here
| @XmlType(propOrder={"mappingFiles", "jarFiles",
"classes", "properties"})
| | public class PersistenceUnitMetaData implements Serializable
|
| The only elements (and their order) this type has are listed in the propOrder. There
is no jta-data-source at all
Aha, don't know what I was thinking. :-)
I thought you only need to list the ones that are collections of elements.
Which doesn't make sense.
OK, getting this one now:
| Caused by: org.jboss.xb.binding.JBossXBRuntimeException: Attribute is not bound:
element owner {http://java.sun.com/xml/ns/persistence}property, attribute name
|
The mapping:
| @XmlElementWrapper(name="properties")
| @JBossXmlMapEntry(name="property")
| @JBossXmlMapKeyAttribute(name="name")
| @JBossXmlMapValueAttribute(name="value")
| public void setProperties(Map<String, String> properties)
| {
| this.properties = properties;
| }
|
and the same xml as before.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4145073#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...