About Spring MVC Framework

51-60 of 200Refresh
Forum
4

How to use ObjectDB properly in spring boot application?

I have a spring boot application with objectdb embedded database. I am manually handling connection ... described in http://spring.io/guides/gs/accessing-data-jpa/) I had a research on the web but could not find any solution that works. Existing spring-objectdb questions are usually related to regular
Forum
4

Spring Transactions (@Transactional) within ObjectDB

Hi, We are using OBD with Spring and transactions are managed by Spring. Our spring service ... Spring Data) We have noticed that in a loop 1st object is persisted and then we if lookup the same ... and by Spring Data. If queries are involved, then it is possible to miss recent updates
Forum
4

ObjectDB and Spring Boot - sharing a simple working example

and Spring Boot. The code of the example can be found here: https://github.com/kirshamir/spring-data-jpa-objectdb  The example uses the automatic query generation performed by Spring and it works ... gender); // the above are supported by spring data, see: // https://docs.spring.io/spring-data/jpa
Forum
4

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
4

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
4

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
4

multi EntityManager with Spring Boot, but 'Too many persistable types (>10)

I'm trying to use two EntityManager with Spring Boot, but no luck with 'Too many persistable types ... model entity. same class name but different package). Single application with Spring-Boot 2.1.8 ... file. Is it a specific issue with using ObjectDB Spring Boot? Can you run ObjectDB on the same
Forum
4

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
4

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
4

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