I'm currently working on a game server for a turn-based persistent world game primarily targeted at smartphones, and I'm currently beginning to implement the persistence layer and I'm looking for some tips/advice.
I originally planned to use mybatis for the persistance layer and the mybatis-guice addon implemented a simple @Transactional annotation that is similar to Spring's but without the weight of that entire framework. Unfortunately I ditched mybatis since I found I was fighting with the ORM too much and my relational design doesn't normalize particularly well. Now I'm basically using JDBC and I'm really trying to avoid writing tons of boilerplate code for managing transactions and connections within a string of DAO calls.
I'm also avoiding using any application server here or adding using spring since they don't seem to fit in, the server runs in straight up java on top of netty. Given these conditions are there any simple transaction managers or am I stuck trying to roll my own? Something like mybatis-guice's @Transactional would be great.