Reputation: 1964
I have the following set in my generator configuration:
<generate>
...
<javaTimeTypes>true</javaTimeTypes>
...
<generate>
and a column of type datetime2
, but it generates a timestamp instead of a LocalDateTime:
created_at datetime2 not null
Am I doing something wrong?
Upvotes: 1
Views: 133
Reputation: 1964
I found the problem. I had the <generate>
block duplicated which lead to this behavior.
Upvotes: 1