I finally figured out what's been the problem concerning my tests not
working. I seperated my project in even more modules (model,dao,service,web)
than just web and core. The applicationContext.xml in the dao module was
renamed to applicationContext-dao.xml
On Thu, Jul 17, 2008 at 1:18 AM, Michael
I just wrote tests based upon that tutorial yes. I could get the tests
working by adding the following entries to applicationContext-resources.xml
in src/test/resources/
Can you post your test? Have you gone through the JPA tutorial on the wiki?
http://appfuse.org/display/APF/Using+JPA
Matt
On Wed, Jul 16, 2008 at 4:50 PM, Michael Duergner
<[EMAIL PROTECTED]> wrote:
> Both. It's neither updating an existing object nor inserting a new one.
>
> On Thu, Jul 17, 200
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
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
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 s
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
> ad
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?
>
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
>
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
10 matches
Mail list logo