Miles Elam pisze:
On Jun 18, 2008, at 12:22 PM, Grzegorz Kossakowski wrote:
Actually, amongst the other reasons we have integrated Spring into
Cocoon in order to have solutions to many common problems in place. In
this case, it's more like a question how to integrate a JPA with
Spring not a Cocoon as it lives in higher layer delegating such kind
of problems to Spring and staying focused on its own affairs.
Therefore I suggest to have a look at this:
http://static.springframework.org/spring/docs/2.5.x/reference/orm.html#orm-jpa
Any recommendations for how to integrate that in the Maven build? The
"orm" package does not appear to be part of the base Cocoon archetype.
You can see the listing of all spring artifacts here:
http://mvnrepository.com/artifact/org.springframework
Obviously, spring-orm is listed there so you can add to you pom:
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-orm</artifactId>
<version>2.5.4</version>
</dependency>
--
Grzegorz Kossakowski
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]