• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: generate sql from entity modeler in Eclipse
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: generate sql from entity modeler in Eclipse


  • Subject: Re: generate sql from entity modeler in Eclipse
  • From: Mike Schrag <email@hidden>
  • Date: Sun, 18 Nov 2007 22:22:24 -0500

I'd have to take a closer look at that, but what I don't understand from your example: if in both cases the table name is not quoted, it should not be a problem as the conversion to lowercase happens in both cases. I'm not using pk generation but I'm pretty sure that it would work if either both cases or none is quoted.
I agree, btw -- For PG, it's recommended that you DON'T quote these names, because it will then become case sensitive, which is almost always undesirable.

com .webobjects.jdbcadaptor.PostgresqlExpression.enableIdentifierQuoting = true

and have the quoting available during application runtime. Nevertheless that shouldn't matter for the example sql you gave.

/**
* Declare a class named "org.objectstyle.wolips.eomodeler.EOModelProcessor"
* with the following methods: public void processModel(EOModel _model,
* NSMutableArray _entities, NSMutableDictionary _flags); public void
* processSQL(StringBuffer _sqlBuffer, EOModel _model, NSMutableArray _entities,
* NSMutableDictionary _flags);
*
* processModel will be called prior to sql generation, and processSQL will be
* called after sql generation but before it retuns to EOModeler.
*
* @author mschrag
*
*/


In processModel, you could set the system property, I suspect ...

ms

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: generate sql from entity modeler in Eclipse
      • From: Guido Neitzer <email@hidden>
References: 
 >Re: generate sql from entity modeler in Eclipse (From: Theodore Petrosky <email@hidden>)
 >Re: generate sql from entity modeler in Eclipse (From: Guido Neitzer <email@hidden>)

  • Prev by Date: Re: generate sql from entity modeler in Eclipse
  • Next by Date: Re: generate sql from entity modeler in Eclipse
  • Previous by thread: Re: generate sql from entity modeler in Eclipse
  • Next by thread: Re: generate sql from entity modeler in Eclipse
  • Index(es):
    • Date
    • Thread