Hi Brian!

It will not change that much, but which exact version of OpenJPA do you use? 
Just for not searching in the wrong place ;)

I usually use log4j for logging. 
<property name="openjpa.Log" value="log4j"/>

ant then configure all the stuff via log4j.xml. In an EE server, there might be 
lots of different log redirectors in place...

LieGrue,
strub


--- On Wed, 1/26/11, brian.fed7 <brian.f...@gmail.com> wrote:

> From: brian.fed7 <brian.f...@gmail.com>
> Subject: Unable to insert an entity into database using OpenJPA
> To: users@openjpa.apache.org
> Date: Wednesday, January 26, 2011, 9:34 AM
> 
> I am trying to insert an entity using OpenJPA but having
> problems inserting
> the entity. In the process I am not getting any exceptions
> from OpenJPA even
> thought I have enabled all kinds of logging using
> persistence.xml. 
> 
> Below is the background and please find the attached files
> especially
> jpa.log
> http://openjpa.208410.n2.nabble.com/file/n5962127/AuditEventLog.txt
> AuditEventLog.txt 
> http://openjpa.208410.n2.nabble.com/file/n5962127/jpa.log
> jpa.log 
> http://openjpa.208410.n2.nabble.com/file/n5962127/persistence.xml
> persistence.xml 
> 
> I use OpenJPA + WAS 7 + Spring. In the present context I am
> running a JUnit
> Test Case for inserting the entity into the database rather
> on the WAS
> server. 
> 
> Please let me know if I need to provide more information. I
> would be
> thankful if you can point me in the right direction and let
> me know what I
> am missing.
> -- 
> View this message in context: 
> http://openjpa.208410.n2.nabble.com/Unable-to-insert-an-entity-into-database-using-OpenJPA-tp5962127p5962127.html
> Sent from the OpenJPA Users mailing list archive at
> Nabble.com.
> 


      

Reply via email to