Details
-
Type:
Bug
-
Status: Closed (View Workflow)
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 1.3.3, 1.3.4, 1.3.5
-
Fix Version/s: 1.3.6
-
Component/s: Failover
-
Labels:None
-
Environment:WINDOWS
Description
public class Test1 {
@Test
public void test() throws SQLException {
try (Connection conn = DriverManager.getConnection("jdbc:mariadb://localhost/test?characterEncoding=UTF-8", "root", "root")) {
conn.prepareStatement("CREATE TABLE table1 (column1 blob ) DEFAULT CHARSET=utf8").execute();
String str = "\u4f60\u597d(hello in Chinese)";
try {
try (PreparedStatement ps = conn.prepareStatement("insert into table1 values"))
try (PreparedStatement ps = conn.prepareStatement("select * from table1");
ResultSet rs = ps.executeQuery()) {
while (rs.next())
}
} finally
}
}
}
Attachments
Issue Links
- relates to
-
CONJ-369 Encoding on clob column
-
- Closed
-