bug fixed for hibernate ddl