On 2012-10-24 14:18, Ben Gardener wrote:
A userdefined function MYFUNC(VALUE), bound to a DOMAIN
CHECK(MYFUNC(VALUE))
does not work from second DB start onwards.
Reason: The DB reloads meta data by a fixed ordering where FUNCTIONS
loaded after DOMAINS.
This results in a "FUNCTION not found" exception when recreating the
DOMAIN.
Do you have a small self-contained test case for this?
Because we have a unit test in
TestCases#testCheckConstraintWithFunction() which tests this very
situation, and it seems to be working for me.
Or maybe you are running an older version?
--
You received this message because you are subscribed to the Google Groups "H2
Database" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/h2-database?hl=en.