|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
Trace Jaybird
Hi, does anyone know if it's possible to trace Jaybird to check what statements are run through it?
I'm calling stored procs from SOAP service and I don't know exactly what kind of SQL is generated. Thanks in advance for any help!!
__________________
My blog about OpenSource Databases PDF tutorials about OSS databases, DBMonster ... Please contribute to Open Source Development, fill bug reports!!! Developer Shed eSupport Commented my.ini/my.cnf (PLEASE ADD YOUR OWN CONFIG TRICK) An introduction to database normalization Natural or Surrogate key Custom ordering for your results Correlated and uncorrelated subqueries Don't turn your outer joins into inner joins |
|
#2
|
||||
|
||||
|
Quote:
I looked in the jaybird manual and didn't found anything , Can you print the sql statement before the query is executed ? |
|
#3
|
||||
|
||||
|
Unfortunately the query is executed by a closed source webservice that I'm (trying) to consume with an Axis client.
|
|
#4
|
||||
|
||||
|
hmm , maybe modify the jaybird sources to print statements to a log file
just an ideea ... |
|
#5
|
||||
|
||||
|
The FAQ (How do I use stored procedures with JayBird?) gave me the answer, it's incredible that standard way of calling an sp is not supported!!!!
![]() |
|
#6
|
||||
|
||||
|
hmm yes it is a problem
3) 631090: Calling stored procedures - cannot be fixed with current Firebird implementation. |
|
#7
|
|||
|
|||
|
Quote:
Which is apparently not correct as standard syntax works with Firebird ODBC driver. When standard syntax is used ODBC driver goes to the server, requests _BLR_ source for procedure as text (via appropriate BLOB filter) and considers procedure selectable if it contains BLR equivalent for SUSPEND statement. |
|
#9
|
||||
|
||||
|
this was taken from the list , didn't test it yet
when you start tomcat you should use -DFBLog4j=true for java parameters and enable DEBUG level for org.firebirdsql package in log4j. You need to create a file named log4j.properties (where you start the tomcat) with values from examples http://jaybirdwiki.firebirdsql.org/FAQ/JayBirdLogging |
![]() |
| Viewing: Dev Shed Forums > Databases > Firebird SQL Development > Trace Jaybird |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|