Hi Ted, On 27 May 2017, at 3:28 pm, Theodore Petrosky <tedp...@yahoo.com> wrote:
> I see in Entity Modeler when I am using the postgresql prototypes there are > selections for JavaLocalDate, JavaLocalDateTime. However if I attempt to use > them, I am unable to generate migrations > > what is see in the migrations is: > FIX // Unable to create a migration for permitDate (Java Class Name: > java.time.LocalDate) with the factoryMethodArgumentType > EOFactoryMethodArgumentIsDate > > What can I do to help? I would like to use the JavaLocalDate and do my date > math in Java, but I am a bit lost. The problem is that buried in Entity Modeler somewhere is some mechanism (is it a Velocity template?) for generating the initial migration that pre-dates these types, and so simply doesn’t know about them. Just create a line in the migration to call the appropriate method yourself, e.g.: someTable.newDateColumn("permitDate", false); -- Paul Hoadley http://logicsquad.net/ https://www.linkedin.com/company/logic-squad/ _______________________________________________ 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