persistence@glassfish.java.net

Re: Regarding mysql - class not found from toplink

From: Wouter van Reeven <wouter_at_van.reeven.nl>
Date: Wed, 9 Jan 2008 10:35:33 +0100

Hi,

On Wed, Jan 09, 2008 at 11:07:05AM +0200, binu.idicula.ext_at_nsn.com wrote:
> I am using mysql as my database and the persistence is working with toplink
> when I use it from EJB. However if I use persistence from a J2SE environment as
> mentioned in examples by giving -javaagent option, it says Driver could not be
> found: class not found. I have set the mysql database driver in the system
> class path variable and it is visible to all applications.
>
> Could you please provide some information about this issue?

Can you give us some more info please? What version of the mysql driver are you
using? What driver did you specify in persistence.xml?


Wouter van Reeven

-- 
People: "If she weighs the same as a Duck, she's made of wood!"
Sir Bedevere: "And therefore...?"