Regular |
|
Joined: Mon Jun 14, 2004 1:42 pm Posts: 80 Location: Brazil
|
Hibernate version:2.1.x
Hi. I have an enumeration class that works very well. I want to know if it's possible to instruct schema DDL generator to create SQL constraint for this type, or to create a database domain.
The UserType interface let me define SQL-Type.
I see that I can use the check attribute in property. I may use it, but them it will be different for each database becouse of SQL dialects right ?
Thanks.
_________________ Alexandre Torres
--------------------
|
|