Re: Seeing SQL
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>) |