About Spring

61-70 of 101Refresh
Forum
3

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
3

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
3

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

Error with org.springframework.data.jpa.domain.AbstractPersistable

I am working on a Spring Boot application. I want to integrate ObjectDB with Spring Data JPA. I refer to the http://www.objectdb.com/database/forum/860 to do the configuration. When I start ... more         This exception can be reproduced by the following simple console application (i.e. without Spring Boot
Forum
3

Failed to write the value of field using reflection (error 363) on LAZY fetch

am using a spring context (org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean)? Any ... Spring Framework transactions in a way that JPA managed entities will not be detached on exiting a method, please check Spring Framework documentation and their Forum. data303
Forum
3

Java 8 Enhancer Problem

Hello! I am currently migrating my project to Java 8. I'm using Spring and AspectJ load time weaving. Unluckily the LTW option of Spring is global. If it's enabled it also tries to find other class ... an exception which causes Spring to stop weaving.  Caused by: com.objectdb.o.InternalException at com
Forum
3

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

can't get HashMap out of the database

ClassPathXmlApplicationContext(                 new String[] { "spring-servlet.xml ... String[] { "spring-servlet.xml" });     guestDao = context.getBean(GuestDao.class
Forum
2

Eclipse - Maven - Dependencies not getting automatically reflected

I have installed Java 1.7 Eclipse Juno From Eclipse Market place have installed - Maven Integration for Eclipse WTP (a.k.a m2e-wtp), m2e-apt, Spring IDE, The Spring Tool Suite™ (STS) Have defined M2_HOME as directory where Maven is installed. PATH updated as %M2_HOME%/bin I am working on Windows XP
Issue
2

Object DB Explorer fails to open database

Hello, I am trying to integrate Object DB into my tapestry project which will use spring-security. I have created an entity class named "Role" which implements springs "GrantedAuthority" interface. The code runs fine. i.e. Role objects are getting persisted in the database. But when I try to open