Dynamic SQL query Builder


What would be the best approach to build a component that would be able to create “complex dynamic sql where clause query” for the indexed container. Something similar as


It seems that best approach would be to loop trough

for(Object propId : this.container.getContainerPropertyIds())

and create filters according to the data type.

Seems that I will need to create this from scratch so if anyone has any ideas I would appreciate it.


https://github.com/salk31/RedQueryBuilder is open source under a FOSS licence and written in GWT so couldn’t you just use it directly?