ObjectDB Database Search
101-150 of 200 resultsEntityManager refresh problem
javax.persistence. EntityManagerFactory ; import javax.persistence.Persistence; import javax ... ; odbFile.delete(); EntityManagerFactory emf
|
|
Persist not working when ObjectDB and another db is used in the same application (through spring) with different tx managers
EntityManagerFactory " entityManagerFactory ", which is associated with the MySQL/Hibernate
|
|
General Performance Issues Illustrated with a Specific Method
;dbUrl += ";drop"; EntityManagerFactory emf = Persistence ... static void store( EntityManagerFactory emf) throws Exception {  
|
|
Cast exception?
EntityManagerFactory createEntityManagerFactory(String paramString, Map paramMap) /* */ { /* 73 */ EntityManagerFactory localEntityManagerFactory = null; /* 74 */ PersistenceProviderResolver
|
|
Need help to make this test work and define proper annotations for entities Lists
.EntityManager; import javax.persistence. EntityManagerFactory ; import javax.persistence.GeneratedValue; import ... ; EntityManagerFactory emf;  
|
|
Storing objects problem
that you have described. support Support Main class: EntityManagerFactory emf ... (switch1); router.getChildren().add(switch2); EntityManagerFactory emf =  
|
|
Does ObjectDB support lazy loading?
void main(String[] args) { String path = "test.odb"; EntityManagerFactory emf = Persistence ... ; String path = "test.odb"; EntityManagerFactory emf = Persistence
|
|
Join performance in Objectdb
; EntityManagerFactory emf =   ... ; EntityManagerFactory emf = Persistence
|
|
Database(*.odb) file size on disk
.EntityManager; import javax.persistence. EntityManagerFactory ; import javax.persistence.FlushModeType ... ) { EntityManagerFactory emf; emf = Persistence.createEntityManagerFactory("objectdb
|
|
Server connection management
; The property can also be specified in properties map when instantiating the EntityManagerFactory ... ; { EntityManagerFactory emf =  
|
|
Database absolute filepath
Is there a line of code that can be used to print out my databases absolute path? I have set it as follows: EntityManagerFactory emf = Persistence.createEntityManagerFactory("$objectdb/database ... { public static void main(String[] args) { EntityManagerFactory emf = Persistence
|
|
Is it possible to remove parent/child entities without refresh?
.persistence.EntityManager; import javax.persistence. EntityManagerFactory ; import javax.persistence ... ; EntityManagerFactory emf = null; if (delete) { new File(dbFileName).delete
|
|
Date field Index is corrupted due to time change
.persistence. EntityManagerFactory ; import javax.persistence.GeneratedValue; import javax.persistence ... ; EntityManagerFactory emf =  
|
|
Merge with Parent/Child entities not possible
.persistence.Entity; import javax.persistence.EntityManager; import javax.persistence. EntityManagerFactory ... createEntityManager(String dbFileName, boolean delete) { EntityManagerFactory emf = null; if (delete
|
|
failure to enforce NOT NULL for java.lang.String
; } } public class RegressionTest { /** */ @Test public void regressionTest() { EntityManagerFactory emf ... ; EntityManagerFactory emf = Persistence
|
|
"Attempt to lock a non entity object" error
; import javax.persistence. EntityManagerFactory ; import javax.persistence.LockModeType; import javax ... ; EntityManagerFactory emf = Persistence.createEntityManagerFactory(  
|
|
@MappedSuperclass and @Transient not working as I expected
.EntityManager; import javax.persistence. EntityManagerFactory ; import javax.persistence.GeneratedValue ... @GeneratedValue protected int id; @Version protected long version; @Transient protected EntityManagerFactory emf
|
|
IN expression in a Criteria Query
) { EntityManagerFactory emf =   ... (String[] args) { EntityManagerFactory emf =  
|
|
em.flush(); em.clear(); loosing data and not persisting managed objects
that fails. import javax.persistence.EntityManager; import javax.persistence. EntityManagerFactory ; import javax.persistence.Persistence; public class Test { private final EntityManagerFactory emf; private
|
|
multiple LEFT JOINs do not work as expected
(String[] args) { EntityManagerFactory emf =   ... void main(String[] args) { EntityManagerFactory emf = Persistence.createEntityManagerFactory
|
|
com.objectdb.o.InternalException
.EntityManager; import javax.persistence. EntityManagerFactory ; import javax.persistence.Persistence ... ; EntityManagerFactory emf = Persistence.createEntityManagerFactory(ruta);  
|
|
Strange behaviour with ORDER BY and IN
.persistence. EntityManagerFactory ; import javax.persistence.Persistence; public class Main {   ... ; EntityManagerFactory emf =  
|
|
odb files and config file
/. But there were no obd files in it. I'm getting my EntityManager by doing this: EntityManagerFactory emf ... src/main/java/webapp/WEB-INF/db/? I tried this: EntityManagerFactory emf = Persistence
|
|
object creation during pmf.getPersistenceManager()
/ EntityManagerFactory is created. These instances serve as factory (using methods that are added ... of a PersistenceManagerFactory / EntityManagerFactory is a heavy one time operation (followed by many
|
|
Updating Entities
are managed in Main public class Main extends Application { private static EntityManagerFactory emf ... not know how to do this... Here's why... Main: Initializes EntityManagerFactory and EntityManagers
|
|
Is there an update on running ObjectDB purely in-memory?
; EntityManagerFactory emf = Persistence ... then i could able to run the explorer and server. EntityManagerFactory emf
|
|
How to use JOIN FETCH?
.Entity; import javax.persistence.EntityManager; import javax.persistence. EntityManagerFactory ; import ... ; EntityManagerFactory emf = Persistence.createEntityManagerFactory("eager.odb"); EntityManager em = emf
|
|
Help with 'not like/lower' query
javax.persistence. EntityManagerFactory ; import javax.persistence.Persistence; import javax ... ; EntityManagerFactory emf = Persistence
|
|
Replication error - parsing objectdb config
follows: EntityManagerFactory masterEmf = Persistence.createEntityManagerFactory("objectdb://localhost:6136/TestReplication.odb;user=admin;password=admin"); EntityManagerFactory replicatedEmf
|
|
Wrong data stored in time only fields
.EntityManager; import javax.persistence. EntityManagerFactory ; import javax.persistence.GeneratedValue ... ; EntityManagerFactory emf =  
|
|
Exception when querying Map property with @embedded & Enhancer enabled
. EntityManagerFactory ; import javax.persistence.Persistence; public class TestEmbeddableMap { public static void main(String[] args) { EntityManagerFactory emf = Persistence
|
|
Object DB vs EclipseLink/TopLink: Unloaded relationships in detached entities
get the connection need to traverse the LAZY relationship from the EntityManagerFactory and will able able to use it as long as the EntityManagerFactory is open. The connection used in not
|
|
Not able to update records
.java:758) Following is the code i am executing EntityManagerFactory emFactory = Persistence ... : EntityManagerFactory emFactory = Persistence.createEntityManagerFactory(Constants.DATABASE_FILE
|
|
Remove a modified entity cause an optimistic lock exception
void main(String[] args) { EntityManagerFactory emf =   ... static void main(String[] args) { EntityManagerFactory emf
|
|
Java 6/7 Performance Comparison
may have missed while running under java 7. long start = System.currentTimeMillis(); EntityManagerFactory ... Opening an EntityManagerFactory and an EntityManager should never take 30 seconds. Most ObjectDB
|
|
Out of Memory Error
; EntityManagerFactory instances have bot been closed (note: closing the connections, i.e. the EntityManager instance is insufficient, as an EntityManagerFactory if open keeps a connection
|
|
java.nio.channels.OverlappingFileLockException
; EntityManagerFactory entityManagerFactory = Persistence
|
|
ODB tries to create log files inside its own jar on Win7
. EntityManagerFactory ; import javax.persistence.Persistence; public class Test { public static void main(String[] args) { try { EntityManagerFactory emf = Persistence.createEntityManagerFactory("objectdb:test
|
|
Drop the entire database, Change the schema
;drop as a url parameter: EntityManagerFactory emf =   ... database file by adding ;drop to the url: EntityManagerFactory emf
|
|
ObjectDB is opening too many sockets
the EntityManagerFactory : Map properties = new HashMap (); properties.put("javax.jdo.option.MaxPool", "10"); EntityManagerFactory emf =  
|
|
Database connection url
# EntityManagerFactory support Support thanks, works for me. dmoshal David Moshal
|
|
[ObjectDB 2.2.6_02] Unexpected exception (Error 990) at com.objectdb.o.OBC.aJ(OBC.java:961)
.persistence.EntityManager; import javax.persistence. EntityManagerFactory ; import javax.persistence ... .getName()).log(Level.SEVERE, null, ex); } } private EntityManagerFactory emf; public ReproduceTest
|
|
Close() Method of EMF throwing "PersistenceException: Connection is closed" on first attempt to close.
to close the EntityManagerFactory associated with these ODBs by calling the EMF’s close() method.  ... Thanks, Clinton Moore CAPdev CAP Dev The exception indicates that the EntityManagerFactory
|
|
Navigation through lazy loading from Detached Objects
a semi detached state (in which they are still associated with the EntityManagerFactory and enable ... ; EntityManagerFactory emf =  
|
|
NullPointerException when using multithreading
million commits. The client application has a single instance of the EntityManagerFactory and each ... minutes the EntityManagerFactory is closed with all its EntityManager instances
|
|
ObjectDB can't be activated
EntityManagerFactory emf = Persistence.createEntityManagerFactory("objectdb://localhost:6136/test ... over port 1234 to local port 6136): EntityManagerFactory emf = Persistence.createEntityManagerFactory
|
|
huge heap usage
one EntityManagerFactory with 105,689 EntityManager instances. This could be caused by creating ... ; You can see that these connections are held by one EntityManagerFactory (EMF): support Support thanks, this helps pretty much hgzwicker Hans-Georg Zwicker
|
|
Unexpected error when loading all entity instance
application is stopped) do you close the ObjectDB database ( EntityManagerFactory 's close), e.g ... all instances of EntityManagerFactory instances on destroy of the servlet. I disabled the hot deploy
|
|
WeakRef Purge ObjectDb threads not stopping with Tomcat (in application container)
with a an EntityManagerFactory scope thread. The new thread exists when the EntityManagerFactory is closed
|
|
Getting an error when adding activation code to conf file
javax.persistence. EntityManagerFactory ; import javax.persistence.Persistence; import javax.persistence ... ) { EntityManagerFactory emf = Persistence.createEntityManagerFactory("$objectdb/db/my_entity.odb"); EntityManager em = emf
|