java ee - Transient fields from Hibernate PersistentClass -
why isnt possible access transient fields (or fields annotated @transient) hibernates metadata api? shouldn't persistentclass#getproperties include fields of entity regardless of annotations or field modifications (because metadata layer)?
a similar question be: why not possible turn screws hammer? simply, unnecessary hibernate store these information never use , never care of.
if want dynamic access fields, hibernate mapping files wrong place them, should use java reflection.
Comments
Post a Comment