Forums Register Login

problem with 2 tables in jdbc

+Pie Number of slices to send: Send
Hi,
I try to execute the following select and it doesn't work. The problem is that I have to make a select using 2 tables from 2 different databases. Could anyone tell me how to do that with jdbc ?
the select:

the JDBC instruction:

the error message



Internal Servlet Error:
javax.servlet.ServletException: S0022: 'codutl' is an incorrect colum name.


Thanx in advance,
Slim Dasch
+Pie Number of slices to send: Send
So far as I know, you must work with the tables over separate JDBC connections, one for each database, and concatenate the results. Also, this question has been asked before; try searching the forum for "two tables" to see some relevant results.
+Pie Number of slices to send: Send
Thanx !
There's a city wid manhunt for this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 760 times.
Similar Threads
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException
comparing two table - hibernate criteria
how can i join two different table
bind variable does not exist
Problem With Sybase XA JDBC 2 Driver and WAS 6
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 16, 2024 07:36:37.