Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8344561
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T06:24:37+00:00 2026-06-09T06:24:37+00:00

I am getting some SQLExceptions in my Java 1.6- Oracle11g- JDBC (ie OJDBC6) code.

  • 0

I am getting some SQLExceptions in my Java 1.6- Oracle11g- JDBC (ie OJDBC6) code. But I am unable to see which line of code caused the problem.
How do I use Eclipse to find out which line of code was responsible for the problem ?

The output of my code –

Running main...
Exception- java.sql.SQLSyntaxErrorException: ORA-00911: invalid character
Exiting main...

Thanks.

PS- I don’t think it is necessary to put the code here. I only want to know which line was responsible and fix the code myself. I am trying to take as little extra help as I can.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T06:24:38+00:00Added an answer on June 9, 2026 at 6:24 am

    I’m assuming exceptions are being caught somewhere in your main method? Wherever they are being caught do a myException.printStackTrace(). Or else just run your code with the debugger and go through line by line to see where it screws up.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I made some Java 1.6-Oracle11g-JDBC (using OJDBC 6) code (below). I am getting an
I made some MySQL java-jdbc code to create a database and add a few
I'm currently getting the error: java.sql.SQLException: ORA-01843: not a valid month which I assume
I'm getting the following excpetion: java.sql.SQLException: Protocol violation at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:145) at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:190) at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:286)
my code works fine but I am getting this exception a lot and it's
I'm getting some strange behaviour from EF Code First when I add an object
I am getting some errors thrown in my code when I open a Windows
Getting some really confusing errors and not sure exactly why. Here is my code:
This is some very simple java OOP but I haven't done this in a
I found some answers but nothing was useful. I added mysql-connector-java-5.1.7-bin.jar to referenced libraries

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.