[hibernate-dev] Returned mail: Data format error

2016-03-10 Thread The Post Office
The original message was received at Fri, 11 Mar 2016 14:06:24 +0800 from lists.jboss.org [101.45.215.108] - The following addresses had permanent fatal errors - ___ hibernate-dev mailing list hibernate-dev@lists.jboss.org https://lists.jboss

Re: [hibernate-dev] HHH-8999/HHH-10413 and Comparable IDs

2016-03-10 Thread Gail Badner
As I mentioned before, it is not acceptable for the comparator for PrimitiveByteArrayTypeDescripter to be IncomparableComparator because a version attribute can be of type byte[]. We definitely do not want all byte[] version values to compare as equal. A Comparator needs to be implemented at least

Re: [hibernate-dev] HHH-8999/HHH-10413 and Comparable IDs

2016-03-10 Thread Steve Ebersole
Personally I think using IncomparableComparator or null here makes the most sense. I'm not really sure what the sort ordering of a byte array would "mean". On Thu, Mar 10, 2016, 1:41 AM Gail Badner wrote: > I've created a pull request implements option A) (creates comparators > for PrimitiveByt

Re: [hibernate-dev] The PAR archive test case validity - PackagedEntityManagerTest

2016-03-10 Thread Vlad Mihalcea
Done. I updated the pull request to have the "/" check first: https://github.com/hibernate/hibernate-orm/pull/1295 Vlad On Thu, Mar 10, 2016 at 2:18 PM, Steve Ebersole wrote: > I dislike having to instantiate File just to check. Please leave the > pre-emptive "/" check before instantiating th

Re: [hibernate-dev] The PAR archive test case validity - PackagedEntityManagerTest

2016-03-10 Thread Steve Ebersole
I dislike having to instantiate File just to check. Please leave the pre-emptive "/" check before instantiating the File. On Thu, Mar 10, 2016 at 4:16 AM Emmanuel Bernard wrote: > Right exactly. We ended up requiring persistence.xml and realized that > not having a specific extension was not

Re: [hibernate-dev] The PAR archive test case validity - PackagedEntityManagerTest

2016-03-10 Thread Emmanuel Bernard
Right exactly. We ended up requiring persistence.xml and realized that not having a specific extension was not hurting performance and feasibility. On Wed 2016-03-09 22:49, Steve Ebersole wrote: > A PAR is just an archive with a META-INF/persistence.xml file in it. The > JPA spec does cover this.

Re: [hibernate-dev] The PAR archive test case validity - PackagedEntityManagerTest

2016-03-10 Thread Emmanuel Bernard
I would go for the conservative side. This code was very tedious to stabilize on all crazy types of URL one can receive (http, file on various OSes, osgi, custom container url schemes, etc.). On Thu 2016-03-10 9:52, Vlad Mihalcea wrote: > The fix goes like this: > > if ( filePart.startsWith( "/"