Martin Taal's Blog

About EMF, Teneo, CDO, Texo, Hibernate, Open-Source ERP and other topics

Archive for January 2015

Teneo 2.1.0 adds support for Hibernate 4.3.*

with one comment

Hi,

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:

http://download.eclipse.org/modeling/emf/teneo/updates/2.1.0/interim/

For testing and for your convenience there is also an update site for the dependencies:

http://www.elver.org/eclipse/2.1.0/update/

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.

I hope this post is useful for you, thanks for reading and if you are interested feel free to give feedback or ask questions on the EMF newsgroup or forum.

gr. Martin

Advertisements

Written by martintaal

January 14, 2015 at 12:02 pm

Posted in Teneo

Texo and Xcore: tex(o)tual modeling and JPA/JSON webservices

leave a comment »

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:

Texo - Xcore right click options

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).

Thanks for reading and I hope this blog post helps to give Texo a try. Visit the Texo wiki for more information. Let me know if you have any questions or remarks on the EMFT newsgroup or forum!

gr. Martin

Written by martintaal

January 5, 2015 at 10:04 am

Posted in Texo