<p>quick question: my customer has a situation where he has his database with a varchar field and the corresponding jdbc code is storing/retrieving a boolean.</p>

<p>I guess that the boolean values false and true are going to be translated to "0" and "1" but I would like to have a confirmation of this (I can't find the precise behavior specification online, maybe it depends on each driver, Oracle in this case).</p>

<p>I know I could experiment by myself, but I want to have a try at stackoverflow.com!</p>

<p>Thanks for your answer,</p>

<p>Eric.</p>

Unfortunately,
```
BOOLEAN
```
semantics are highly database-specific.  I'm
guessing
that the Oracle driver is going to translate boolean values to a
```
VARCHAR
```
field into "
```
true
```
" and "
```
false
```
", rather than
```
0
```
and
```
1
```
, but you should verify this yourself.