db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Craig Russell <Craig.Russ...@Sun.COM>
Subject Re: Binding a char to PreparedStatement
Date Thu, 21 Jul 2005 16:48:20 GMT
Hi Erik,

On Jul 21, 2005, at 2:10 AM, erik@jpox.org wrote:

>> Ok. I thought that you would agree that this is a bug in JPOX,  
>> since the
>> "obvious default" for a char column is CHAR.
>
>
> It is not that obvious when you have to support a wide range of
> databases and data types. The most obvious choice to me is the most
> common type among these databases.
>
I'm not aware of any database that doesn't support CHAR column type.  
And I think that having a default of jdbc-type = CHAR for a char  
field is very reasonable. If I put this into the specification, I  
assume you would be ok with it?

Thanks,

Craig
>

Craig Russell
Architect, Sun Java Enterprise System http://java.sun.com/products/jdo
408 276-5638 mailto:Craig.Russell@sun.com
P.S. A good JDO? O, Gasp!


Mime
View raw message