[ http://jira.andromda.org/browse/SITE-44?page=comments#action_12584 ]
Paul Pavlidis commented on SITE-44:
-----------------------------------
It says:
Activation
To enable cache features on generated files, the following namespace properties
should be used.
* hibernateEnableCache: this property activates the caching features within
the cartridge. When enabled, all Hibernate mapping files will be created with
the required cache settings, the EhCache descriptor file will be generated, and
the Hibernate configuration file property hibernate.cache.use_query_cache will
be set to true .
* hibernateEnableAssociationsCache: this property activates the custom
cache settings for each association. When enabled, each association ends can
contain its own specific configuration. default values for undefined properties
are allowed.
But I found that not setting the 'cache' outlet results in the ehcache.xml file
not being re-generated.
> second-level cache docs don't mention 'cache' outlet namepace variable
> ----------------------------------------------------------------------
>
> Key: SITE-44
> URL: http://jira.andromda.org/browse/SITE-44
> Project: Website
> Type: Bug
> Reporter: Paul Pavlidis
> Assignee: Wouter Zoons
>
> Here: http://team.andromda.org/docs/andromda-hibernate-cartridge/howto1.html
> It says to activate the second level cache you only need to set the 'enabled'
> flag but it seems you actually have to set the "cache" property as well.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.andromda.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642