Kleinkram
git-svn-id: https://svn.libreccm.org/ccm/trunk@1649 8810af33-2d31-482b-a856-94f89814c4dfmaster
parent
b6492ca9be
commit
edd87de549
|
|
@ -0,0 +1,22 @@
|
|||
--
|
||||
-- Copyright (C) 2012 Jens Pelzetter. All Rights Reserved.
|
||||
--
|
||||
-- This library is free software; you can redistribute it and/or
|
||||
-- modify it under the terms of the GNU Lesser General Public License
|
||||
-- as published by the Free Software Foundation; either version 2.1 of
|
||||
-- the License, or (at your option) any later version.
|
||||
--
|
||||
-- This library is distributed in the hope that it will be useful,
|
||||
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
-- Lesser General Public License for more details.
|
||||
--
|
||||
-- You should have received a copy of the GNU Lesser General Public
|
||||
-- License along with this library; if not, write to the Free Software
|
||||
-- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
--
|
||||
-- Adds the is_default column to the section_workflow_template_map table
|
||||
--
|
||||
|
||||
ALTER TABLE section_workflow_template_map ADD COLUMN is_default character varying(1) DEFAULT '0'::character varying NOT NULL;
|
||||
-- UPDATE section_workflow_template_map SET is_default = 'false';
|
||||
|
|
@ -78,7 +78,7 @@ public class ReflectionInstantiator extends DomainObjectInstantiator {
|
|||
SecurityException
|
||||
{
|
||||
Class javaClass = Class.forName(domainClassName);
|
||||
m_constructor = javaClass.getConstructor(s_dataArgs);
|
||||
m_constructor = javaClass.getConstructor(s_dataArgs);
|
||||
// We should add a check that the domain class is indeed
|
||||
// a subclass of DomainObject
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue