updated hibernate mappings based on schema changes.
updated DDLs for 2.3