From f64c8e9a094b9b7ce2e12caff2455578b699d4ce Mon Sep 17 00:00:00 2001 From: Constantin Michael Date: Thu, 17 Nov 2011 11:15:35 +0200 Subject: Correct Oracle PL/SQL script generation typo --- odb/relational/oracle/schema.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'odb') diff --git a/odb/relational/oracle/schema.cxx b/odb/relational/oracle/schema.cxx index a371235..4ec2e13 100644 --- a/odb/relational/oracle/schema.cxx +++ b/odb/relational/oracle/schema.cxx @@ -277,7 +277,7 @@ namespace relational os_ << "CREATE TRIGGER " << quote_id (trg_name) << endl << " BEFORE INSERT ON " << quote_id (tname) << endl - << " FOR EACH ROW" << endl + << " FOR EACH ROW " << endl << "BEGIN" << endl << " SELECT " << quote_id (seq_name) << ".nextval " << "INTO :new." << quote_id (cname) << " FROM DUAL;" << endl -- cgit v1.1