mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
ListAttribute seems to be mostly working, though I had to tweak hibernate-cfg.properties to
make it suck back generated primary keys. Restructured ListEntry so that most most gets are via Session.get() rather than by query. Added new methods to AttributeService to handle ListAttribute specific operations. Added a little more testing for AttributeService. I'm praying that the build will be repaired, since my efforts having been doing so much lately. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5553 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -90,13 +90,10 @@
|
||||
</class>
|
||||
<class name="ListEntryImpl" proxy="ListEntry" lazy="false" table="alf_list_attribute_entries">
|
||||
<cache usage="read-write"/>
|
||||
<id name="id" column="id" type="long">
|
||||
<generator class="native"/>
|
||||
</id>
|
||||
<natural-id>
|
||||
<many-to-one class="ListAttributeImpl" name="list" column="list_id"/>
|
||||
<property name="index" type="int" column="mindex" index="list_index_index"/>
|
||||
</natural-id>
|
||||
<composite-id name="key" class="ListEntryKey">
|
||||
<key-many-to-one class="ListAttributeImpl" name="list" column="list_id"/>
|
||||
<key-property name="index" type="int" column="mindex"/>
|
||||
</composite-id>
|
||||
<many-to-one class="AttributeImpl" name="attribute" column="attribute_id"/>
|
||||
</class>
|
||||
</hibernate-mapping>
|
||||
|
Reference in New Issue
Block a user