[JDBC] getTables is this right?

2001-03-09 Thread Eric Frazier
y off here, in my guessing, but I can't get getTables table type to return a type. I am using the 7.0 driver with the jar named 7.0-1.2.jar and Postgress 7.0.3 on the server end. I hope I didn't get my versions messed up, but that is the other thing I am not certain about, what is the

Re: [JDBC] getTables is this right?

2001-03-12 Thread Eric Frazier
Thanks for your time. Eric At 03:57 PM 3/12/01 +, Peter Mount wrote: >At 23:39 09/03/01 -0800, Eric Frazier wrote: > >>Hi, >> >>I am having problems getting info on tables with getTables. I get null >>returned all of the time. > >Where is it returning nu

[JDBC] get the query created by PreparedStatement

2001-03-18 Thread Eric Frazier
able to print out to a log what the resulting SQL ends up being. But I don't see any way to do that. Isn't there some part of the JDBC API that will give you the last query executed or something like that? Thanks, Eric Frazier Consulting http://www.kwinternet.com/eric (250)

Re: [JDBC] get the query created by PreparedStatement

2001-03-20 Thread Eric Frazier
Hi, This does work, both with the postgress and mysql drivers. But I do need to make SURE it will work no matter the driver, so it sounds like Garry's code would be the best bet for that. Thoughts? Thanks, Eric >How about the toString() method ;-) > >Ok, may not be standard JDBC, but: > >P

Re: [JDBC] Logging Queries

2001-03-29 Thread Eric Frazier
Hi, Peter, is that new? I have used SetLogStream with your 7.1 beta 5 driver and 7.03 Postgress but didn't see any output from queries that I didn't put there? Or could it have to do with my server config that I didn't see anything? I mean no query info, I did see info on the driver and on the c