I have modified the ObjectKey stuff a little so you should be able to do
Date date = x.getMyDate().getDate();
"Diethelm Guallar, Gonzalo" wrote:
>
> I have a table with two columns, and the primary
> key is a DATE column, MYDATE. Torque generates a
>
> public SimpleKey getMydate()
>
> method. How do I get to the underlying date? Do
> I have to do a
>
> Date date = (Date) x.getMydate().getInternalObject()
>
> ? That looks like a lot of typing, and not very
> clear. What am I missing?
>
> --
> Gonzalo A. Diethelm
> [EMAIL PROTECTED]
>
> ------------------------------------------------------------
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
> Problems?: [EMAIL PROTECTED]
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]