About Spring

71-80 of 107Refresh
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
Forum
2

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
2

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
2

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

Populating entity id before transaction commit

Hi, I have a question about populating auto generated id before transaction commit. We are using OBD with Spring and transactions are managed by Spring. The problem is, that we have custom annotation that wraps some of those functions to do additional work. But this annotation is executed before
Issue
2

Tutorial Typo

I was going through the Eclipse Spring tutorial as part of my training, and I noticed this.  On the page: http://www.objectdb.com/tutorial/jpa/eclipse/spring/entity The tutorial first says: Enter META-INF as a new folder name and click Finish. Then, after the picture, it says: Right click the new