setNString method not implemented in PreparedStatement class

Hi, I do not know if it proper place to ask something like that, but did not find better place.

Recently I'd like to connect log4j2 to MariaDB database via MariaDB Connector/J (version 1.3.5, but tested each other). I could not do that and I found that reason is in connector - MariaDbServerPreparedStatement class does not implement method setNString and AbstractMariaDbPreparedStatement class throws exception "NStrings not supported".

Why it is not supported. MariaDB does not support such type or it is just a bug? When I copied code form setString method to setNString then everything works properly.

Regards, Sebastian

Answer Answered by Diego Dupin in this comment.

Hi sebastian,

Good point. There is no reason not to implement this. An issue is created to follow this: CONJ-260. This will be done in next release.

Comments

Comments loading...
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.