is entityManagerFactory has JNDI name?
I want to use it in my testing code.
Thanks
Hello,
you included the MySQL driver (mysql-connector-java-5.x.y-bin) in
WEB-INF/lib (!) folder, yes?
Andrej Trifkovic schrieb:
> Hello.
> I was try to use OpenEJB plugin for Tomcat with MySQL database, but when
> I deploy my war file, I get exception and message like this " Cannot
> load JDBC
Hi Sanga,
I need a couple of clarifications to help diagnose your situation. If I'm
reading this right, you are attempting to run your test with and without the
following property in your persistence.xml. Is that right?
This property tells OpenJPA to use the mappings defined by you
I put mysql-connector.jar under \apache-tomcat-6.0.18\webapps\openejb\lib
directory and it works
On Thu, Dec 11, 2008 at 12:29 PM, Andrej Trifkovic wrote:
> Hello.
> I was try to use OpenEJB plugin for Tomcat with MySQL database, but when I
> deploy my war file, I get exception and message like
Hello.
I was try to use OpenEJB plugin for Tomcat with MySQL database, but when I
deploy my war file, I get exception and message like this " Cannot load JDBC
driver class 'com.mysql.jdbc.Driver' ", although I was include driver for MySQL
in WEB-INF folder.
Can you tell me what is the problem?
I checked the spec and I cannot find anything about it.
It's just that I tought it would be logic. What do you think ?
Dain Sundstrom wrote:
>
> I checked the code and we don't close the EntityManager when the
> stateful bean is removed. Do you know if this is a spec defined
> behavior o
Greetings,
I think i know the problems. My situation is I use real database and
not in memory database. So forgot 2 things which are :
1. I forgot to specify the ORM inside my persistence UML. So i put
hibernate inside the persitence.xml
2. I forgot to put also the OracleDialect.
After the two