Jon, Please post to the users list only for this kind of question. Now to answer your question:
try: sql=insert into logtable (threads) values ("%t") For most databases you can use either ", or ', for varchar fields. Use the one not in the value. If both are in the value you have to do escaping. As far as I can tell the JDBC version in JDK1.3.1 does not have a generic escape call. If I'm wrong, someone please tell me so I can get that into the JDBCAppender. Jon Wilmoth wrote: >What's the quickest/simplest way to filter out quotes from the pattern >layout conversion character values? I'm currently getting errors trying to >insert the thread (%t) because weblogic produces a string like so: > >ExecuteThread: '13' for queue: 'default' > >-- >To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> >For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>