com.mysql.clusterj.jpatest.model.DatetimeAsUtilDateTypes
Schema drop table if exists datetimetypes; create table datetimetypes ( id int not null primary key, datetime_null_hash datetime, datetime_null_btree datetime, datetime_null_both datetime, datetime_null_none datetime, datetime_not_null_hash datetime, datetime_not_null_btree datetime, datetime_not_null_both datetime, datetime_not_null_none datetime ) ENGINE=ndbcluster DEFAULT CHARSET=latin1; create unique index idx_datetime_null_hash using hash on datetimetypes(datetime_null_hash); create index idx_datetime_null_btree on datetimetypes(datetime_null_btree); create unique index idx_datetime_null_both on datetimetypes(datetime_null_both); create unique index idx_datetime_not_null_hash using hash on datetimetypes(datetime_not_null_hash); create index idx_datetime_not_null_btree on datetimetypes(datetime_not_null_btree); create unique index idx_datetime_not_null_both on datetimetypes(datetime_not_null_both);