Back Forum Reply New

JdbcTemplate Example

I am trying to figure out how to work with MySQL using JdbcTemplate. Are there any good tutorials or sample projects that show how to get this working? I am looking through the documentation for the Spring framework but I'm not seeing how everything works together to interact with a database.

Have a look at petclinic sample application that comes with the Spring distribution. It shows how to use JdbcTemplate (or SimpleJdbcTemplate).

mons.dbcp.BasicDataSourcequot;gt;       lt;property name=quot;driverClassNamequot; value=quot;${jdbc.driverClassName}quot;/gt;       lt;property name=quot;uclquot; value=quot;${jdbc.ucl}quot;/gt;       lt;property name=quot;usernamequot; value=quot;${jdbc.username}quot;/gt;       lt;property name=quot;passwordquot; value=quot;${jdbc.password}quot;/gt;   lt;/beangt;
¥
Back Forum Reply New