No, we have not really considered moving away from using xdoclet for
creating the mapping files to Hibernate. I am aware that this is not the
most modern approach, but it has served us well so far. It might be
possible to move to JPA, but I am pretty sure that this will not be an
easy task. The *.hbm.xml files generated by are pre-processed in our
startup code where we add and change things before we hand them over to
the Hibernate configuration. It might be possible to solve this in
another way if the configuration is JPA-based but I have not looked into
that.
I think it would be easier to just get rid of xdoclet and have the
*.hbm.xml files in the source repository. It's an extra manual step to
keep things synchronized, but considering that we rarely make any major
database changes it should not be too difficult.
/Nicklas
On 2017-12-09 01:27, Muench, Joanna E wrote:
I’m working with a well-established BASE-based installation. One of our
goals has been to move the build into CI. I have switched from ant to
gradle without too much difficulty, although needed to call xdoclet from
a spawned ant task. Given that JPA annotations are now the recommended
mapping mechanism for Hibernate, I wondered if you had ever looked into
migrating from xdoclet to JPA annotation? It is something we’re
considering, and would appreciate knowing if there are major issues with
that migration.
Also, I’m happy to share how to build in gradle, if anyone is interested.
Thanks!
*/Joanna Muench/*
Software Engineering
Hutch Data Commonwealth
O 206.667.2320
jmue...@fredhutch.org
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
The BASE general discussion mailing list
basedb-users@lists.sourceforge.net
unsubscribe: send a mail with subject "unsubscribe" to
basedb-users-requ...@lists.sourceforge.net
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
The BASE general discussion mailing list
basedb-users@lists.sourceforge.net
unsubscribe: send a mail with subject "unsubscribe" to
basedb-users-requ...@lists.sourceforge.net