• 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: Seeing SQL
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Seeing SQL


  • Subject: Re: Seeing SQL
  • From: David Elsner <email@hidden>
  • Date: Fri, 26 Mar 2004 12:12:40 +1100

try adding this code to your applications constructor

//Turn on SQL Debugging
EOAdaptorContext.setDebugEnabledDefault(true);
NSLog.allowDebugLoggingForGroups(NSLog.DebugGroupSQLGeneration);
NSLog.allowDebugLoggingForGroups(NSLog.DebugGroupDatabaseAccess);


On 26/03/2004, at 10:17 AM, James Cicenia wrote:

> Hello -
>
> I am using eclipse and when I pass:
> -DEOAdaptorDebugEnabled=true
> in the "Run" arguments I still get no SQL. How do I get to
> see my sql that WO is generating?
>
> -James
> _______________________________________________
> 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.


References: 
 >Seeing SQL (From: James Cicenia <email@hidden>)

  • Prev by Date: Seeing SQL
  • Next by Date: Re: eo_pk_table
  • Previous by thread: Seeing SQL
  • Next by thread: RE: Seeing SQL
  • Index(es):
    • Date
    • Thread