Re: SQLTemplate date types

Lon Varscsak <[email protected]>
Newsgroups gmane.comp.java.cayenne.user
Message-ID <CALAw18y01hP1RaOKHERtfFWKR+Yd1N0-yPZpHOf-3aBHc0v_Cg@mail.gmail.com>
I dug a little deeper and wondered if it was possible to override the type
at the Adapter level, but haven't gotten very far. :P

On Tue, Feb 2, 2021 at 11:12 PM Andrus Adamchik <[email protected]>
wrote:

> Not currently, but I think we must implement it in some way. I can't
> imagine anyone still wanting to deal with java.sql.Timestamp.
>
> Andrus
>
> > On Feb 3, 2021, at 9:04 AM, Lon Varscsak <[email protected]> wrote:
> >
> > Is there any way to change the default date types that get returned by
> > SQLTemplate queries to use java.time classes instead of Date?
> >
> > I know I can specify it for specific queries (#result), but I want to
> > change them for the whole application.
> >
> > Thanks,
> >
> > Lon
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.