ObjectDB ObjectDB

Internal Website Search

101-110 of 200 resultsRefresh
7

Memory leak

when the user logs out, as well as EntityManagerFactory. We use em.clear() after every commit ... The heap dump indicates that 9 EntityManagerFactory instances have been created and have not been closed, and ObjectDB is very sensitive for closing every opened EntityManagerFactory. Please try build 2
7

objectdb speed

hii i have one problem . as you said close EntityManagerFactory to restore database its works ... to store data that is not happening when EntityManagerFactory not closed prateek Prateek gupta You can proceed with loading the csv file as usual after reopening the EntityManagerFactory. support Support
7

Entity factory

> entityClass); } EntityManagerFactory entityManagerFactory = (...); entityManagerFactory
7

Merge Issue: Attempt to reuse an existing primary key value

class MyTestCase {     public static void main(String[] args)  {         EntityManagerFactory emf ... {     @Test     public void test() {         EntityManagerFactory emf ... class T1432y {     @Test     public void test() {         EntityManagerFactory emf
7

mapping file is not being loaded

: EntityManagerFactory emf = Persistence.createEntitManagerFactory("project.odb"); //this set is alwasy ... .EntityManagerFactory; import javax.persistence.Persistence; public class T824 {     public static void main(String[] args) {         EntityManagerFactory emf =             Persistence
7

ObjectDB and Spring Boot - sharing a simple working example

dataSource() { return DataSourceBuilder.create().build(); } @Bean(name="entityManagerFactory") public EntityManagerFactory getEntityManagerFactoryBean() { return Persistence ... (EntityManagerFactory emf) { JpaTransactionManager txManager = new JpaTransactionManager
7

Finding out the JPA provider

and EntityManagerFactory, but its not. So I am left with EntityManager.getDelegate() instanceof com.objectdb.jdo.PMImpl or EntityManagerFactory instanceof com.objectdb.jpa.EMF. Or putting something in ... , but you may also simply check for the "objectdb.home" property. In the EntityManagerFactory:     boolean
7

ObjectDB within a resource adapter module and Java EE Connector Architecture

an EntityManagerFactory. But when using ObjectDB you can either define a standard persistence unit in an XML file or you can simply provide the file path of the ObjectDB database instead:' EntityManagerFactory emf ... an explicit EntityManagerFactory it is not clear to me how to "inject" easily specs for which per-end
1

ObjectDB-2.6.9: Failed to commit transaction: Failed to set numeric value of field property Element.id using reflection

and persisted in Main in protected void createProject(EntityManagerFactory emf): protected void createProject(EntityManagerFactory emf) { format().outHeader2("Create Project and Element ... (); ... On attempting to persist it get error: Create EntityManagerFactory .. ****** Create
1

Memory leak in com.objectdb.o.CST

You have 168 EntityManagerFactory instances. Do you access 168 distinct databases concurrently? If not and you only have one database, try to build one EntityManagerFactory instance, use it for creating multiple EntityManager instances, and remember to close each EntityManagerFactory and EntityManager

Getting Started

ObjectDB is very easy to use. Follow the Getting Started Tutorial and the Quick Tour manual chapter and in minutes you may be able to write and run first Java programs against ObjectDB.

Prior knowledge or experience in database programming (SQL, JDBC, ORM, JPA, etc.) is not required, but some background in using the Java language is essential.

Need Help?

  1. Search ObjectDB website
  2. Read the FAQ
  3. Follow the Tutorials
  4. View or post in the forum
  5. Search or file an issue
  6. Contact support