About @Transactional

manual

Working with JPA Entity Objects

Explains the entity object lifecycle and the persistence context. Entity objects are in-memory instances of entity classes (persistable user defined classes), which can represent physical objects in the database. Managing an ObjectDB Object Database using JPA requires using entity objects for many oper ...

 
forum_thread

problem with lazy loading - unittest project attached

hi, i'm still testing objectdb together with spring-data-jpa. i made a test which should simulate 4 requests 1. save entity 2. read an existing entity, add onetomany relation 3. read an existing entity, add another onetomany relation 4. read entity, get relations. i have the feeling this is not the optional way to test this, because of the differnt transaction behavior. the test is not transactional, but the spring repository methods are. ... Data JPA but I noticed that after adding  @Transactional ( org.springframework.transaction.annotation.Transactional ) ... I think that when the test is not annotated with  @Transactional - an ad hoc EntityManager instance is prepared for running ...

 
release

2.6.7

Release date: 2016-03-04 Download (5.54 MB) Binary:  objectdb-2.6.7.zip Version 2.6.7 Added an option to write javaagent enhanced c ...

 
forum_thread

Pessimistic Lock Timeouts setting

Hi,   I realise that JPA2 doesn't necessarily define a standard API way for Lock Timeouts. However, there is a standardised query 'hint' that can be setup to make the underlying DB lock a record for a specific time. The hint property is: "javax.persistence.lock.timeout" #1 2011-04-29 04:30 Hi,   I realise that JPA2 doesn't necessarily define a standard API way for Lock Timeouts. Howev ...

 
release

2.6.5

Release date: 2015-12-22 Download (5.52 MB) Binary:  objectdb-2.6.5.zip You should start by following a  tutorial or reading the ...

 
api-jpa

javax.persistence.spi.PersistenceUnitInfo

Interface implemented by the container and used by the persistence provider when creating an javax.persistence.EntityManagerFactory.(Interface of JPA)

 
release

2.6.6

Release date: 2016-01-27 Download (5.53 MB) Binary:  objectdb-2.6.6.zip Version 2.6.6 Added support of automatic activation of ...

 
forum_thread

JBOSS AS7 7.1.1 - Entity not persisted and createNamedQuery fire exception

I'm trying to have the guestbook example running in the following environment: jboss as 7.1.1 final oracle jdk 1.7.0_04 maven 3.0.4 objectdb 2.4.0_04 installed as a module of jboss No IDE is used for building the Guestbook.war only maven.   My GuestDAO code is as follows: #1 2012-06-05 16:53 I'm trying to have the guestbook example running in the following environment: jboss as 7.1.1 ...

 
forum_thread

Mismatch client-server protocol prefix

Hello! We migrated one of our legacy webservices to Spring Boot/Spring MVC. Now i have a strange problem. At first the app runs perfectly for a couple of hours. After that it stops working and I get the following exception: ... more needed. Basically I have to use it this way to make @Transactional annotations work. The weird thing is that this works ...

 
api-jdo

getSynchronization()

The user-specified Synchronization instance for this Transaction instance.(Method of javax.jdo.Transaction)