Upgrading Hibernate Libraries in the Aribaweb Packages

31 views
Skip to first unread message

Sarosh Mathew Koshy

unread,
Mar 31, 2016, 10:13:09 AM3/31/16
to AribaWeb (aribaweb.org)
Dear All

I tried upgrading the Hibernate jars to v5.1.0 in the AribaWeb bundle (v5.2) and found it to be non-trivial as there are several APIs that have changed.

Is there any possibility that there is some work being done to upgrade the packages?

Hibernate seems to have come a long way with features that we'd like to use in our application.

I do appreciate that this is a non-trivial question, but wanted to try my luck!

with regards,
Sarosh

Frantisek Kolar

unread,
Mar 31, 2016, 10:35:51 AM3/31/16
to arib...@googlegroups.com
Hi Sarosh, 

I think the fastest way to go forward as there hasnt been any work done in this area, to modify nessesary API to suppport the feature you would like to use in your App on your side. THe MetaUIJPA just using API that existed at that time. 

If you look at MetauiJPA, there are like 5 classes to look at. I think the best path would be to upgrade hibernate 3.x to 4.x, and then from 4.x - 5.x. 

Frank

--
You received this message because you are subscribed to the Google Groups "AribaWeb (aribaweb.org)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to aribaweb+u...@googlegroups.com.
To post to this group, send email to arib...@googlegroups.com.
Visit this group at https://groups.google.com/group/aribaweb.
For more options, visit https://groups.google.com/d/optout.

Sarosh Mathew Koshy

unread,
Apr 1, 2016, 2:43:35 AM4/1/16
to AribaWeb (aribaweb.org)
Hello Frank,

Thanks for the advise and for scoping the change down to the MetaUI-JPA package.

It might take some time to get our heads around how the MetaUI JPA classes work. There may be questions along the way. We'll go up the upgrade path like you recommend. I did notice the hibernate platform creating a lot of indexes and modifying mapping tables when the app booted up (the @Index annotations didn't really do anything in Hibernate 3.x).

Will keep the community posted as we make progress.

Thanks once again.

Sarosh

Frantisek Kolar

unread,
Apr 1, 2016, 3:04:47 AM4/1/16
to arib...@googlegroups.com
Dear Sarosh, 

This will be the safest and easiest path to take. As on Hibernate website you will find how to migrate 3-4, 4-5, what api changed, renamed. As for Indexes or more for primary and unique keys. 

I think this is out of box hibernate and java persistence api behavior where it scans all the classes search for specific annotaions and do nessesary action, when the app starts. 

Please search for autodetection in hibernate. hibernate.archive.autodetection. I think at this is it. it has been a while I worked with hibernate. 

Thanks, 
Frank
Reply all
Reply to author
Forward
0 new messages