OpenGamma / ElSql

Manage external SQL files in Java with a little DSL goodness
Other
101 stars 26 forks source link

Much simpler example #22

Open davsclaus opened 9 years ago

davsclaus commented 9 years ago

It would be good to have a simple example that is shipped as part of elsql and not refer to that big OpenGamma project.

davsclaus commented 9 years ago

And btw an old time spring user as myself got into the trap of using the plain JdbcTemplate and not the NamedParameterJdbcTemplate (or what its name is). That took a while to figure out and find the right spring method to execute the sql correctly.

jodastephen commented 9 years ago

I've updated the example page to refer to NamedParameterJdbcTemplate. Writing a separate example will have to be a task for another day ;-)