select problem

24 views
Skip to first unread message

purs...@gmail.com

unread,
Mar 11, 2014, 6:26:53 AM3/11/14
to lam...@googlegroups.com
Why this not work:
Table ann= (Table)selectFirst(myset, having(on(Annotation.class),  isA(Table.class)).and(having(on(Table.class).name().replace("\"", ""),equalTo(tableName))));

But this
Table ann= (Table)selectFirst(myset, having(on(Annotation.class),  isA(Table.class)).and(having(on(Table.class).name(),equalTo("\""+tableName+"\""))));
work ok
Reply all
Reply to author
Forward
0 new messages