java - Is it worth the effort to move from a hand crafted hibernate mapping file to annotaions? -


i've got webapp original code base developed hand crafted hibernate mapping file. since then, i've become proficient @ 'coding' hbm.xml file. cool kids using annotations these days.

so, question is: is worth effort refactor code use hibernate annotations? gain anything, other being hip , modern? lose of control have in existing hand coded mapping file?

a sub-question is, how effort be? databases lean , mean. mapping covers dozen domain objects, including 2 sets, subclassing, , 8 tables.

thanks, dear sopedians, in advance informed opinions.

"if ain't broke - don't fix it!"

i'm old fashioned pojo/poco kind of guy anyway, why change annotations cool? best of knowledge can of stuff annotations, more complex mappings expressed more xml.


Comments

Popular posts from this blog

windows - Why does Vista not allow creation of shortcuts to "Programs" on a NonAdmin account? Not supposed to install apps from NonAdmin account? -

c++ - How do I get a multi line tooltip in MFC -

unit testing - How to mock PreferenceManager in Android? -