GLORP Transcript : Smalltalk
This is a discussion on GLORP Transcript within the Smalltalk forums in Programming Languages category; Hi, Can anyone help me to get the SQL created through GLOP echoed to the Transcript. Regds,...
![]() |
| | LinkBack | Thread Tools |
|
#1
| |||
| |||
| Can anyone help me to get the SQL created through GLOP echoed to the Transcript. Regds, |
|
#2
| |||
| |||
| > Can anyone help me to get the SQL created through GLOP echoed to the > Transcript. I'm used to send #logging: to the db accessor. |
|
#3
| |||
| |||
| Can You be more precise Thanks, Michel Bany a écrit : >> Can anyone help me to get the SQL created through GLOP echoed to the >> Transcript. > > I'm used to send #logging: to the db accessor. |
|
#4
| |||
| |||
| maarten a écrit : > Can You be more precise Your GlorpSession object maintains a reference to a DatabaseAccessor object. The GlorpSession object provides #accessor that lets you access its DatabaseAccessor. You can send #logging: to the DatabaseAccessor object using something like this: myGlorpSession accessor logging: true The above will enable Transcript logging only for this GlorpSession. If you need logging for all the GlorpSession objects, you can also do something like this: DatabaseAccessor loggingEnabled: true HTH Michel. |
|
#5
| |||
| |||
| Thanks this works perfectly Michel Bany a écrit : > maarten a écrit : >> Can You be more precise > > Your GlorpSession object maintains a reference to a DatabaseAccessor > object. The GlorpSession object provides #accessor that lets you > access its DatabaseAccessor. You can send #logging: to the > DatabaseAccessor object using something like this: > > myGlorpSession accessor logging: true > > The above will enable Transcript logging only for this GlorpSession. > > If you need logging for all the GlorpSession objects, you can also do > something like this: > > DatabaseAccessor loggingEnabled: true > > HTH > Michel. |
![]() |
« Previous Thread
|
Next Thread »
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| ANN: Mobile & Embeddded Dev Chat Transcript now available | usenet | DOTNET | 2 | 08-31-2007 12:51 PM |
| Returned mail: see transcript for details | usenet | Python | 0 | 06-11-2007 03:19 PM |
| Transcript Window | usenet | Smalltalk | 2 | 01-28-2007 09:20 AM |
| accessing the system transcript | usenet | Smalltalk | 7 | 11-16-2006 05:01 AM |
| [FR] Evaluate expressions in Transcript | usenet | Smalltalk | 6 | 09-28-2006 01:50 PM |
All times are GMT -5. The time now is 03:31 PM.




