Class EntityQueryWrapper<R>

java.lang.Object
net.sf.basedb.core.hibernate.QueryWrapper<R>
net.sf.basedb.core.hibernate.EntityQueryWrapper<R>
All Implemented Interfaces:
javax.persistence.Query, javax.persistence.TypedQuery<R>, BasicQueryContract<CommonQueryContract>, Query<R>, CommonQueryContract, Query<R>

public class EntityQueryWrapper<R>
extends QueryWrapper<R>
Wraps a hibernate query and adds checks so that unsaved items aren't added to the query as parameters. This is normally not detected until the query is executed. By wrapping a query with this class the same situation is detected immediately when adding the parameter to the query, which makes it easier to find problems.
Version:
2.5
Author:
nicklas
Last modified
$Date: 2018-11-06 15:50:29 +0100 (ti, 06 nov 2018) $