Home » Search

About Spring

31-40 of 91Refresh
Forum
22

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
22

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
22

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
22

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
21

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
21

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
21

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
21

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
Forum
20

Puzzler: Not getting cascades on read from Spring context

I've determined that the database is correctly initialized, looking at it from the Object Explorer, I can run the code that loads the database in a Junit test and it's initializing the children objects correctly, but in the application running in Jetty with Spring, fetching is not cascading
Forum
20

Spring and packagesToScan

Hi i am trying to configure ObjectDB using Spring JavaConfig but packageToScan is not working. I am getting Type XXX is not found   LocalContainerEntityManagerFactoryBean factory = new LocalContainerEntityManagerFactoryBean(); factory.setPackagesToScan("com.myentities"); factory