Hi van,

OJB supports the default Jdbc type mappings as listed here:
http://jakarta.apache.org/ojb/jdbc-types.html

As you can see char is not supported by JDBC. You can try to:
1. define you database column as TINYINT, use BYTE in repository.xml 
(casting from byte to char should work)
2. define a FieldConversion that will do the proper type mapping. This 
is also described in http://jakarta.apache.org/ojb/jdbc-types.html.

cheers,
Thomas


van wrote:
> What is the equivalent of Java char to OJB/JDBC types or OJB doesn't not suppose 
>char?  for example
> 
> private char pdbId;
> 
> thanks
> 
> 
> 
> ---------------------------------
> Do you Yahoo!?
> Yahoo! News - Today's headlines



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to