About Spring

31-40 of 95Refresh
Forum
19

How to resolve 404 errors with Eclipse/Maven Spring MVC

I have created a project as guided by www.objectdb.com/tutorial/jpa/eclipse/spring/run. When I abandon eclipse and use the maven command line to deploy this Spring MVC web app to jetty and point ... .com/temp/hello-spring-mvc-annotated-tomcat6.zip . I don't know why it is so large (104MB). I just
Forum
19

Possible issue with Spring JPA and Embedded

Hello, I'm having some fun with Spring and embedded objects. I have need to embed some small ... that the annotations I have used are ok. However it will not work from spring. I'm not certain whether this is due to something spring wants or whether there is an issue with objectdb. I'm not really sure
Forum
19

Spring 2.5 LocalContainerEntityManagerFactoryBean, no getSharedCacheMode()

I'm trying to setup Spring + JPA + ObjectDb in my test environment and having trouble ... (AbstractAutowireCapableBeanFactory.java:1335) ... 45 more This is with Spring 2.5.6. I'm doing it this way instead of using ... on the bean. Why do I get this exception? This old version of Spring (released in 2008) supports only JPA 1
Forum
19

BeanCreationException in spring data JPA with objectDB

.plugin.Jetty6PluginWebAppContext@1ed72085{/Guestbook,/home/rajasekhar/Downloads/guestbook-spring ... ) The stack trace doesn't include any line in ObjectDB, just messages and lines of Spring Framework, so maybe people on a Spring Framework forum would be able to provide help on this issue better. The issues
Forum
19

How to enhance the JPA/Spring/MVC to implement RESTfull for CURL client?

. Thanks Siegfried Here is my web.xml fragment:     springspring' Here is my controller. @Controller ... for HTTP request with URI [/Guestbook/user/siegfried] in DispatcherServlet with name 'spring' Hmmm
Forum
19

Spring LTW Problem

Hello! I use ObjectDB with Spring. Today i tried to swich from AspectJ compile time weaving to load ... "     useSystemClassLoaderAsParent="false" /> To my context.xml and to my spring configuration. Now Spring oviously tries to weave every class that get's loaded. The problem arises
Forum
18

can not use spring-data-jpa repository with NamedQuery

in spring-data-jpa named queries are used to implement repository interface methods, see http://static.springsource.org/spring-data/data-jpa/docs/current/reference/html/#jpa.query-methods.named ... findByBar(String bar); } to match the method parameter to the query parameter, spring have to check
Forum
18

Spring MVC Errors

ObjectDB version. 1.) ok I switched to both newest version of ObjectDB and Spring Framework, however I ... and @PersistenceContext automatic one like in the Spring MVC Tutorial GuestBook...   3.) I'm using Tomcat and I don't ... and then I found that spring Tutorial which I've never seen before so I figured I
Forum
18

Spring Data JPA

Hello! When i configure Spring Data JPA to use ObjectDB 2.4.0_03 i get an exception when the context starts. org.springframework.beans.factory.BeanCreationException: Error creating bean with name ... more If i understand the exception right Spring Data JPA calls getMetamodel on the entity manager factory
Forum
18

Spring Data JPA - PersistenceException thrown

In a Spring-managed application that has 2 EntityManagerFactories (one Hibernate and one ObjectDB), I see the 2 EMFs created successfully on startup, but then subsequently when the application is initializing Spring JPA repositories with Hibernate EntityManagers, the application throws