I am receiving following bit value for a column which have 1 value in MYSQL Database.
Query: (select IFNULL(FIELDA, 0) from ADRESS where ID=1234) as FIELDAS
Output: [B@74d3dc29
Expected: 1 or 0
I also access boolean at many places in code but never returned this object.
How to handle it in Java? Which datatype it will pick as i am unable to cast it to Java.SQL.BLOB?
Note: My Code is also using Hivernate framework, if anyone know hibernate class to manage it please tell