Support settings hints for JPAQuery
The support for hints and lockmode works like this :
@Test public void Hint(){ assertFalse(query().from(QCat.cat).setHint("org.hibernate.cacheable", true).list(QCat.cat).isEmpty()); }
@Test public void LockMode(){ assertFalse(query().from(QCat.cat).setLockMode(LockModeType.READ).list(QCat.cat).isEmpty()); }
Released in 2.0.2
Bug watches keep track of this bug in other bug trackers.
The support for hints and lockmode works like this :
@Test
assertFalse( query() .from(QCat. cat).setHint( "org.hibernate. cacheable" , true).list( QCat.cat) .isEmpty( ));
public void Hint(){
}
@Test
assertFalse( query() .from(QCat. cat).setLockMod e(LockModeType. READ).list( QCat.cat) .isEmpty( ));
public void LockMode(){
}