Bug #40466 | INET_NTOA() Returns VARBINARY instead of STRING in Connector/J | ||
---|---|---|---|
Submitted: | 31 Oct 2008 20:30 | Modified: | 31 Oct 2008 20:37 |
Reporter: | Greg Wittel | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | Connector / J | Severity: | S3 (Non-critical) |
Version: | 5.0.6 | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[31 Oct 2008 20:30]
Greg Wittel
[31 Oct 2008 20:37]
Mark Matthews
This is because 5.0.6 and later actually use the type that's returned from the server. If you don't agree with the server that human-readable strings from functions should be VARBINARY, then there's a configuration parameter for that. Set "functionsNeverReturnBlobs=true" in your JDBC URL. (I happen to think they shouldn't be either, but have yet to convince the server developers of that).