In a project we are not using spring (wher exist gazillions of information about testcontainers) but a rather old jboss version 6.4.0.EAP with hibernate, which we cannot change.