cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Reinhard Poetz" <>
Subject RE: [Woody] Datatypes revisited
Date Fri, 14 Nov 2003 08:46:08 GMT

AFAIK OJB supports converters, doesn't it?


> -----Original Message-----
> From: Antonio Gallardo [] 
> Sent: Friday, November 14, 2003 3:17 AM
> To:
> Subject: [Woody] Datatypes revisited
> Hi:
> I found another problem with binding:
> Woody current support is for java.util.Date
> OJB support is for java.sql.Date:

Problem here is we cannot make "direct" binding because of a cast class
expception if we try to insert using OJB an Object java.util.Date (woody
defined type).

On the other hand if I set the type of the bean to java.sql.Date then
the woody binding framework reject to work.

So this is a dilema. I thought about a convertor between java.sql.Date
and java.util.Date. For binding

What else can we do?

Best Regards,

Antonio Gallardo

View raw message