3 messages in com.mysql.lists.javaRe: Java 1.3.1 / Connector/J 3.0.6 co...
FromSent OnAttachments
Jones, Clifton R [CC]03 Apr 2003 08:34 
Mark Matthews03 Apr 2003 09:04 
Jones, Clifton R [CC]03 Apr 2003 09:22 
Subject:Re: Java 1.3.1 / Connector/J 3.0.6 compatibility?
From:Mark Matthews (ma@mysql.com)
Date:04/03/2003 09:04:35 AM
List:com.mysql.lists.java

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1

Jones, Clifton R [CC] wrote: | Versions for both Windows 2000 and RH 8.0 | ---------------------- | Tomcat 4.1.24 | IBM Java 1.3.1 | MySQL 3.23.56 | Connector/J 3.0.6 | | I'm developing an application on Windows and deploying to production Linux | environment. Works great on Windows, but when I deploy to Linux odd things | happen to the data. Although the number of rows returned from a query is | correct, and the ResultSetMetaData object contains the correct number of | columns, no column names ( from getColumnName( index ) ) are being returned | ... all names appear blank. In addition if I use getString( index ) on the | result set, all data is also being returned as blank. | | I downloaded Sun's Java 1.4 SDK and installed on the Linux box. At that | point the column names and data magically reappeared, but the .jsp pages | would not compile, as Sun has evidently changed some compiler semantics (it | also appeared to be a bit slower than IBM's 1.3.1). | | Does anyone have any suggestions as to why 1.3.1 does not work? It's not | IBM's version, as I tried Sun's 1.3.1 and got identical results. | | Clifton R. Jones | E-mail: cjon@sprintspectrum.com | |

What is the default JVM character set on your Linux box? If it's multi-byte, there is a known issue with Connector/J which is fixed in the nightly snapshots (soon to be 3.0.7) from http://mmmysql.sourceforge.net/snapshots/stable/

-Mark

- -- MySQL 2003 Users Conference -> http://www.mysql.com/events/uc2003/

For technical support contracts, visit https://order.mysql.com/?ref=mmma

iD8DBQE+jGm5tvXNTca6JD8RApxTAJwNNrleCA93p3K6XbocR/2/R6r5sACgkRNY flheMt44vstv6vgxB25pb9o= =FLov -----END PGP SIGNATURE-----