Skip to content
This repository has been archived by the owner on Mar 11, 2024. It is now read-only.

Unable to get string of query using driverspy #41

Open
ishubhamjain opened this issue Nov 28, 2018 · 4 comments
Open

Unable to get string of query using driverspy #41

ishubhamjain opened this issue Nov 28, 2018 · 4 comments

Comments

@ishubhamjain
Copy link

I am working on a project where I need to log query in Log files and add those queries to my assert statement as well

I have build prepared statements using below driver

net.sf.log4jdbc.sql.jdbcapi.DriverSpy
And url

jdbc:log4jdbc:sybase:Tds ........
I have search all over the Internet for the solution but didn't get anything

Can you please tell me if there any way around by which I can get query which are getting logged in log file as well as in my code

I have raise question on stack as well

https://stackoverflow.com/questions/53505711/unable-to-get-string-of-query-using-driverspy

@brunorozendo
Copy link
Owner

are you using jtds-1.3.1.jar ?
If not, then update.

@ishubhamjain
Copy link
Author

@brunorozendo - I have found 1.3.1 jars are latest ... I have publish the mvn link over stack .. sending the message from mobile so kindly refer same

@brunorozendo
Copy link
Owner

@ishubhamjain the jtds-1.3.1.jar is the lasted.
Are you using it?

@ishubhamjain
Copy link
Author

@brunorozendo - Yes, I am using latest jtds-1.3.1.jar , I need that prepared statement queries in variables as well.
I have update and explain the more detail in below stack question:

https://stackoverflow.com/questions/53589859/unable-to-get-string-of-query-using-driverspy

Please let me know if I am missing anything

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants