Moved to hibernate, because JBoss provides persistence API via hibernate implementation.