Re: AS400 and jbuilder
From: Hrvoje Somun (hrvoje.somunREMOVE_at_zg.tel.hr)
Date: 10/28/03
- Next message: Paulo Cruz: "Crystal Reports 9 +Java +MySQL"
- Previous message: Dave Bender: "Character conundrum"
- In reply to: Joe Weinstein: "Re: AS400 and jbuilder"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 28 Oct 2003 15:42:27 +0100
"Joe Weinstein" <joeNOSPAM@bea.com> wrote in message
news:3F9D9439.2080302@bea.com...
>
>
> Hrvoje Somun wrote:
>
> > i'm trying to access test database on as400 with
> > com.ibm.as400.access.AS400JDBCDriver. i manage to make it work in
runtime
> > with:
> >
> > DriverManager.registerDriver(new
com.ibm.as400.access.AS400JDBCDriver());
> > connection =
> >
DriverManager.getConnection("jdbc:as400://192.168.1.1","HRVOJE","HRVOJE");
> >
> > but when i try it with jbuilder database pilot or when i want to use
> > dataexpress database bean connection is not working. it displays
> > "com.borland.dx.dataset.DataSetException: The driver:
> > com.ibm.as400.access.AS400JDBCDriver could not be loaded. This could be
a
> > problem with the driver itself, or that the driver is not found on the
> > classpath."
>
> Did you try running the exact code above inside jbuilder?
>
yes, and it works in runtime(i get connected and data is displayed), but
when trying to use database pilot it doesnt recognize
com.ibm.as400.access.AS400JDBCDriver? hmmm but this driver IS in classpath,
i've put it in project libs also, and still when i try to make a
connection(inside database pilot) with
driver- com.ibm.as400.access.AS400JDBCDriver
url-jdbc:as400://192.168.1.1
it's not working.
hrvoje
- Next message: Paulo Cruz: "Crystal Reports 9 +Java +MySQL"
- Previous message: Dave Bender: "Character conundrum"
- In reply to: Joe Weinstein: "Re: AS400 and jbuilder"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]