Create Beans
Last updated
Was this helpful?
Last updated
Was this helpful?
Example code is available on .
In this article, we will show how to define beans in order to start working with .
Add dependency to into BuildConfig.groovy
.
We can use JdbcTemplate
to directly execute SQL queries, but if there will be inputs from users, we have to use ?
as a parameter placeholder or rather use NamedParameterJdbcTemplate
to prevent .