db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Bouschen <mbo.t...@spree.de>
Subject Re: svn commit: r209692 - in /incubator/jdo/trunk/api20: src/java/javax/jdo/ src/java/javax/jdo/identity/ src/java/javax/jdo/spi/ test/java/javax/jdo/identity/
Date Fri, 08 Jul 2005 15:29:55 GMT
Hi Craig,

attached you find my proposal for a fix. I think method 
registerDateFormat should become public.

Regards Michael

> Hi,
>
> It's the date formatter which is set up for US date formats. My bad.
>
> I'll get a fix for this as soon as I can.
>
> Craig
>
> On Jul 8, 2005, at 2:22 AM, Andy Jefferson wrote:
>
>>> I have updated my api20 workspace today and called "maven -o rebuild".
>>> The ObjectIdentityTest prints an error (see below). I'm not sure, why I
>>> do not see the error stacktrace.
>>>
>>
>> You mean the failed test ? 
>> This is the error. Looks like some date parsing needs a fix in 
>> JDOImplHelper.
>>
>> javax.jdo.JDOUserException: Error parsing Date string "Jan 01, 1970 
>> 00:00:00 
>> AM" at position 0 using date format "MMM d, yyyy hh:mm:ss a".
>> at javax.jdo.spi.JDOImplHelper$3.construct(JDOImplHelper.java:580)
>>         at javax.jdo.spi.JDOImplHelper.construct(JDOImplHelper.java:610)
>>         at 
>> javax.jdo.identity.ObjectIdentity.<init>(ObjectIdentity.java:86)
>>         at 
>> javax.jdo.identity.ObjectIdentityTest.testStringDateConstructor(ObjectIdentityTest.java:202)
>>
>>
>> HTH
>> -- 
>> Andy
>> Java Persistent Objects - JPOX
>>
>
> 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!
>
>


-- 
Michael Bouschen		Tech@Spree Engineering GmbH
mailto:mbo.tech@spree.de	http://www.tech.spree.de/
Tel.:++49/30/235 520-33		Buelowstr. 66			
Fax.:++49/30/2175 2012		D-10783 Berlin			


Mime
View raw message