author Augusto Mauch <augusto.mauch@openbravo.com>
Wed, 05 Jun 2013 14:03:22 +0200
changeset 20511 e426b7ccc826
parent 5839 fd6f3ff0d871
permissions -rw-r--r--
Fixes issue 23996: An event handler has been replaced with database constraints

The event handler TableDataOriginEventHandler has been replaced with database constraints. This is a better approach because it is simpler and easier to maint

The name of two of the messages has been updated so that it is the name as the constraint that throw them. The message used to warn the user that the table_name must be set if the data origin is 'Table' has been removed because now the table_name is mandatory again in the database.
# Set root category priority to DEBUG and its only appender to A1.
log4j.rootCategory=WARN, A1
# A1 is set to be a ConsoleAppender. 
# A1 uses PatternLayout.
log4j.appender.A1.layout.ConversionPattern=%-4r [%t] %-5p %c - %m%n