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=42991>.
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=42991

           Summary: DBAppender dialect for Sybase
           Product: Log4j
           Version: 1.3alpha
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Appender
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


After having spent a whole afternoon in realizing that no known Sybase JDBC 3.0
driver correctly supports generated keys, I tried the easy way of programming a
Sybase dialect, which should be included in the org.apache.log4j.db.dialect 
package:

Please find attached SybaseDialect.java

Additionally, the file org.apache.log4j.db.dialect.Util.java has to be extended
with the constant

  private static final String SYBASE_PART = "adaptive";

for automatic dialect discovery (at least that's the string what my ASE 15
version delivers). The interface org.apache.log4j.db.ConnectionSource has also
to be extended with a

  final int SYBASE_DIALECT = 6;

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to