Re: EOModeler : NSTimestamp - Factory Method / Conversion Method
Re: EOModeler : NSTimestamp - Factory Method / Conversion Method
- Subject: Re: EOModeler : NSTimestamp - Factory Method / Conversion Method
- From: Jonathan Rochkind <email@hidden>
- Date: Tue, 02 Sep 2003 13:57:14 -0500
Hm, I've never had that problem. Do you have the internal type of the
attribute set to "Date"? You probably should. It sounds like you have it
set to "Custom" with a class name of "NSTimestamp" instead---and the
factory method and conversion method are blank. A custom internal type
shouldn't be neccesary---"Date" should work fine.
There's probably a way to get 'Custom' to work, but I don't know what it
is. On the other hand, if everything IS working, maybe you've already
found the way to get it to work, it's just confusing EOModeler. There are
worse things than confusing EOModeler, as long as everything still works at
deployment. But internal type of 'Date' is probably the way to go.
--Jonathan
At 08:35 PM 9/2/2003 +0200, you wrote:
Hello list,
i'm just starting to program WO and i'm really exited. Here's something
that the Docs didn't cover: I'm Using NSTimestamps on the WOApp-side and
DATETIME on the database-side to model my creation and modification dates
of my records (rows) in my database. Actually storing and retrieving data
works fine, but:
EOModeler complains when saving the model that Factory and Conversion
Methods of my datestoring rows are undefined (which is true). I don't know
what to enter in order to make it stop complaining.
can somebody explain?
thank you very much
jacques couzteau
-----
OSX 10.2.6 / mysql / WO 5.2.1 / mysql-connector-java-3.0.8-stable-bin.jar
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.