This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JDBC and the fly likes Unresolved error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
Reply locked New topic
Author

Unresolved error

Nick de Waal
Ranch Hand

Joined: Feb 19, 2012
Posts: 42
Hi all,

I have an error that I posted here Count field error
but I marked it resolved , which it's actually not, so my apologies for starting a new topic, but I'm afraid it won't get looked at in a resolved forum.

The problem is that I still receive an SQL error count field incorrect, I spent half the day today with two of my instructors trying to figure it out, and because they were
unable to find the problem they told me not to use a prepared statement. I disagreed with them because of the advice I have received here but also because of some of the course material covered.
I can get away with just using a statement but I am determined to see this through.

Now I would like to find out how to fix this error so I can use the prepared statement and prove my instructors wrong but in order to do this I need your help.

This is the code what I have been looking over with my instructors:


I have tried to find something online but I cannot seem to find a similar example any help will be much appreciated.
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18541
    
    8

I marked your original thread as unresolved and posted an answer on it, so I will lock this one.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60794
    
  65

In the future, simply ask a staffer to mark it unresolved.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Unresolved error
 
Similar Threads
prepared statement compilation.
Prepared Statement vs. select
How to retrieve the first record in a database table
SQL Exception:General Error
Scroll Sensitive ResultSet