• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
DBUnit in Eclipse config question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

DBUnit in Eclipse config question


  • Subject: DBUnit in Eclipse config question
  • From: Michael Warner <email@hidden>
  • Date: Fri, 9 Mar 2007 09:58:28 -0800

I am trying for the first time to set up DBUnit in the context of WOLips / Eclipse. 
I am using FrontBase as my database. 
Under JRE System Library I have included frontbasejdbc.jar.
With a database, 'SampleDB', running, I am getting two errors on the following
method:

protected  IDatabaseConnection getConnection() throws Exception {
Class driverClass = Class.forName("jdbc.FrontBase.FBJDriver"); 
Connection jdbcConnection = DriverManager.getConnection(
"jdbc:FrontBase://localhost/SampleDB", "mmw", "mmw");
return new DatabaseConnection(jdbcConnection);

"Connection cannot be resolved to a type"
"DriverManager cannot be resolved"

my import statements include the following:

import junit.framework.TestCase;
import org.dbunit.*;
import org.dbunit.database.DatabaseConnection;
import org.dbunit.database.IDatabaseConnection;

I assume this is a configuration problem of some kind.  Any specific thoughts
on what I have left out?

Thanks,

Mike Warner






 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: DBUnit in Eclipse config question
      • From: Chuck Hill <email@hidden>
  • Prev by Date: Re: SQL update position
  • Next by Date: Re: WebObjects 5: Updating time zone data
  • Previous by thread: Re: Xcode + WO book
  • Next by thread: Re: DBUnit in Eclipse config question
  • Index(es):
    • Date
    • Thread