looking for a simple JAVA code to attach to SQL via ODBC

First, a bit of background. I am trying to get UDConnect (a SAP
product) to work. This requires a JAVA connection from the HP-UX
system to a MS SQL server using an ODBC driver.

I looked at the MS knowledge base (http://support.microsoft.com/kb/
313100) to see some sample code. Well, this sample is good if going
from a MS system to another MS system.

Problem is I don't know/code Java. I would like to have a simple java
program on my HP-UX system that tests the ODBC connection the same way
the MS example does.

Anyone have a sample they can share?

Relevant Pages