[hibernate-dev] jsr107

2014-03-19 Thread Alex Snaps
Hey everyone, I wondered if anyone had considered (even the feasibility of) moving the Caching SPI of Hibernate to use the (now released!) jcache API of JSR107? I was contemplating having a look at providing a "jsr107 caching provider" maybe first, which then could maybe folded into Hibernate... An

Re: [hibernate-dev] Bytecode enhancement

2014-03-19 Thread Ales Justin
Perhaps see if this can be of any use to you: * https://github.com/alesj/maven-transformer-plugin I'm using this as part of CapeDwarf's GAE jar transformation. * https://github.com/capedwarf/capedwarf-blue/blob/master/bytecode/src/main/java/org/jboss/capedwarf/bytecode/CapedwarfTransformerMojo.ja

Re: [hibernate-dev] Make HibernatePersistenceProvider easier to extend

2014-03-19 Thread Guillaume Smet
Hi Sanne, On Wed, Mar 19, 2014 at 2:54 PM, Sanne Grinovero wrote: > looks like a good idea to me, but my advice would be to make all the > changes and send a pull request: would make it easier to reason about > the implications. Well, it's more that I wasn't sure it was worth wasting your time w

Re: [hibernate-dev] Bytecode enhancement

2014-03-19 Thread Guillaume Smet
On Wed, Mar 19, 2014 at 6:06 PM, Emmanuel Bernard wrote: > My comment about bytecode enhancement was at a time where Hibernate ORM > did not make as much optimizations as it does now. > In an ideal world, the bytecode enhancement is triggered at startup time > like we do for Java EE. I am not sure

[hibernate-dev] Bytecode enhancement

2014-03-19 Thread Guillaume Smet
Hi, I took a look at the bytecode enhancement Maven plugin and I also have this issue https://hibernate.atlassian.net/browse/HHH-8833 . As far as I can tell the Maven plugin (and I suppose the Gradle plugin too) doesn't provide any information about the classpath so it's impossible to use the byt

Re: [hibernate-dev] Bytecode enhancement

2014-03-19 Thread Emmanuel Bernard
My comment about bytecode enhancement was at a time where Hibernate ORM did not make as much optimizations as it does now. In an ideal world, the bytecode enhancement is triggered at startup time like we do for Java EE. I am not sure if that's doable in your environment though. On Wed 2014-03-19 1

Re: [hibernate-dev] ci.hibernate.org and network port assignment

2014-03-19 Thread Sanne Grinovero
On 19 March 2014 17:00, Emmanuel Bernard wrote: > Is it possible to do something a little smarter and let the website jobs > run in parallel to this port cock fight builds? > I got stuck behind an ORM job that turn out to just fail after 30 mins > for some reasons I did not get. Good point: fixed

Re: [hibernate-dev] ci.hibernate.org and network port assignment

2014-03-19 Thread Emmanuel Bernard
Is it possible to do something a little smarter and let the website jobs run in parallel to this port cock fight builds? I got stuck behind an ORM job that turn out to just fail after 30 mins for some reasons I did not get. Emmanuel On Wed 2014-03-19 14:56, Sanne Grinovero wrote: > Thanks Paolo!

Re: [hibernate-dev] ci.hibernate.org and network port assignment

2014-03-19 Thread Sanne Grinovero
Thanks Paolo! @All, since we now have a single executor on the CI server, I've enforced a 90 minutes timeout on the ORM build job (master) as it occasionally hangs. On 18 March 2014 22:49, Paolo Antinori wrote: > hi everyone, > > I'll be happy to help with the activity of isolating build job in

Re: [hibernate-dev] Make HibernatePersistenceProvider easier to extend

2014-03-19 Thread Sanne Grinovero
Hi Guillaume, looks like a good idea to me, but my advice would be to make all the changes and send a pull request: would make it easier to reason about the implications. You should either see it "just gets merged", os get some more concrete feedback.. Such an approach might make you occasionally

Re: [hibernate-dev] DefaultLoadEventListener and second level cache

2014-03-19 Thread Emmanuel Bernard
I talked with Guillaume. TwoPhaseLoad.doInitializeEntity from initializeEntity from Loader.initializeEntitiesAndCollections from Laoder.processResultSet form Loader.doQuery from doQueryAndInitializeNonLazyCollections from doQueryAndInitializeNonLazyCollections from Persister.load from DefaultLoadE

[hibernate-dev] [OGM] Discussion on Neo4J mapping

2014-03-19 Thread Emmanuel Bernard
Davide explained to me the mapping of entities and associations by the new Neo4J dialect. It is recorded here. Meeting ended Wed Mar 19 12:10:29 2014 UTC. Information about MeetBot at http://wiki.debian.org/MeetBot . (v 0.1.4) Minutes: http://transcripts.jboss.org/meeting/irc.freenode.org/hiberna

Re: [hibernate-dev] Make HibernatePersistenceProvider easier to extend

2014-03-19 Thread Guillaume Smet
Hi, Any thoughts on this one? I have bandwidth this week if it's considered something we want. Thanks. On Thu, Jan 23, 2014 at 2:08 PM, Guillaume Smet wrote: > Hi, > > I'm starting our migration to ORM 4.3 to be able to provide some > (hopefully useful) feedback on ORM 4.3 and Search 4.5. > >

[hibernate-dev] DefaultLoadEventListener and second level cache

2014-03-19 Thread Guillaume Smet
Hi, We have a lot of second level cache misses on one of our applications and I wanted to understand why it was the case. These cache misses happen even after loading twice the exact same page. They are coming from entities which are loaded via DefaultLoadEventListener. I tried to debug it and wa