(1) In Animal.java:
* @hibernate.collection-many-to-many
* column="PREY_ID"This tag does not have an explicit class parameter, which is not mandatory, but the resulting hibernate mapping contains:
<many-to-many
class=""
column="PREY_ID"
outer-join="auto"
/>This throws an exception during deployment on JBoss and works only after including an explicit class parameter.
Is this expected behavior or a bug?
(2) In Product.java:
* @hibernate.property * length="4096" * Returns the image. * @return byte[]
only worked after inserting
* type="binary"
as parameter for the property tag.
Is this the correct way to fix it?
(3) In CompositeIdEntity.java:
public String getFoo() {
return _foo;
}
/**
* foo value
*
* @return String
* @hibernate.property
*/The property tag is after the method, which causes unexpected behavior on deployment.
(4) In LineItem.java
* @hibernate.class * table="ITEMS" * mutable="false" * schema="SHOP" * proxy="LineItem"
Only after removing the parameters schema and proxy, I was able to deploy without an exception.
What is the correct way to fix that issue or am I missing any parts from my sar file for JBoss?
(5) In CompositeIdEntity.java
This causes another exception, due to the fact that foo is overloading foo from the base class.
2004-02-10 16:12:14,140 DEBUG [net.sf.hibernate.jmx.HibernateServiceMBean] Error was
net.sf.hibernate.MappingException: Repeated column in mapping for class test.hibernate.CompositeIdEntity should be mapped with insert="false" update="false": foo
What is the correct fix here?
Any help on the questions above is much appreciated..
Andreas
------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
