Switching to container based datasource…
Quite a time ago had to do this but had no time for posting a complete solution. Read a few articles on that so that I got the idea. Although it looks quite simple you might run into several configuration issues firing weird and long stacktraces. To get rid of those I’ll describe the way it worked for me with some additional comments. First of all lets assume we use JBoss app server....