This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes JDBC and the fly likes JDBC Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Databases » JDBC
Bookmark "JDBC" Watch "JDBC" New topic
Author

JDBC

Zain Tofie
Greenhorn

Joined: Jun 11, 2002
Posts: 2
Hi, I'm looking through some JDBC code to understand what it's all about.
Could someone please explain how I can fix the following two errors?
1. The method addRecord(java.lang.string is ambigous for the type NFTable
2. The type Data is ambiguous
Many thanks in advance
JDBC Rookie
Adam Hardy
Ranch Hand

Joined: Oct 09, 2001
Posts: 566
Hi Zain,
what database and JDBC driver are you using?


I have seen things you people would not believe, attack ships on fire off the shoulder of Orion, c-beams sparkling in the dark near the Tennhauser Gate. All these moments will be lost in time, like tears in the rain.
Zain Tofie
Greenhorn

Joined: Jun 11, 2002
Posts: 2
Originally posted by Adam Hardy:
Hi Zain,
what database and JDBC driver are you using?

Hi Adam, I am using a SAS data source with the SAS ODBC driver on one end and JDBC (that ships with 1.4) on the other end.
The problem is that when I recompile the .java file for the app, I get errors - otherwise the application works just fine i.e. I can invoke the app and use it to connect to my data source and submit sql etc. It's just that when I re-compile the source files I get errors.
I'm like really new to all this stuff and would appreciate any and all help.
Thank you
Zain
 
GeeCON Prague 2014
 
subject: JDBC