java - UNION operator with QueryBuilder -


i want create select statement, union of 2 sub-queries. there way in ormlite create 2 queries querybuilder, , concatenate them , create union third querybuilder:

select * (         first select         union          second select)     isdefault = 0 order somerow; 

somerow changes dinamically. as know querybuilder not support union directly, somehow should inject concatenated union statement. result want list<myobject> querybuilder.query() returns it.


Comments

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -