how to insert BIT values in MySQL using Java?

i am unable to add a Boolean value in Mysql how can i do so using java

i have to use QueryExecuter for this perpose

Answers


you mean, you can't use the boolean type? otherwise you could just convert true to 1 and false to 0 and just use an integer field...


Need Your Help

Session problems when APC is turned on

php apache session apc

We have a problem with PHP session when APC is enabled on our server.

Accessing Controller Variables in View

ember.js

Please see: http://jsfiddle.net/ptmoy2/9RRfJ/