Re: [hibernate-dev] Enum mapping in hbm.xml

2015-07-20 Thread Gail Badner
+1 from me as well. Gail - Original Message - > From: "Hardy Ferentschik" > To: "Steve Ebersole" > Cc: "Hibernate Dev" > Sent: Monday, July 20, 2015 12:37:43 PM > Subject: Re: [hibernate-dev] Enum mapping in hbm.xml > > Hi, > > On Mon, Jul 20, 2015 at 05:36:30PM +, Steve Ebersole

Re: [hibernate-dev] org.hibernate.jpa.AvailableSettings.EVENT_LISTENER_PREFIX

2015-07-20 Thread Gail Badner
Ah, OK. I see. Thanks, Gail - Original Message - > From: "Steve Ebersole" > To: "Gail Badner" , "Hibernate" > > Sent: Monday, July 20, 2015 2:59:00 PM > Subject: Re: [hibernate-dev] > org.hibernate.jpa.AvailableSettings.EVENT_LISTENER_PREFIX > > 2 very different things. > > Available

Re: [hibernate-dev] org.hibernate.jpa.AvailableSettings.EVENT_LISTENER_PREFIX

2015-07-20 Thread Steve Ebersole
2 very different things. AvailableSettings.EVENT_LISTENER_PREFIX identifies Hibernate event listeners that the user wants incorporated into the org.hibernate.event.service.spi.EventListenerRegistry. It does not name JPA listeners/callbacks; that is done through JPA specific means via annotations.

Re: [hibernate-dev] ORM Team "triage" meeting

2015-07-20 Thread Gail Badner
+1 - Original Message - > From: "andrea boriero" > To: "Steve Ebersole" > Cc: "hibernate-dev" > Sent: Monday, July 20, 2015 8:22:51 AM > Subject: Re: [hibernate-dev] ORM Team "triage" meeting > > +1 for a dedicated room > > On 20 July 2015 at 15:52, Steve Ebersole wrote: > > > Does

[hibernate-dev] org.hibernate.jpa.AvailableSettings.EVENT_LISTENER_PREFIX

2015-07-20 Thread Gail Badner
AvailableSettings.EVENT_LISTENER_PREFIX is set to "hibernate.ejb.event". JpaIntegrator looks for ConfigurationService settings (which include properties) with that prefix, then strips off that prefix to determine the org.hibernate.event.spi.EventType. I see that org.hibernate.event.spi.EventTy

Re: [hibernate-dev] Enum mapping in hbm.xml

2015-07-20 Thread Hardy Ferentschik
Hi, On Mon, Jul 20, 2015 at 05:36:30PM +, Steve Ebersole wrote: > > As far as the default type, I don't feel that strongly. Like I said, to > > me neither is a really compelling way to map enums; names are only slightly > > better that ordinals imo. I am ok with the consistency aspect. +1 f

Re: [hibernate-dev] Enum mapping in hbm.xml

2015-07-20 Thread Steve Ebersole
https://hibernate.atlassian.net/browse/HHH-9955 On Mon, Jul 20, 2015 at 12:05 PM Steve Ebersole wrote: > Well, first things first :) > > Does anyone disagree with making this a requirement to be fully expressed > in the mapping? In other words, does anyone disagree fully resolving the > "enum t

Re: [hibernate-dev] Enum mapping in hbm.xml

2015-07-20 Thread Steve Ebersole
Well, first things first :) Does anyone disagree with making this a requirement to be fully expressed in the mapping? In other words, does anyone disagree fully resolving the "enum type" (ordinal/name) in org.hibernate.type.EnumType#setParameterValues? This would mean getting rid of the hooks in

Re: [hibernate-dev] ORM Team "triage" meeting

2015-07-20 Thread andrea boriero
+1 for a dedicated room On 20 July 2015 at 15:52, Steve Ebersole wrote: > Does it make sense to have a dedicated meeting room? I wonder if the main > hibernate-orm room is too chatty; if the discussion would just immediately > get lost. > > > On Tue, Jul 14, 2015 at 1:07 PM Steve Ebersole > wr

Re: [hibernate-dev] ORM Team "triage" meeting

2015-07-20 Thread Steve Ebersole
Does it make sense to have a dedicated meeting room? I wonder if the main hibernate-orm room is too chatty; if the discussion would just immediately get lost. On Tue, Jul 14, 2015 at 1:07 PM Steve Ebersole wrote: > Ok, then lets plan on next Tuesday on HiptChat... > > > http://www.timeanddate.

Re: [hibernate-dev] MariaDB on CI

2015-07-20 Thread Steve Ebersole
Sanne for MariaDB (and MySQL if we ever add it) we need to add at least one more setting: sql-mode="traditional" We could probably get away with less ANSI compliant mode, but after days playing with this I just want to cover my bases :) On Sat, Jul 18, 2015 at 3:37 PM Sanne Grinovero wrote: >

Re: [hibernate-dev] ORM - Download of DTD failed

2015-07-20 Thread Gunnar Morling
Ah yes; I had pulled, that's why I couldn't reproduce this issue locally :) Thanks for fixing it! 2015-07-20 14:13 GMT+02:00 Steve Ebersole : > Pull again :) I fixed this yesterday. We were missing the SourceForge > url for local resolution of the CFG DTD > > On Mon, Jul 20, 2015, 3:30 AM Gunna

Re: [hibernate-dev] ORM - Download of DTD failed

2015-07-20 Thread Steve Ebersole
Pull again :) I fixed this yesterday. We were missing the SourceForge url for local resolution of the CFG DTD On Mon, Jul 20, 2015, 3:30 AM Gunnar Morling wrote: > Hi, > > I noticed an interesting failure of HibernateCacheTest from the > "hibernate-ehcache" module in a recent ORM CI build [1].

[hibernate-dev] ORM - Download of DTD failed

2015-07-20 Thread Gunnar Morling
Hi, I noticed an interesting failure of HibernateCacheTest from the "hibernate-ehcache" module in a recent ORM CI build [1]. It failed to obtain hibernate-configuration-3.0.dtd from SourceForge (there was some service outage at SF at this time). Apart from the fact that the test uses the legacy U

Re: [hibernate-dev] Enum mapping in hbm.xml

2015-07-20 Thread Emmanuel Bernard
> On 19 Jul 2015, at 16:53, Steve Ebersole wrote: > > What I propose is that we change this. I am kind of torn as to the default > tbh. I think JPA's default of ORDINAL is the wrong choice. I think NAMED > is the better choice. Well technically I think an independent mapping code > it best.