| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> c.d.o.server -> Re: Oracle JDBC error
Peter Ashford <peter.m.ashford_at_gmail.com> wrote:
> I'm getting this error doing an SQL insert:
>
> java.sql.SQLException: ORA-01745: invalid host/bind variable name
>
> I know there's no invalid names in the insert because I can insert
> data into the table by hand over sqlplus.
>
> I'm using oracle's ojbdc14 jdbc driver and Java 1.6.
>
> Any ideas?
You probably have invalid host variable names.
Check your code! This has nothing to do with INSERTS via sqlplus.
If you are clueless, post a section of your code so people can help you
spot what's wrong.
Tell the table definition too!
Yours,
Laurenz Albe
Received on Thu Jul 26 2007 - 03:09:14 CDT
![]() |
![]() |