Internal Website Search

111-120 of 200 resultsRefresh

ObjectDB and Spring Boot - sharing a simple working example

="entityManagerFactory") public EntityManagerFactory getEntityManagerFactoryBean() {   ... "); } @Bean public PlatformTransactionManager transactionManager(EntityManagerFactory emf

Finding out the JPA provider

returned by the EntityManager and EntityManagerFactory, but its not. So I am left with or EntityManagerFactory instanceof com.objectdb.jpa.EMF ... . In the EntityManagerFactory:

UserException: Invalid configuration in 'internal' - Check permissions

entityManagerFactory = Persistence.createEntityManagerFactory(filePath); EntityManager = entityManagerFactory.createEntityManager(); However I get the following error com.objectdb.o ... :154) ... 21 more   It seems like if the EntityManagerFactory class

Merge Issue: Attempt to reuse an existing primary key value

;     EntityManagerFactory emf = Persistence.createEntityManagerFactory(   ... () {         EntityManagerFactory emf =      ... () {         EntityManagerFactory emf =      

system exception occurred during an invocation on EJB GuestDao

by: java.lang.IllegalStateException: Unable to retrieve EntityManagerFactory for unitName null ... EntityManagerFactory for unitName null at com.sun.enterprise.container.common.impl.EntityManagerWrapper ... to retrieve EntityManagerFactory for unitName null You may have missed one of the tutorial

Database connection url

>You have to fix the connection url. See: entitymanagerfactory"> support

CriteriaQuery .where() for multiple conditions

) { EntityManagerFactory emf = (EntityManagerFactory) servletContext.getAttribute("emf

Online backup problem

> EntityManagerFactory emf = null;   EntityManager em = null;   ... ; EntityManagerFactory emf = Persistence.createEntityManagerFactory("HomplexServicesUnit");  

Bug: ClassCastException by retrieval

.EntityManagerFactory; import javax.persistence.EntityTransaction; import javax.persistence.GeneratedValue ... (String[] args) {   EntityManagerFactory emf = Persistence.createEntityManagerFactory("objectdb

"is not null" queries not working with index

.Entity; import javax.persistence.EntityManager; import javax.persistence.EntityManagerFactory; import ... ;     EntityManagerFactory emf = Persistence.createEntityManagerFactory("test.odb");