[hibernate-dev] HHH-11396 - Timezone handling

2017-03-14 Thread Christian Beikov
Hey everyone, I'd like to get your opinion on something. We had this issues regarding timezone handling which Vlad closed pretty quickly saying it isn't a Hibernate problem and I generally agree, but still would like to know what you think about it. So basically what we do in the LocalDateJava

Re: [hibernate-dev] HHH-11396 - Timezone handling

2017-03-14 Thread Jordan Gigov
What java.sql.Date does is wrong for many reasons (mostly because it extends java.util.Date which is a horrible API), but I think Vlad laid it out pretty well why it's a JDBC driver configuration problem and not a Hibernate problem. If you simply rely on the Java API to use handle it's l own TZ con

Re: [hibernate-dev] HHH-11396 - Timezone handling

2017-03-14 Thread Christian Beikov
So you are saying that it should be the JDBC drivers responsibility to add the JVMs local timezone offset to the java.sql.Date so the normalization can subtract the offset again? I would be ok with that, but is it really the responsibility of the JDBC driver? Mit freundlichen Grüßen, -

Re: [hibernate-dev] HHH-11396 - Timezone handling

2017-03-14 Thread Jordan Gigov
The driver just has to use the available `getDate/getMonth/getYear` functions of the java.sql.Date class, because they're what's intended by the API. The problem is that the MySQL driver tries to do more than that, when their database doesn't even support time zones. On 14 March 2017 at 12:17, Chr

[hibernate-dev] Hibernate NoORM IRC meeting minutes

2017-03-14 Thread Guillaume Smet
Hi! Here are the minutes of the meeting: 15:33 < jbott> Meeting ended Tue Mar 14 14:32:54 2017 UTC. Information about MeetBot at http://wiki.debian.org/MeetBot . (v 0.1.4) 15:33 < jbott> Minutes: http://transcripts.jboss.org/meeting/irc.freenode.org/hibernate-dev/2017/hibernate-dev.2017-03-14-14

[hibernate-dev] Hibernate ORM 5.1.5

2017-03-14 Thread Gail Badner
It turns out that I need to release Hibernate ORM 5.1.5 after all, so it can be included in WildFly. I created the 5.1.5 tag yesterday, and now I am going through the steps to release 5.1.5 to the community. In the process I will have to reopen all the jiras that were backported to add 5.1.5 as a

[hibernate-dev] Cursor leak

2017-03-14 Thread Vikas Bali
Hi I've observed cursor leak when using hibernate core version 4.1.6 with Java 8 and JBOSS EAP 7 env. I simply loading objects from database using hibernate and I do see for each hibernate execution, cursor is opened and it never closed till jobs server instance is down. I have tried using curr

[hibernate-dev] Hibernate ORM 5.1.5.Final has been released

2017-03-14 Thread Gail Badner
We decided to do another release of the 5.1 series to fix critical bugs to be included in an upcoming version of WildFly. This may be the last release of the 5.1 series, so we recommend that you migrate to 5.2 for future bugfixes. For details: http://in.relation.to/2017/03/14/hibernate-orm-515-fin

Re: [hibernate-dev] HHH-11144

2017-03-14 Thread Gail Badner
Emmanuel or Steve, please provide feedback. Thanks, Gail On Mon, Jan 23, 2017 at 3:17 AM, Gail Badner wrote: > This fell through the cracks. > > Emmanuel or Steve, please provide some feedback. > > Thanks, > Gail > > On Wed, Oct 26, 2016 at 6:48 AM, Gail Badner wrote: > >> HHH-11144 involves a

Re: [hibernate-dev] Can someone confirm if DB2 9.5 supports "cross join"?

2017-03-14 Thread Gail Badner
Since no one responded, I'll name the new dialect DB297Dialect. On Thu, Feb 16, 2017 at 3:18 PM, Gail Badner wrote: > I created HHH-11499 to create a new dialect for DB2 to use "cross join" > syntax instead of "," (as is currently done in DB2Dialect). > > Although DB2 9.1 reached its end of life

Re: [hibernate-dev] Cursor leak

2017-03-14 Thread Vlad Mihalcea
Hi, You should replicate this behavior using our test case templates: http://in.relation.to/2015/06/26/hibernate-test-case-templates/ You can choose the hibernate-orm-4 first: https://github.com/hibernate/hibernate-test-case-templates/tree/master/orm/hibernate-orm-4 and then check it out with