Re: EOPrototypes & creating the database
Re: EOPrototypes & creating the database
- Subject: Re: EOPrototypes & creating the database
- From: arturo <email@hidden>
- Date: Wed, 28 Jan 2004 14:40:52 -0500
Right, so I have a PostgreSQLPrototypes.framework that contains the
EOJDBCPrototypes entity. Does that framework need to be named
EOJDBCPrototypes.framework and installed? Or do I copy the entity from the
one eomodel into the main application model?
Actually, I tried the latter. The columns still didn't know what types they
are supposed to be.
Just to run it down from the beginning again.
WOWebLog comes with two .eomodeld. One is called MySQLPrototypes (or
somesuch) and includes only the EOJDBCProtypes entity. The other is
WOWeblog.eomodeld where all the meat actually is.
So, now that I have PostgreSQLPrototypes, what do I do with it to make the
WOWeblog.eomodeld see the type definitions in EOModel? If I can get that to
happen then I'll be able to generate the SQL to create my database. I
think. Right?
Thanks again.
-arturo
----- Original Message -----
From: "Chuck Hill" <email@hidden>
To: "Arturo Pirez" <email@hidden>
Cc: "WOdev List List" <email@hidden>
Sent: Wednesday, January 28, 2004 2:22 PM
Subject: Re: EOPrototypes & creating the database
> The entity needs to be named EOJDBCPrototypes for EOModeler to use it.
>
> Chuck
>
> Arturo Pirez wrote:
>
> > I'm bringing up WOWeblog from Jonathan Rentzsch. It was originally
> > built with MySQL but I prefer PostgreSQL so I'm repointing it at that.
> > So far I've run into a few problems that I've managed to get around.
> >
> > 1. Building a PostgreSQLPrototypes to replace the MySQLPrototypes.
> > 2. Figuring out ant and linking in the PostgreSQLPlugin framework.
> >
> > But I'm stuck on 3.
> > 3. Creating the database.
> >
> > Because of the EOPrototypes the WOWebLog model doesn't have any
> > information about the column types.
> > So, given the EOPrototypes and the WOWebLog model how do I get EOModeler
> > to generate the SQL to
> > create the database?
> >
> > Thanks in advance.
> > ----
> > WO in philadelphia - wanna cheesesteak with that?
> > Please visit webobjects.meetup.com.
> > _______________________________________________
> > 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.
>
> --
>
> Chuck Hill email@hidden
> Global Village Consulting Inc. http://www.global-village.net
>
> It is a funny thing about life; if you refuse to accept
> anything but the best, you very often get it."
> -- W. Somerset Maugham
>
> <shamelessPlug>
> Practical WebObjects
> http://www.amazon.com/exec/obidos/tg/detail/-/1590592964
> </shamelessPlug>
_______________________________________________
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.