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

2016-03-11 Thread Gail Badner
Hibernate supports byte[] versions. You can see that org.hibernate.type.BinaryType implements VersionType. [1] The comment in BinaryType#seed says: // Note : simply returns null for seed() and next() as the only known // application of binary types for

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

2016-03-11 Thread Emmanuel Bernard
Version can be a byte[] ? I thought JPA was restricting version types actually. On Thu 2016-03-10 12:19, Gail Badner wrote: > As I mentioned before, it is not acceptable for the comparator for > PrimitiveByteArrayTypeDescripter to be IncomparableComparator because a > version attribute can be of t

[hibernate-dev] HHH-10360 Natural ID columns are nullable by default (hbm mappings only)

2016-03-11 Thread Gail Badner
I've created a pull request for this. [1] If it looks good I'd like to get the fix into 5.0.9. [1] https://github.com/hibernate/hibernate-orm/pull/1296 ___ hibernate-dev mailing list hibernate-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo

Re: [hibernate-dev] Everyone: Need volunteers for mentoring GSOC

2016-03-11 Thread Gunnar Morling
Hi, Just a quick reminder: student's application phase starts next Monday, so if anyone feels like adding another proposal, you should do so now. The async stuff would be very interesting IMHO, but it'd need some more sharpening to make it operational for students. Cheers, --Gunnar 2016-03-06