How to use checkbox in java server faces (jsf) when the database is oracle
Posted on 2009-05-07
we got a problem with a form that is programmed with jsf.
We got no idea how to programm checkboxes when the database behind is oracle.
A checkbox is usually of type boolean, but oracle cannot handle this type.
Do we have to write some kind of wrapper around each checkbox to convert [x] to number "1" and send this to the database?
Any good code example would be appreciated.