Modified:
branches/branch_5_0/connector-j/CHANGES
branches/branch_5_0/connector-j/src/com/mysql/jdbc/ConnectionProperties.java
trunk/connector-j/CHANGES
trunk/connector-j/src/com/mysql/jdbc/ConnectionProperties.java
Log:
Fixed BUG#26326 - Connection property "socketFactory" wasn't exposed via correctly
named mutator/accessor, causing data source implementations that use JavaBean naming
conventions to set properties to fail to set the property (and in the case of SJAS, fail
silently
when trying to set this parameter).
Modified: branches/branch_5_0/connector-j/CHANGES
===================================================================
--- branches/branch_5_0/connector-j/CHANGES 2007-02-13 16:58:45 UTC (rev 6313)
+++ branches/branch_5_0/connector-j/CHANGES 2007-02-13 17:15:10 UTC (rev 6314)
@@ -140,6 +140,11 @@
- The "rewriteBatchedStatements" feature can now be used with server-side
prepared statements.
+ - Fixed BUG#26326 - Connection property "socketFactory" wasn't exposed via
+ correctly named mutator/accessor, causing data source implementations that
+ use JavaBean naming conventions to set properties to fail to set the property
+ (and in the case of SJAS, fail silently when trying to set this parameter).
+
10-20-06 - Version 5.0.4
- Fixed BUG#21379 - column names don't match metadata in cases
Modified: branches/branch_5_0/connector-j/src/com/mysql/jdbc/ConnectionProperties.java
===================================================================
---
branches/branch_5_0/connector-j/src/com/mysql/jdbc/ConnectionProperties.java 2007-02-13
16:58:45 UTC (rev 6313)
+++
branches/branch_5_0/connector-j/src/com/mysql/jdbc/ConnectionProperties.java 2007-02-13
17:15:10 UTC (rev 6314)
@@ -3677,6 +3677,14 @@
* from datasources easier.
*/
+ public void setSocketFactory(String name) {
+ setSocketFactoryClassName(name);
+ }
+
+ public String getSocketFactory() {
+ return getSocketFactoryClassName();
+ }
+
public void setUseServerPrepStmts(boolean flag) {
setUseServerPreparedStmts(flag);
}
Modified: trunk/connector-j/CHANGES
===================================================================
--- trunk/connector-j/CHANGES 2007-02-13 16:58:45 UTC (rev 6313)
+++ trunk/connector-j/CHANGES 2007-02-13 17:15:10 UTC (rev 6314)
@@ -5,7 +5,7 @@
- Bumped JDBC Specification version number in jar-file manifest.
-02-nn-06 - Version 5.0.5
+02-nn-07 - Version 5.0.5
- Fixed BUG#23645 - Some collations/character sets reported as "unknown"
(specifically cias variants of existing character sets), and inability to override
@@ -140,6 +140,11 @@
- The "rewriteBatchedStatements" feature can now be used with server-side
prepared statements.
+ - Fixed BUG#26326 - Connection property "socketFactory" wasn't exposed via
+ correctly named mutator/accessor, causing data source implementations that
+ use JavaBean naming conventions to set properties to fail to set the property
+ (and in the case of SJAS, fail silently when trying to set this parameter).
+
10-20-06 - Version 5.0.4
- Fixed BUG#21379 - column names don't match metadata in cases
Modified: trunk/connector-j/src/com/mysql/jdbc/ConnectionProperties.java
===================================================================
--- trunk/connector-j/src/com/mysql/jdbc/ConnectionProperties.java 2007-02-13 16:58:45 UTC
(rev 6313)
+++ trunk/connector-j/src/com/mysql/jdbc/ConnectionProperties.java 2007-02-13 17:15:10 UTC
(rev 6314)
@@ -3713,6 +3713,14 @@
* from datasources easier.
*/
+ public void setSocketFactory(String name) {
+ setSocketFactoryClassName(name);
+ }
+
+ public String getSocketFactory() {
+ return getSocketFactoryClassName();
+ }
+
public void setUseServerPrepStmts(boolean flag) {
setUseServerPreparedStmts(flag);
}
| Thread |
|---|
| • Connector/J commit: r6314 - branches/branch_5_0/connector-j branches/branch_5_0/connector-j/src/com/mysql/jdbc trunk/connector-j trunk/connector-j/src... | mmatthews | 13 Feb |