[hibernate-issues] [Hibernate-JIRA] Created: (HHH-6993) Cacheable attribute in jpa mapping file is ignored

Tien Tran (JIRA) noreply at atlassian.com
Fri Jan 20 08:40:12 EST 2012


Cacheable attribute in jpa mapping file is ignored
--------------------------------------------------

                 Key: HHH-6993
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-6993
             Project: Hibernate ORM
          Issue Type: Bug
    Affects Versions: 3.6.9
            Reporter: Tien Tran


While "access" and "metadata-complete" are recognised (org.hibernate.cfg.annotations.reflection.XMLContext.addClass() - line 152, 156), "cacheable" property as part of JPA 2.0 is ignored.

Should it be read and override the annotated value if any?

{code}<entity-mappings xmlns="http://java.sun.com/xml/ns/persistence/orm"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://java.sun.com/xml/ns/persistence/orm http://java.sun.com/xml/ns/persistence/orm_2_0.xsd"
	version="2.0">

	<entity class="path.to.Entity"
		access="FIELD" metadata-complete="false" cacheable="true" />

</entity-mappings>
{code}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list