Add hibernate 4 feature for karaf 2.x