似乎使用ActiveJDBC是非常有限原始SQL与ActiveJDBC
我有三个表A,B和C都具有文本列 我想所有这些表的
我试图
工会LazyList<A> list = A.findBySQL("(select name as text from a) union (select version as text from b) union (select id as text from c)
,我试图
LazyList<A> list = A.findBySQL("select a.* from ((select name as text from a) union (select version as text from b) union (select id as text from c)) as a");
既不工作。有没有其他的方式来获得这三个表的联合?
这会工作。最后一行与'List