コード例 #1
0
 public void testWhereWithSpecialNamesWithValues() {
   QueryBuilder<SpecialNamesEntity> queryBuilder = dao.queryBuilder();
   queryBuilder.where(Properties.Avg.eq("test"));
   queryBuilder.where(Properties.Count.notIn("test", "test2"));
   queryBuilder.where(Properties.Distinct.ge("test"));
   queryBuilder.where(Properties.Index.le("test"));
   queryBuilder.where(Properties.Join.like("test"));
   queryBuilder.where(Properties.On.notEq("test"));
   queryBuilder.where(Properties.Select.in("test", "test2"));
   queryBuilder.where(Properties.Sum.lt(1));
   queryBuilder.where(Properties.Order.gt(1));
   queryBuilder.list();
   queryBuilder.buildCount().count();
   queryBuilder.buildDelete().executeDeleteWithoutDetachingEntities();
 }