rockmanck / lifebook

Planner and diary project
https://lifebook.pp.ua
Apache License 2.0
0 stars 0 forks source link

Add DynamicSqlBuilder #5

Closed rockmanck closed 8 years ago

rockmanck commented 8 years ago

It should use velocity to generate sql templates. LifebookJdbc should allow users to do next thing:

String sql = jdbc.sql("name of template without extension")
  .param("param name", Object)
  .param(...)
  .build();