Apologies.  The result of executing a maven xdoclet:hibernatedoclet is that the entity’s mapping is generated, the association mapping is created as well without the collection-cache setting.

 


From: Roland Chan [mailto:[EMAIL PROTECTED]
Sent: September 8, 2004 3:04 PM
To: '[EMAIL PROTECTED]'
Subject: Hibernate collection-cache

 

Hi gang,

 

I’m using the method level hibernate doclet tag collection-cache for the first time.  However, it doesn’t appear to be working correctly.

 

I am using with Maven 1.0.  Here is an example of one such annotation:

 

/**

     * Returns the list of possible attributeValues

     * @return a List of Values

     *

     * @hibernate.list table="attribute_value" name="attributeValues"

     * cascade="none" inverse="false" lazy="true"

     *

     * @hibernate.collection-cache usage="nonstrict-read-write"

     * @hibernate.collection-index column="sort_order"

     * @hibernate.collection-key column="attribute_id" type="string"

     *

     * @hibernate.collection-many-to-many

     * class="com.casebank.spotlight.domain.Value"

     * column="value_id" outer-join="true"

     *

     */

 

We are using 1.2b4.  Possibly time to upgrade?

 

Cheers,

Roll

Reply via email to