|
Project Information
|
In one of my system, i wrote a lot of SQL queries in long string format. I found it tedious and error-prone. The utility helps user constructing the SQL statements in object-oriented way which adds clarity in code and makes it less error-prone. as an example... SQLGenerater gen = new SQLGenerator(); String query = gen.select(Employee.class).where(new ConstExpr("NAME", "dhaval")).orderBy("NAME").query(); // use query anywhere now |