Calculate « Property « JPA Q&A





1. Calculated property with JPA / Hibernate    stackoverflow.com

My Java bean has a childCount property. This property is not mapped to a database column. Instead, it should be calculated by the database with a COUNT() function operating on the ...