In memory Connection repository
I have a grails app which is using JdbcUsersConnectionRepository for storing connection. It was fine in development as I was using in-memory database.
I know we can use pre defined script for actual databases. I was wondering whether there is an option having this in memory even in production?
User connection is very specific to session, then why are we persisting it in database? I am not sure whether user connections are deleted after session expires.