Did you verify that the issue is not on the database?
If you expect the issue somewhere between the database and jboss it is very likely related to your jdbc driver.
Which driver version are you currently using, jdbc14.jar? This driver might not perform optimal on 12C.
I understand you should either use jdbc6.jar or jdbc7.jar. But when using one of these drivers you might get issues with your java version instead.