openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alvaroCab <>
Subject Re: OpenJPA not connecting the database
Date Tue, 22 Dec 2009 11:34:19 GMT

Hi, thank you for your answers. The Persistence I put was a quick
modification of the one I had with OpenJPA, so that's why it didn't have the
correct properties, the correct one is:

  <?xml version="1.0" encoding="UTF-8" ?> 
 <persistence version="1.0" xmlns=""
  <persistence-unit name="VacationUnit">
	  <property name="openjpa.ConnectionURL"
value="jdbc:derby://localhost:1527/Vacation" /> 
	  <property name="openjpa.ConnectionDriverName"
value="org.apache.derby.jdbc.ClientDriver" /> 
	  <property name="openjpa.ConnectionUserName" value="VACATION" /> 
	  <property name="openjpa.Log" value="SQL=TRACE" /> 

The errors are the ones I said before. I tried adding the provider and
nothing. I tested a bit changing parameters and I figured out that it's like
if it was not able to load the openjpa properties, like if it was not
loading the openjpa library, and I have it added on my project's build path,
I can even access to it from my Java class. It looks like it doesn't want to
work for me :(

View this message in context:
Sent from the OpenJPA Users mailing list archive at

View raw message