diff options
author | Constantin Michael <constantin@codesynthesis.com> | 2011-10-10 18:01:48 +0200 |
---|---|---|
committer | Constantin Michael <constantin@codesynthesis.com> | 2011-10-21 11:47:13 +0200 |
commit | ec41399d1e465f718b8d3ea4a1c59b910486e7a6 (patch) | |
tree | 154403064a95e08141381c9c18be03cad576d289 /odb/relational/oracle | |
parent | ee79ed653651b469c79965ee143022254217211c (diff) |
Use the quoted column name of the id member in the auto id trigger body
Diffstat (limited to 'odb/relational/oracle')
-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 8e4247f..7b8a622 100644 --- a/odb/relational/oracle/schema.cxx +++ b/odb/relational/oracle/schema.cxx @@ -255,7 +255,7 @@ namespace relational << " FOR EACH ROW" << endl << "BEGIN" << endl << " SELECT " << seq_name << ".nextval INTO :new. " << - id->name () << " FROM DUAL;" << endl + column_qname (*id) << " FROM DUAL;" << endl << "END;"; } |