hibernate com as classes geradas automaticas