Re: [Maria-discuss] MariaDbConnector 1.x -> 2.6, problem updating/inserting Torque objects

2020-07-21 Thread Diego Dupin
the current value. > In this way, your patch may even be something which you could contribute, > as it may turn out to be useful for others. > > -- > Eric Herman > mobile:+31 620719662 skype:eric_herman jabber:eric.her...@gmail.com > ___

Re: [Maria-discuss] Limited Unicode Support?

2019-10-10 Thread Diego Dupin
Hi björn, 🙋 is a 4 bytes encoded character (0xF0 0x9F 0x99 0x8B). "utf8" is a 3-Byte UTF-8 Unicode encoding. You have to configure charset "utf8mb4" that permits full utf8 support. https://jira.mariadb.org/browse/MDEV-8334 in 10.5 is the first step to makes utf8mb4 default for 'utf8'. regards,

Re: [Maria-discuss] jdbc failure after restart

2016-11-23 Thread Diego Dupin
periodically run query on remaining node even if > wsrep_ready=OFF? > > On Tue, Nov 22, 2016 at 7:21 PM, Diego Dupin > wrote: > >> Hi, >> >> As documented here (https://mariadb.com/kb/en/mar >> iadb/mariadb-galera-cluster-known-limitations/) : >> >&g

Re: [Maria-discuss] jdbc failure after restart

2016-11-22 Thread Diego Dupin
Hi, As documented here ( https://mariadb.com/kb/en/mariadb/mariadb-galera-cluster-known-limitations/) : > >- A command may fail with ER_UNKNOWN_COM_ERROR producing 'WSREP has >not yet prepared node for application use' (or 'Unknown command' in older >versions) error message. It happen

Re: [Maria-discuss] When using the getGeneratedKeys() method the keys are returned, but in which order?

2016-08-26 Thread Diego Dupin
Hi peter, Basically, server will return different informations to driver. In those informations, there is a "last insert id" that correspond to the first created id of the query, and the number of affected rows. So for example : try (Statement stmt = sharedConnection.createStatement()) { stmt

Re: [Maria-discuss] Odd behavior with query and connection pool

2016-06-14 Thread Diego Dupin
Hi, To answer your question about performance using pool versus not using pool : There will be some difference : ideal pool implementation presents a Connection instance to the application that is indistinguishable from a "fresh" Connection obtained directly from the driver, so pool add have some

Re: [Maria-discuss] New Question: JDBC driver configuration error

2016-05-02 Thread Diego Dupin
Hi, This is a classpath issue : Example with a small java file : import java.sql.Connection; import java.sql.DriverManager; public class Test { public static void main(String[] args) { System.out.println("init"); try { try (Connection con = DriverManager.getConne

Re: [Maria-discuss] HikariCP + searching archives

2016-04-19 Thread Diego Dupin
Hi Stu, There is many good pooling framework, and HikariCP is one of the best of them. This framework is stable, has a good community, is light (130kb - c3p0 487kb - dbcp2 171kb) and code is clean (c3p0 is unreadable). A pool must present a Connection instance normally indistinguishable from a "f

[Maria-discuss] Fwd: java.sql.Timestamp works in MySQL, fails in MariaDB

2016-03-31 Thread Diego Dupin
-- Forwarded message -- From: Diego Dupin Date: Tue, Mar 29, 2016 at 10:15 PM Subject: java.sql.Timestamp works in MySQL, fails in MariaDB To: lyal...@gmail.com Hi, That must normally work, since the mysql connector use the same binary protocol. Could you send the exact