basis working app with hibernat/jpa