The H2 database does not currently support the data type datetime2
(as of version 1.3.176). However, support for it was added to the trunk now and will be available in the next release.
So, if you want to use H2 now, then you would either use a newer version (you could build it yourself for example), or change to datetime
until you are using a newer version.