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

Popular posts from this blog

javascript - gulp-nodemon - nodejs restart after file change - Error: listen EADDRINUSE events.js:85 -

Fatal Python error: Py_Initialize: unable to load the file system codec. ImportError: No module named 'encodings' -

oracle - Changing start date for system jobs related to automatic statistics collections in 11g -