Add hibernate implementation