I use mysql for backend database servers. I have a few databases that use a tinyint field with a length of 1 to store a 1 or 0 as a yes or no. It would be very difficult to change it to another type, and alter all tables. when I try to open the tables I get:

[23:17:22] ERROR [org.continuent.myosotis.protocol.mysql.MySQLProtocolHandler] - Error processing query: select active from users limit 1 org.continuent.sequoia.common.exceptions.NotImplementedException: in getBytes(1), don't know how to convert type java.lang.Boolean into a byte array not implemented at org.continuent.sequoia.driver.DriverResultSet.getBytes(DriverResultSet.java:1124) at org.continuent.myosotis.protocol.mysql.MySQLProtocolHandler.sendResultSetRowMessage(MySQLProtocolHandler.java:1245) at org.continuent.myosotis.protocol.mysql.MySQLProtocolHandler.sendResultSet(MySQLProtocolHandler.java:502) at org.continuent.myosotis.protocol.mysql.MySQLProtocolHandler.processQuery(MySQLProtocolHandler.java:390) at org.continuent.myosotis.protocol.mysql.MySQLProtocolHandler.processCommand(MySQLProtocolHandler.java:207) at org.continuent.myosotis.protocol.mysql.MySQLProtocolHandler.processClientPacket(MySQLProtocolHandler.java:163) at org.continuent.myosotis.protocol.mysql.MySQLConnectionHandler.run(MySQLConnectionHandler.java:85) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
       at java.lang.Thread.run(Thread.java:619)
[23:17:22] ERROR [org.continuent.myosotis.protocol.mysql.MySQLConnectionHandler] - Reading from socket.
java.io.EOFException
       at java.io.DataInputStream.readByte(DataInputStream.java:250)
at org.continuent.myosotis.protocol.mysql.MySQLConnectionHandler.readPacket(MySQLConnectionHandler.java:129) at org.continuent.myosotis.protocol.mysql.MySQLConnectionHandler.run(MySQLConnectionHandler.java:84) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
       at java.lang.Thread.run(Thread.java:619)

Is there a easy fix for this?


I have the current SVN version...


_______________________________________________
Hedera mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/hedera

Reply via email to