public void testBindObjectNotEqualFull() throws Exception {
createTestData("prepare");
ObjectContext context = createDataContext();
Artist a = DataObjectUtils.objectForPK(context, Artist.class, 33002);
String template = "SELECT * FROM PAINTING t0"
+ " WHERE #bindObjectNotEqual($a [ 't0.ARTIST_ID' ] [ 'ARTIST_ID' ] ) ORDER BY PAINTING_ID";
SQLTemplate query = new SQLTemplate(Painting.class, template);
query.setColumnNamesCapitalization(CapsStrategy.UPPER);