About Spring

51-60 of 95Refresh
Forum
5

Mismatch client-server protocol prefix

Hello! We migrated one of our legacy webservices to Spring Boot/Spring MVC. Now i have a strange ... on localhost We also have a Spring Boot/Vaadin Webapp which works without any problems. What's going ... addition we converted our Spring configuration from xml to configuration classes
Forum
4

EntityManager JPA or JDO impl and different behavior

we use spring to start everything. If I do: System.out.println("EntityManager Name: " + em.getClass ... , NO spring involved. Same persistance xml in my META-INF, startup using: emf = Persistence ... is something in the spring is doing something I don't understand? Or have I missed something? The reason I
Forum
4

Integration

Hi, Is there a way to integrate ObjectDB with Spring Framework to add the benefits of Transaction Management and DAO Support? Regards, ObjectDB is used with the Spring MVC Framework by some users. Currently there is no tutorial for using ObjectDB with Spring, so try to follow a generic tutorial
Forum
4

Out of memory

.java:319) ~[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) ~[spring-aop-3.1.2.RELEASE ... (ReflectiveMethodInvocation.java:150) ~[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE] at org.springframework
Forum
3

Distinct Error

.invokeJoinpointUsingReflection(AopUtils.java:309) ~[spring-aop-3.0.5.RELEASE.jar:3.0.5.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:196) ~[spring-aop-3.0 ... (SharedEntityManagerCreator.java:310) ~[spring-orm-3.0.5.RELEASE.jar:3.0.5.RELEASE] at $Proxy74.getResultList
Forum
2

c.o.jpa.type.EntityTypeImpl.getIdType() returns null

with spring-data-jpa (M2), but i'm not able to use the automatic repository feature because the following code ...     private Long id; persistence.xml and spring context xml is pretty much the same as in the spring mvc jpa ... _typeUpdateCount -1 i stepped throw springs LocalContainerEntityManagerFactoryBean and everything looks
Forum
2

Changes in detach behaviour?

have a Spring DAO. It does the following: I call for example getUserByName("blub). Spring creates an em and starts a transaction. I get the desired user. I return the user. Spring closes the transaction ... ? You can simulate the effect of Spring transactions by closing and reopening the EntityManager. I
Forum
2

Problem on JPA Merge Entity.

merge issue or Spring / JPA transaction management issue? Maybe it is a missing @Transactional ... that it is an ObjectDb problem. The same code with Spring, JPA, Hibernate and MySQL works.   I try to isolate ... that highlights the problem.   This a little webapp (using Spring/Spring MVC, ObjectDb, JPA) project
Forum
2

Activation Issue

? Regards Ralph Hi again, I think I just found out why this happens. Spring Data is retrieving ... connecting. The project starts a Spring application context with one Spring Data JPA generated repository
Forum
2

createNamedQuery throws wrong exception

Hello I'm tying to use ObjecDB with spring-data for JPA and there is an issue where spring-data checks for existance of named query which does not exist yet. Based on JPA specification ... .persistence.PersistenceException instead of IllegalArgumentException which cause spring-data to not