Just so it is perfectly clear: Hibernate does not use its cache providers in any way, shape or form for implementing the "first level cache". As Max mentioned, the "first level cache" is really just a particular aspect of the role fulfilled by the org.hibernate.engine.PersistenceContext implementation which internally uses a series of maps.
Thus, no need to bundle ehcache at all unless a user wants to use that as their second level cache. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Scott Marlow Sent: Tuesday, April 04, 2006 10:12 AM To: jboss-development@lists.sourceforge.net Subject: Re: [JBoss-dev] Unassigned for 4.0.4 On Tue, 2006-04-04 at 15:56 +0200, Max Rydahl Andersen wrote: > On Tue, 04 Apr 2006 15:44:51 +0200, Scott Marlow > <[EMAIL PROTECTED]> wrote: > > > Sounds good to me. My next question is how do we tell Hibernate to use > > JBoss Cache as the first level cache? > > *first* level cache ? Why would you ever want that ? > > You mean second level cache, right ? I mean first level cache, which by default is using ehcache-1.1.jar (jira JBAS-2868). We don't include ehcache-1.1.jar with the 4.0.4 as release which is why it cannot be resolved. I would like to use jboss cache instead as the first level cache but am not sure if Hibernate allows that. ------------------------------------------------------- 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 _______________________________________________ JBoss-Development mailing list JBoss-Development@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-development ------------------------------------------------------- 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&kid0944&bid$1720&dat1642 _______________________________________________ JBoss-Development mailing list JBoss-Development@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-development