ObjectDB Database Search

1-15 of 15 results

AnnotationRef jakarta.persistence.PersistenceUnits

JPA Annotation PersistenceUnits Target: TYPE Implemented Interfaces: Annotation Declares one or more PersistenceUnit annotations. Since: JPA 1.0 Public Annotation Attributes PersistenceUnit [] value default null (Required) One or more PersistenceUnit annotations. Since: JPA 1.0

AnnotationAttrRef jakarta.persistence.PersistenceUnits.value

JPA Annotation Attribute in jakarta.persistence. PersistenceUnits PersistenceUnit [] value default null (Required) One or more PersistenceUnit annotations. Since: JPA 1.0

AnnotationRef jakarta.persistence.PersistenceUnit

JPA Annotation PersistenceUnit Target: TYPE, METHOD, FIELD Implemented Interfaces: Annotation Expresses a dependency on an EntityManagerFactory and its associated persistence unit. Since: JPA 1.0 Public Annotation Attributes String name default "" (Optional) The name by which the entity manager

AnnotationAttrRef jakarta.persistence.PersistenceUnit.unitName

JPA Annotation Attribute in jakarta.persistence. PersistenceUnit String unitName default "" (Optional) The name of the persistence unit as defined in the persistence.xml file. If specified, the persistence unit for the entity manager factory that is accessible in JNDI must have the same name. Since: JPA 1.0

AnnotationAttrRef jakarta.persistence.PersistenceUnit.name

JPA Annotation Attribute in jakarta.persistence. PersistenceUnit String name default "" (Optional) The name by which the entity manager factory is to be accessed in the environment referencing context; not needed when dependency injection is used. Since: JPA 1.0

InterfaceRef jakarta.persistence.EntityManagerFactory

injection, using PersistenceUnit . {@snippet : // inject the container-managed factory @ PersistenceUnit

@OneToMany(fetch = FetchType.LAZY) list is always null

, because all is OK when using EAGER loading, but when I use LAZY with PersistenceUnit (not  ... LAZY with PersistenceUnit (not EntityManagerFactory), it fails. The no-detach option is currently

JBoss 7 startup fails

/unavailable dependencies" = ["jboss. persistenceunit .\"Guestbook_Jee.war#GuestbookPU\" missing [ jboss ... :" = {"Operation step-2" = {"Services with missing/unavailable dependencies" = ["jboss. persistenceunit

Java 8 Enhancer Problem

.objectdb.JEnhancerAgent.transform(JEnhancerAgent.java:152) at org.springframework.orm.jpa. persistenceunit

Cannot save or update entity on Spring App

{ // Injected database connection: @ PersistenceUnit (unitName="pu") EntityManagerFactory

Spring 2.5 LocalContainerEntityManagerFactoryBean, no getSharedCacheMode()

I'm trying to setup Spring + JPA + ObjectDb in my test environment and having trouble with the following: Here is the stack trace I get: Caused by: java.lang.AbstractMethodError: org.springframework.orm.jpa. persistenceunit .SpringPersistenceUnitInfo.getSharedCacheMode()Ljavax/persistence

Query results are not up to date for entities, not primitives

(" PersistenceUnit "); EntityManager em2 = emf   .createEntityManager(); EntityTransaction tr = em2  

Spring LTW Problem

.java:153) at org.springframework.orm.jpa. persistenceunit .ClassFileTransformerAdapter.transform

Integration

specified at org.springframework.orm.jpa. persistenceunit .SpringPersistenceUnitInfo.addTransformer

JBOSS AS7 7.1.1 - Entity not persisted and createNamedQuery fire exception

) @TransactionAttribute(TransactionAttributeType.REQUIRED) public class GuestDao { @ PersistenceUnit (unitName