Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Java Beans > Re: JSP/MySQL d...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 4 Topic 1389 of 1403
Post > Topic >>

Re: JSP/MySQL debugging issue

by Chris Riesbeck <Chris.Riesbeck@[EMAIL PROTECTED] > Sep 17, 2008 at 12:40 PM

Damon Getsman wrote:
> Not exactly JavaBeans, but pretty close...  If anybody knows a better
> resource on usenet for just JSP, please feel free to let me know.

comp.lang.java.programmer might be more appropriate for pure JSP issues, 
but this is really about mySql

> 
> Another day, another stupid question proving how little I know about
> this language that I'm supposed to be coding in right now...
> 
> I have a 'subroutine' in the jsp that I'm currently working on that
> works with about 20-30 different variables; general manipulation,
> tossing them in to various database tables, etc... Anyway, there's a
> whole load of SQL queries, inserts, and updates going on in this piece
> of code, too. One of them (at least) is broken. Judging by the error
> that I'm getting from the tomcat logfiles, it's in one of the queries,
> and it seems that one of my variables is being interpolated as a table
> column... So I need to find a way to view the SQL interactions as
> they're happening or an easy way to dump all of my variables somewhere
> so that I can take a peek at them in order to locate what is going on.
> 
> Commenting out all of the SQL and adding debugging output is an
> option, but one that is going to be a real pain in the buttocks. I'd
> much rather find an easier way.
> 
> Any ideas?

I use Derby so I'm just guessing here, but seems like the first thing 
would be to enable and check the mysql logs

http://dev.mysql.com/doc/refman/5.0/en/query-log.html


> 
> TIA
> 
> -Damon Getsman
> -=-=-=-
> ITRx http://www.itrx-nd.com/
> Programmer/Systems Administrator
> -=-=-=-
 




 4 Posts in Topic:
JSP/MySQL debugging issue
Damon Getsman <dgetsma  2008-09-17 09:40:50 
Re: JSP/MySQL debugging issue
Chris Riesbeck <Chris.  2008-09-17 12:40:08 
Re: JSP/MySQL debugging issue
Damon Getsman <dgetsma  2008-09-17 12:03:29 
Re: JSP/MySQL debugging issue
Chris Riesbeck <Chris.  2008-09-18 12:39:49 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Thu Dec 4 0:31:59 CST 2008.