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
Post a Comment