• 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
Re: DBUnit in Eclipse config question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: DBUnit in Eclipse config question


  • Subject: Re: DBUnit in Eclipse config question
  • From: Chuck Hill <email@hidden>
  • Date: Fri, 9 Mar 2007 10:06:26 -0800


On Mar 9, 2007, at 9:58 AM, Michael Warner wrote:

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");

com.frontbase.jdbc.FBJDriver works for me.

Also see my patched version at
http://www.gvcsitemaker.com/patched_dbunit


Chuck


		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:
40global-village.net


This email sent to email@hidden

--

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects






_______________________________________________
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


References: 
 >DBUnit in Eclipse config question (From: Michael Warner <email@hidden>)

  • Prev by Date: Re: WebObjects 5: Updating time zone data
  • Next by Date: Re: Getting information on updated n:m relationship
  • Previous by thread: DBUnit in Eclipse config question
  • Next by thread: Correlated SQL statement
  • Index(es):
    • Date
    • Thread