Hi everyone,

I think I figured it out. I added the ERAttributeExtension framework to my app 
and now the javaLocalDateTime prototype attributes seem to be working when I 
fetch data. 

Thank you
Ricardo Parada


Sent from my iPhone

> On Oct 3, 2024, at 10:53 AM, Ricardo Parada <rpar...@mac.com> wrote:
> 
> 
> Hi everyone,
> 
> I’m trying to use the javaLocalDateTime prototype but I’m having trouble to 
> get it to work.
> 
> The first problem I encountered was that _NSUtilities.classWithName() was not 
> finding LocalDateTime. To try to solve that I did he following:
> 
> _NSUtilities.setClassForName(java.time.LocalDateTime.class, “LocalDateTime“);
> 
> So now the class is being found by EOAttribute but now when I fetch my data 
> from the database I get this:
> 
> Class java.time.LocalDateTime does not implement localDateTime.
> 
> I see that localDateTime method is really in he er.prototypes.ValueConversion 
> class in Wonder.
> 
> Does anybody know how this is supposed to be set up so that it works?
> 
> If I can’t get this resolved I’ll have to go back to using the dateTime 
> prototype attribute which uses NSTimestamp.
> 
> Thank you,
> Ricardo Parada
> 
> 
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to