[hibernate-dev] Support for entities without default constructor

2018-02-03 Thread Vlad Mihalcea
Hi, I realized that we could allow users to define entities without a default constructor. For Kotlin, which supportsdefault values, this could be beneficial. There is some info about how we could do that in this using Objenesis in the following Spring issue: https://jira.spring.io/plugins/serv

Re: [hibernate-dev] Support for entities without default constructor

2018-02-03 Thread Vlad Mihalcea
For anyone interested, Josh Long tell more about why they took this approach where they inject the default constructor: https://twitter.com/starbuxman/status/960049941916696578 Rafael Winterhaler shows that this can be easily done with Byte Buddy which we already used before: https://twitter.com