Posts Tagged ‘Java’

Hibernate interceptors: Update entity’s properties “on update” and “on save”

An Hibernate interceptors provides a highly flexible way to hook into the session’s life-cycle to invoke your custom methods at particular session states, like before an entity is persisted and/or updated. Specially in multi-tier applications interceptors can be useful to plug in (entity) functionalities on a very clear way instead of scattering them through the […]

Read more…