[jboss-user] [JBossCache] - Re: TreeCache and enum

bstansberry@jboss.com do-not-reply at jboss.com
Wed May 16 12:23:02 EDT 2007


That's a PojoCache issue; PojoCache is not involved in the Hibernate 2nd level cache use case.  PojoCache involves bytecode manipulation of the classes that you store so it can detect reads and writes of fields; that JIRA is to ensure that works properly with an enum. Hibernate just uses the plain TreeCache and stores its values as Object[].

If you try using a different 2nd level cache provider (EHCache, etc) and you see the same issue, then for sure its an issue with how Hibernate is dealing with your entity.  Suggest though you start with a search of the Hibernate forums and JIRA to see if anyone else has reported the same thing you are seeing.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4046206#4046206

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4046206



More information about the jboss-user mailing list