You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2004/09/20 14:42:41 UTC

DO NOT REPLY [Bug 31306] New: - [sql] SqlBuilder: missing a blank in PrimaryKeys Stmt.

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=31306>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=31306

[sql] SqlBuilder: missing a blank in PrimaryKeys Stmt.

           Summary: [sql] SqlBuilder: missing a blank in PrimaryKeys Stmt.
           Product: Commons
           Version: Nightly Builds
          Platform: All
        OS/Version: Other
            Status: NEW
          Severity: Blocker
          Priority: Other
         Component: Sandbox
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: schroeder@dakosy.de


eg. ALTER TABLE TESTTABLE
        ADD CONSTRAINT TESTTABLE_PKPRIMARY KEY (test_oid);

Missing a print(" ") in
SqlBuilder#writeExternalPrimaryKeysCreateStmt(Table table)
    ...
    print("ALTER TABLE ");
    println(getTableName(table));
    printIndent();
    print("ADD CONSTRAINT ");
    print(getConstraintName(null, table, "PK", null));
 >>>   print(" ");
    writePrimaryKeyStmt(table, primaryKeyColumns);
    printEndOfStatement();
    ...

Thanks

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org