Hi,

After removing the following from a MetaData class:

        addConstraint(new ConstrainedProperty("myColumn")
                .notNull(true).notEmpty(true).listed(true));

I get the following exception (as expected) when trying to insert using
crud:
        java.sql.SQLIntegrityConstraintViolationException: Column 'MYCOLUMN'
cannot accept a NULL value.

Is there a way to automatically update the database scheme (in this case
derby) after changes in a beans meta data (including added and removed
constraints)? If not, is there a best practice to handle database scheme
changes using Rife and/or Crud?

Thanks for a great framework!

Best regards,
Roar Skullestad

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"rife-users" 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/rife-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to