I recently found the "What's wrong with..." article while searching for
"Hibernate and JPA". I was trying to better understand JPA in an Apache Click
example app in Freddy Daoud's book (http://www.fdaoud.com/clickbook/), but like
the idea of the embedded meta-data so I'm reading more before I give it a try.
I read about accessing metadata for the "size", and about the Struts2
integration for rendering InputControls. I'm wondering about DataType. Can that
be accessed too? Could DataType be sub-classed, e.g. "EmailDataType", and
somehow autowired so db.MYTABLE.MYEMAIL.setControlType("email") might not be
necessary?
Thanks,
Tim