|
|
Leveraging jdbcTemplate for SQL checks without AbstractJpaTests
In spring 2.x we had AbstractJpaTests
, which gave us access to jdbcTemplate which we could use to check state in database. Since in Spring 3 AbstractJpaTests is deprecated, what is recommended approach of testing content of the DB within a transaction.
Hello
According to AbstractJpaTests API in Spring 3.0.X series said the follow
Deprecated. as of Spring 3.0, in favor of using the listener-based test context framework (AbstractJUnit38SpringContextTests)
HTH |
|