Craig Tataryn <craiger@...> writes: > I'm having a very similar problem and I just can't figure out how to get my > Spring transactions working across all my steps. My situation is this: > > * I have a Stories class which uses a SpringJUnit4ClassRunner: > https://gist.github.com/1752773 > * The embedder class looks like so: https://gist.github.com/1752899 > * I have a Steps class which inserts some data into a table via a > JdbcTemplate > and uses my Service class to read back the data using JPA: > https://gist.github.com/1752795 > > SNIP...
P.P.S. If I isolate my test outside of jBehave, everything works great (i.e. https://gist.github.com/1753833). The JdbcTemplate code participates in the same transaction as the Service-level JPA code just like it should. I'm stumped... --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
