com.mysql.clusterj.jpatest.model.DateAsSqlDateTypes
Schema drop table if exists datetypes; create table datetypes ( id int not null primary key, date_null_hash date, date_null_btree date, date_null_both date, date_null_none date, date_not_null_hash date, date_not_null_btree date, date_not_null_both date, date_not_null_none date ) ENGINE=ndbcluster DEFAULT CHARSET=latin1; create unique index idx_date_null_hash using hash on datetypes(date_null_hash); create index idx_date_null_btree on datetypes(date_null_btree); create unique index idx_date_null_both on datetypes(date_null_both); create unique index idx_date_not_null_hash using hash on datetypes(date_not_null_hash); create index idx_date_not_null_btree on datetypes(date_not_null_btree); create unique index idx_date_not_null_both on datetypes(date_not_null_both);