The use of MappedColumnType
is demonstrated in this example:
How can I reuse dateColumnType
in another table class?
The use of MappedColumnType
is demonstrated in this example:
How can I reuse dateColumnType
in another table class?
Copyright © 2021 Jogjafile Inc.
You could, for example, move it to a trait like this:
Then you can include this trait in whatever
DAO
or db component you need it: