hi all,
i'm using jboss tree cache (jboss 3.2.3, hibernate 2.1.2) and am trying to set some of my hibernate classes to use a transactional cache concurrency strategy.
i'm using xdoclet (1,2) to generate my .hbm.xml files and for the most this works perfectly.
however when i try to set the concurrency strategy to be transactional like :
Code:
* @hibernate.class table="hbm_country"
* @hibernate.cache usage="transactional"
i get an exception saying 'transactional' is not an allowed value for usage, only 'read-write,nonstrict-read-write,read-only' are allowed :
Code:
[hibernatedoclet] com.yahoo.gmmh.hibernate.Country
[hibernatedoclet] ERROR [main] (XDocletMain.java:53) - Running XDoclet failed.
[hibernatedoclet] ERROR [main] (XDocletMain.java:54) - <<The value 'transactional' specified for parameter 'usage' of hibernate.cache tag in com.yahoo.gmmh.hibernate.Country class is not valid. Valid values for this tag are:{read-write,nonstrict-read-write,read-only}.>>
[hibernatedoclet] D:\development\gmmh\yahoo\properties\wireless\gmmh\build.xml:310: XDoclet failed.
[hibernatedoclet] at xdoclet.DocletTask.start(DocletTask.java:467)
obviously this is a big problem if i want to use a transactional concurrency strategy with jboss treecache.
has anybody got this to work or knows a work around???
any help is greately appreciated.
cheers,
colum