Archive for January 2015
Teneo 2.0.0 supports Hibernate 4.1.* which was released in early 2012. Since then several Hibernate versions have followed and I have planned to upgrade Teneo to the latest 4.3.* hibernate version for some time now. I promised winter 2014 before and I now spend some time on it (January 2015 is also winter of 2014 I guess :-).
So I am happy to tell you that the 2.1.0 version of Teneo is now available with support for Hibernate 4.3.*.
You can download Teneo 2.1.0 from this update site:
For testing and for your convenience there is also an update site for the dependencies:
As you can see Teneo is being tested with Hibernate 4.3.7.
Teneo supports the JPA 2.0 spec, so not yet JPA 2.1. My plan for 2015 is to spend most of my time on Texo, Teneo is more in maintenance mode now. Teneo JPA 2.1 support can however be developed as a sponsored task. So if you are interested in sponsoring this development then contact me directly at mtaal_at_elver.org.
Xcore allows you to define and maintain models in a textual form. To quote the Xcore wiki page: ‘It eliminates the dividing line between modeling and programming, combining the advantages of each.’ Xcore really adds value and makes working with models easier and much more fun. So no wonder that it has been on my todo-list for a while now to see how I could integrate it nicely with Texo.
As often I got the extra needed push from questions on the newsgroup to finally get this done. The past year I have taken a closer look at Xcore and the way it handles models. I was pleasantly surprised to see that you can load Xcore-defined models through an EMF Resource and can easily get to the underlying EMF/ecore model.
This made it quite easy to make all the Texo functionality work for Xcore models:
- generate JPA entities directly from Xcore
- define annotation models to control code generation in detail
- overriding/extending code generation with own custom templates
- auto-generate while changing models
- full automatic-zero-coding CRUD JSON and XML webservice support
Most of the functionality is directly available with a simple right-click on a xcore file:
Note the last menu option: I also added a nice feature that allows you to generate the ecore model from an xcore file (not needed for Texo, but sometime nice to have in any case).