Both. It's neither updating an existing object nor inserting a new one. On Thu, Jul 17, 2008 at 12:46 AM, Matt Raible <[EMAIL PROTECTED]> wrote:
> When do you not see the object being persisted? In a test or when > you're running the app in Tomcat/Jetty? > > Matt > > On Wed, Jul 16, 2008 at 4:44 PM, Michael Duergner > <[EMAIL PROTECTED]> wrote: > > Any Idea how I can check if it's a transaction related problem? > > > > On Thu, Jul 17, 2008 at 12:43 AM, Matt Raible <[EMAIL PROTECTED]> > > wrote: > >> > >> AppFuse should take care of the JPA configuration for you. > >> > >> Matt > >> > >> On Wed, Jul 16, 2008 at 3:20 PM, Michael Duergner > >> <[EMAIL PROTECTED]> wrote: > >> > I set the stuff up like described in the JPA tutorial and the examples > >> > on > >> > springframework.org. Does appfuse take care of that stuff or do I > have > >> > to > >> > add that on my own? > >> > > >> > On Wed, Jul 16, 2008 at 11:09 PM, Matt Raible <[EMAIL PROTECTED] > > > >> > wrote: > >> >> > >> >> Are you sure your save is wrapped in a transaction? > >> >> > >> >> Matt > >> >> > >> >> On Wed, Jul 16, 2008 at 6:56 AM, Michael Duergner > >> >> <[EMAIL PROTECTED]> wrote: > >> >> > Hi all, > >> >> > i've got a Appfuse Spring MVC modular project using JPA for > >> >> > persistence > >> >> > layer. Getting objects form the database works as intended but I'm > >> >> > not > >> >> > able > >> >> > to save a object. I've implemented a own DAO extending > GenericDaoJpa > >> >> > with > >> >> > just calls super.save() for saving an object. But the object will > not > >> >> > be > >> >> > persisted in the database. Looking at the SQL log i cannot see an > >> >> > INSERT > >> >> > or > >> >> > UPDATE statement. > >> >> > The application is build upon the current archtype using JPA for > >> >> > persistence > >> >> > and MySQL als database backend. > >> >> > Can anyone give me a hint where to look or do you need further > >> >> > information? > >> >> > > >> >> > -- > >> >> > Mit freundlichen Grüßen / With kind regards > >> >> > > >> >> > Michael Dürgner > >> > > >> > > >> > > >> > -- > >> > -- > >> > Mit freundlichen Grüßen / With kind regards > >> > > >> > Michael Dürgner > > > > > > > > -- > > -- > > Mit freundlichen Grüßen / With kind regards > > > > Michael Dürgner > -- -- Mit freundlichen Grüßen / With kind regards Michael Dürgner