Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JDBC

 
Zain Tofie
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 567
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Zain,
what database and JDBC driver are you using?
 
Zain Tofie
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic