JdbcTokenRepositoryImpl not inserting persistant token
I im trying to use remember me function in a spring web flow app but the token is never inserted into the table persistent_logins.
I am using spring 3.0.5, SWF 2.2.1 & spring security 3.0.5.
I have created the table as per documentation and included <security:remember-me data-source-ref="dataSource"/> in my security config.
I debugged the code and confirmed JdbcTokenRepositoryImpl is being called to insert the token, and checked log4j output to also confirm this. The update is executed using JdbcTemplate but it never commits and as far as I can see is not running within a transaction.
I have taken the SQL its attempting to execute and ran manually which also works.
Why is this not working?