diff options
-rw-r--r-- | odb/relational/oracle/schema.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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 |