Re: [hibernate-dev] WildFly 10 + Hibernate ORM 5 integration status update...

2015-06-01 Thread Scott Marlow
> > On 05/29/2015 02:03 PM, Steve Ebersole wrote: >> Scott, first please use a SNAPSHOT build as you'll need it for the HCANN >> fix I did, or you could just pull in the newest HCANN (5.0.0.Final) Should I use a pushed SNAPSHOT? I can build ORM master via "gradlew clean install", however, "gradle

Re: [hibernate-dev] WildFly 10 + Hibernate ORM 5 integration status update...

2015-06-01 Thread John O'Hara
Scott, To publish to your local Maven repo you can run; ./gradlew generateKarafFeatures publishToMavenLocal On 01/06/15 14:32, Scott Marlow wrote: >> On 05/29/2015 02:03 PM, Steve Ebersole wrote: >>> Scott, first please use a SNAPSHOT build as you'll need it for the HCANN >>> fix I did, or you

Re: [hibernate-dev] HSearch + Tika bridge using Wildfly modules

2015-06-01 Thread Sanne Grinovero
Hi Brett, with that configuration, your application is depending on the Tika module but since module dependencies are not transitive, and Hibernate ORM (and thus Search) depend on your WAR, they don't get access to the Tika dependencies. I see two options: - you have your deployment-structure dec

Re: [hibernate-dev] WildFly 10 + Hibernate ORM 5 integration status update...

2015-06-01 Thread Scott Marlow
On 05/29/2015 02:39 PM, Steve Ebersole wrote: > So: > 1) hibernate-infinispan seems to be able to see infinispan-core (which > is what defines as a dependency) > 2) hibernate-infinispan seems to not be able to see infinispan-commons > (which I would have to assume infinispan-core defines as a dep

Re: [hibernate-dev] WildFly 10 + Hibernate ORM 5 integration status update...

2015-06-01 Thread Steve Ebersole
Oh, I'll need to make generation of that file a dependency for publishing... On Mon, Jun 1, 2015 at 8:32 AM Scott Marlow wrote: > > > > On 05/29/2015 02:03 PM, Steve Ebersole wrote: > >> Scott, first please use a SNAPSHOT build as you'll need it for the HCANN > >> fix I did, or you could just pu

Re: [hibernate-dev] HSearch + Tika bridge using Wildfly modules

2015-06-01 Thread Brett Meyer
Sanne, right, I tried that as well -- makes sense in theory. jboss-deployment-structure: However, I still hit the same error. The *only* way I can get it to work is to directly add the Tika module to org.hibernate.search.engine's module.xml. Think there could be a larger classloading iss

Re: [hibernate-dev] HSearch + Tika bridge using Wildfly modules

2015-06-01 Thread Sanne Grinovero
On 1 June 2015 at 17:05, Brett Meyer wrote: > Sanne, right, I tried that as well -- makes sense in theory. > jboss-deployment-structure: > > > > > > However, I still hit the same error. The *only* way I can get it to work is > to directly add the Tika module to org.hibernate.search.engine's

[hibernate-dev] AnnotationBinder class loading

2015-06-01 Thread Steve Ebersole
HHH-9818[1] and HHH-9837[2] contains all the details. Essentially there is a very bad flaw in how hibernate-osgi is currently propagating class loading to mapping binding. Fixing this was missed in the 5.0 work. It only affects AnnotationBinder, but it happens to affect every single application

Re: [hibernate-dev] AnnotationBinder class loading

2015-06-01 Thread Sanne Grinovero
+1 And my caching work is ready (in my opinion). Could that be included? The important thing it does, is to replace those key contracts with an interface, preparing ground for various optimisations. I didn't implement the actual optimisations, but that won't break any SPI.. On 1 June 2015 at 18:0

Re: [hibernate-dev] AnnotationBinder class loading

2015-06-01 Thread Steve Ebersole
Yes, I think we should. On Mon, Jun 1, 2015 at 1:03 PM Sanne Grinovero wrote: > +1 > > And my caching work is ready (in my opinion). Could that be included? > The important thing it does, is to replace those key contracts with an > interface, preparing ground for various optimisations. I didn't

[hibernate-dev] 2nd level cache tuning on WildFly

2015-06-01 Thread Sanne Grinovero
Does someone have an example of how I could use different Infinispan Cache(s) for each of my Hibernate entities? The WildFly documentation doesn't get much into tuning: https://docs.jboss.org/author/display/WFLY9/JPA+Reference+Guide#JPAReferenceGuide-UsingtheInfinispansecondlevelcache I'd like

[hibernate-dev] "master" branch for Hibernate Search is now aiming at 5.4

2015-06-01 Thread Sanne Grinovero
I'm in the process of releasing Hibernate Search 5.3.0.CR1. This time, we won't wait for the Final release for branching to the next development iteration: "master" is now version 5.4.0-SNAPSHOT and you're all welcome to start proposing pull requests meant for 5.4. Since 5.3.0.CR1 is a candidate

Re: [hibernate-dev] Hibernate Search for Hibernate 5 - status

2015-06-01 Thread Sanne Grinovero
Hi Guillaume, thanks for confirming this. So I've changed the course in Search, and moved all non-blocking tasks out of the 5.3 stream of Hibernate Search, tagging the current stable 5.3 as CR1. We'll now move on as 5.4 and ORM5 is the highest priority - as soon as that's merged I'll tag a first pr

[hibernate-dev] Hibernate Metrics support

2015-06-01 Thread Mihalcea Vlad
Hi Steve, I was thinking of having a Metrics gathering API for all sorts of database-related operations: - connection acquiring/lease time- connection wait time- transaction durations- SQL query logger - slow queries threshold- number of queries per transaction threshold Something similar to htt

[hibernate-dev] Hibernate Caching SPI change proposal

2015-06-01 Thread Sanne Grinovero
Hello caching experts! At last minute before Hibernate ORM 5, I'm proposing a change in the second level caching SPI. I've already implemented it, including patching both the Ehcache and Infinispan modules to satisfy the new requirement, so you don't have to do much but please have a look and hop

Re: [hibernate-dev] Hibernate Metrics support

2015-06-01 Thread Steve Ebersole
Hibernate already has hooks to implement all of these between org.hibernate.SessionEventListener and org.hibernate.resource.jdbc.spi.StatementInspector On Mon, Jun 1, 2015 at 4:12 PM Mihalcea Vlad wrote: > Hi Steve, > > I was thinking of having a Metrics gathering API for all sorts of > databas

Re: [hibernate-dev] HSearch + Tika bridge using Wildfly modules

2015-06-01 Thread Brett Meyer
> It would surprise me. We delegate to the ORM classloader, and it's > well tested to load dependencies from the user module. My experience > with the jboss-deployment-structure XML file is more limited, I'd > rather suspect the dependency definition is not done correctly? > For example, I remember