(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



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to