[hibernate-dev] TypeDef annotation

2011-08-16 Thread Dmitry Geraskov
Hey, guys, I tried to find the requirements for @TypeDef#typeClass class property. I thought it is neccessary that typeClass be an implementation of org.hibernate.usertype.UserType interface, but seems it is not true. Could you please help me with the questions: 1. If typeClass should implement

Re: [hibernate-dev] classloading issue when trying to add envers to as7

2011-08-16 Thread Scott Marlow
Strong, Looks good, nice unit tests also! :) Scott On 08/16/2011 12:13 AM, Strong Liu wrote: > Hello guys, > > I just pushed the fix of this issue to my folk, take a look > https://github.com/stliu/jboss-as/commit/4f8bce12c6cc90415d697d321442f827287cde1c > > as https://docs.jboss.org/author/di

[hibernate-dev] Build broken

2011-08-16 Thread Hardy Ferentschik
Hi, seems the build for Hibernate Core is broken at the moment. This is related to the latest commit related to JPA callback methods - adf627159447e872ad26 Looking into it. Probably best not to pull for now. --Hardy ___ hibernate-dev mailing list hi

[hibernate-dev] Question about Hibernate 4.0 Infinispan second level cache usage...

2011-08-16 Thread Scott Marlow
I'm looking at o.h.c.i.InfinispanRegionFactory and wondering how best to configure the 2lc for AS 7.1. After a recent forum discussion and opening AS7-1544, I need to make some corrections to properly accommodate multiple JPA persistence units sharing the same underlying cache definition or ha

Re: [hibernate-dev] Question about Hibernate 4.0 Infinispan second level cache usage...

2011-08-16 Thread Sanne Grinovero
Hi Scott, demanding people to configure a new cache for each application is very tricky because of ISPN-658, unless you're referring to creating a whole new instance of Infinispan, with a dedicated new CacheManager and either starting a new JGroups channel or using the JGroups multiplexer Paul had

Re: [hibernate-dev] TypeDef annotation

2011-08-16 Thread Steve Ebersole
typeClass can name any of the org.hibernate.type.Type derivatives. Namely: 1) Any impl of org.hibernate.type.Type 2) Any impl of org.hibernate.usertype.UserType, including impls of org.hibernate.usertype.EnhancedUserType and org.hibernate.usertype.UserVersionType 3) Any impl of org.hibernate.u

Re: [hibernate-dev] Question about Hibernate 4.0 Infinispan second level cache usage...

2011-08-16 Thread Scott Marlow
On 08/16/2011 10:26 AM, Sanne Grinovero wrote: > Hi Scott, > demanding people to configure a new cache for each application is very > tricky because of ISPN-658, unless you're referring to creating a > whole new instance of Infinispan, with a dedicated new CacheManager > and either starting a new J

Re: [hibernate-dev] Question about Hibernate 4.0 Infinispan second level cache usage...

2011-08-16 Thread Sanne Grinovero
> I could try setting AvailableSettings.CACHE_REGION_PREFIX to the application > scoped pu name.  That seems to get added to the region name (region would > then be: application name + PU jar name + PU name + entity class). > > Would that be likely to work? That sounds like a good plan __

Re: [hibernate-dev] new metamodel code

2011-08-16 Thread Steve Ebersole
Meeting ended Tue Aug 16 15:13:33 2011 UTC. Information about MeetBot at http://wiki.debian.org/MeetBot . (v 0.1.4) Minutes: http://transcripts.jboss.org/meeting/irc.freenode.org/hibernate-dev/2011/hibernate-dev.2011-08-16-15.02.html Minutes (text): http://transcripts.jboss.org/meeting/irc.f

Re: [hibernate-dev] Question about Hibernate 4.0 Infinispan second level cache usage...

2011-08-16 Thread Scott Marlow
On 08/16/2011 11:08 AM, Sanne Grinovero wrote: >> I could try setting AvailableSettings.CACHE_REGION_PREFIX to the application >> scoped pu name. That seems to get added to the region name (region would >> then be: application name + PU jar name + PU name + entity class). >> >> Would that be likel

Re: [hibernate-dev] Question about Hibernate 4.0 Infinispan second level cache usage...

2011-08-16 Thread Sanne Grinovero
2011/8/16 Scott Marlow : > On 08/16/2011 11:08 AM, Sanne Grinovero wrote: >>> >>> I could try setting AvailableSettings.CACHE_REGION_PREFIX to the >>> application >>> scoped pu name.  That seems to get added to the region name (region would >>> then be: application name + PU jar name + PU name + en

Re: [hibernate-dev] Question about Hibernate 4.0 Infinispan second level cache usage...

2011-08-16 Thread Paul Ferraro
On Tue, 2011-08-16 at 10:45 -0400, Scott Marlow wrote: > On 08/16/2011 10:26 AM, Sanne Grinovero wrote: > > Hi Scott, > > demanding people to configure a new cache for each application is very > > tricky because of ISPN-658, unless you're referring to creating a > > whole new instance of Infinispan

Re: [hibernate-dev] Question about Hibernate 4.0 Infinispan second level cache usage...

2011-08-16 Thread Scott Marlow
>> >> I could try setting AvailableSettings.CACHE_REGION_PREFIX to the >> application scoped pu name. That seems to get added to the region name >> (region would then be: application name + PU jar name + PU name + entity >> class). >> >> Would that be likely to work? > > I think so. This is what