hibernate code submit