Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

JDBC 9.2 DEV not working with Hex bytea output?

16 views
Skip to first unread message

Edson Richter

unread,
Mar 31, 2013, 10:32:33 AM3/31/13
to
Hi!

I've downloaded source code for JDBC driver in order to output warnings
during development phase of my application (so I can catch triggers
messages at client side of the application).

This is the only change I've made (System.out... in addWarning methods -
there is two: one for connection, one for statement).

Nevertheless, I has been obligated to change "alter database xxx set
bytea_output='escaped'" in order to work.

In our production databases we have this option set to "hex", and works
fine - is just with 9.2 DEV 1002 sources.

Is this a known issue?


Thanks,

Edson


--
Sent via pgsql-jdbc mailing list (pgsql...@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-jdbc

Dave Cramer

unread,
Apr 1, 2013, 6:53:52 AM4/1/13
to
Can you provide us with a test case?

Just to clarify are you using the 9.2 1002 driver ?



Dave Cramer

dave.cramer(at)credativ(dot)ca
http://www.credativ.ca

Edson Richter

unread,
Apr 1, 2013, 7:20:48 AM4/1/13
to
Em 01/04/2013 07:53, Dave Cramer escreveu:
Can you provide us with a test case?

I'll create a simple test case - but this happened inside a complex application using JEE stack (JSP/Servlets/WebServices/JPA/Jdbc), so would not be as fast as I could wish.



Just to clarify are you using the 9.2 1002 driver ?

Yes, 9.2 1002 driver. The only change in sources are the ones related to the warnings output, which I needed to debug my triggers.

Regards,

Edson
0 new messages