maria-discuss team mailing list archive
-
maria-discuss team
-
Mailing list archive
-
Message #03317
New Question: setNString method not implemented in PreparedStatement class
Hello,
A new question has been asked in "MariaDB Connector/J" by Sebastian_S. Please answer it at http://mariadb.com/kb/en/setnstring-method-not-implemented-in-preparedstatement-class/ as the person asking the question may not be subscribed to the mailing list.
--------------------------------
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
--------------------------------
To view or answer this question please visit: http://mariadb.com/kb/en/setnstring-method-not-implemented-in-preparedstatement-class/