Re: [hibernate-dev] SessionEventsListener feature (HHH-8654)

2013-11-14 Thread Gunnar Morling
Hi, This sounds very promising. Regarding the suggested type names, I'd personally prefer SessionEventListener (without the plural "s") and something like BaseSessionEventListener instead of EmptySessionEventsListener, as "empty" implies a specific behavior which a sub-class would not satisfy whe

Re: [hibernate-dev] SessionEventsListener feature (HHH-8654)

2013-11-14 Thread Sanne Grinovero
On 14 November 2013 11:36, Gunnar Morling wrote: > Hi, > > This sounds very promising. > > Regarding the suggested type names, I'd personally prefer SessionEventListener > (without the plural "s") and something like BaseSessionEventListener > instead of EmptySessionEventsListener, as "empty" impli

[hibernate-dev] [OGM] public repositories and snapshot version

2013-11-14 Thread Guillaume SCHEIBEL
Hi guys, How often is the snapshot version of ogm published onto the public repositories ? (btw which one is "valid" [1] ? [2] ? other? ). I asking that because I worked with Arun and the Java EE 7 sample to have an OGM integration (and it's working with the Ehcache module) and we need to have ac

Re: [hibernate-dev] [OGM] public repositories and snapshot version

2013-11-14 Thread Guillaume SCHEIBEL
PS: here are the repo URLS I'm talking about: [1] http://repository.jboss.org/nexus/content/groups/public/ [2] http://repository.jboss.org/nexus/content/groups/public-jboss/ 2013/11/14 Guillaume SCHEIBEL > Hi guys, > > How often is the snapshot version of ogm published onto the public > reposit

[hibernate-dev] Tuning ORM memory consumption [HHH-8682]

2013-11-14 Thread Sanne Grinovero
Hi all, from some performance tests we learned that a bottleneck for Hibernate using applications is often identified in the amount of memory we allocate at runtime, even considering the so called "short lived" objects which usually are not a threat are actually too high. Specifically, the highest

Re: [hibernate-dev] [OGM] public repositories and snapshot version

2013-11-14 Thread Gunnar Morling
Hi, 2013/11/14 Guillaume SCHEIBEL > Hi guys, > > How often is the snapshot version of ogm published onto the public > repositories ? (btw which one is "valid" [1] ? [2] ? other? ). > Apparently this doesn't happen on a regular basis atm. I'll have a look into the CI job ( http://ci.hibernate.o

Re: [hibernate-dev] Tuning ORM memory consumption [HHH-8682]

2013-11-14 Thread Steve Ebersole
Adding tenantIdentifier to persister is absolutely wrong. Think of persisters as scoped to the SessionFactory while tenancy is per Session. Now because an EntityKey is logically per session as well we may be able to remove from there. Again *logically*. I'll have to look at the ways in which En

[hibernate-dev] Meeting today

2013-11-14 Thread Steve Ebersole
I won't be able to make the irc meeting today ___ hibernate-dev mailing list hibernate-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/hibernate-dev

Re: [hibernate-dev] Tuning ORM memory consumption [HHH-8682]

2013-11-14 Thread Sanne Grinovero
On 14 November 2013 14:52, Steve Ebersole wrote: > Adding tenantIdentifier to persister is absolutely wrong. Think of > persisters as scoped to the SessionFactory while tenancy is per Session. I get that, I'm not suggesting to add it to _the_ persister of that entity. I'm proposing to create a n

Re: [hibernate-dev] [OGM] public repositories and snapshot version

2013-11-14 Thread Gunnar Morling
2013/11/14 Gunnar Morling > Hi, > > 2013/11/14 Guillaume SCHEIBEL > >> Hi guys, >> >> How often is the snapshot version of ogm published onto the public >> repositories ? (btw which one is "valid" [1] ? [2] ? other? ). >> > > Apparently this doesn't happen on a regular basis atm. > > I'll have a

[hibernate-dev] [OGM] Support of the MongoDB aggregation framework

2013-11-14 Thread Guillaume SCHEIBEL
Hello, I'm (at the moment) listening to the "MongoDB for JPA developers) and the speaker talks about the aggregation framework. Should we plan to support it as well ? I think a eventual way would be by adding a DSL next to the MongoDBDialect ? What do you think ? Guillaume

Re: [hibernate-dev] [OGM] Support of the MongoDB aggregation framework

2013-11-14 Thread Gunnar Morling
Hey Guillaume, 2013/11/14 Guillaume SCHEIBEL > Hello, > > I'm (at the moment) listening to the "MongoDB for JPA developers) and the > speaker talks about the aggregation framework. Should we plan to support it > as well ? > That's a very interesting topic. I haven't yet really looked into the