add hibernet auto table generator, fix the bug that occur because of the mismatch of java and sql data types