Internal Website Search
101-129 of 129 resultsObjectDb.conf Defaults javax.jdo. PersistenceManagerFactory ; import java.nio.file.Files; import java.nio.file.Path; import ... /local.odb"); PersistenceManagerFactory persistenceManagerFactory = JDOHelper.getPersistenceManagerFactory(properties); PersistenceManager persistenceManager = persistenceManagerFactory | |
Remove not working.jdo. PersistenceManagerFactory ; import java.util.Properties; public class Test{ private static ... "); PersistenceManagerFactory persistenceManagerFactory = JDOHelper.getPersistenceManagerFactory(properties); persistenceManager = persistenceManagerFactory .getPersistenceManager(); } } The output from this code | |
Replaying recorded requests... a PersistenceManagerFactory ? Dave dmoshal David Moshal Couple of additional points: 1. the database ... addition, please verify that you close the database with PersistenceManagerFactory's close ... , please verify that you close the database with PersistenceManagerFactory's close | |
Source not found error after downloading ObjectDB 2.3.7_04"); PersistenceManagerFactory pmf = JDOHelper.getPersistenceManagerFactory(prop); PersistenceManager pm ... .PersistenceManager; import javax.jdo. PersistenceManagerFactory ; public class Main {   ... ; PersistenceManagerFactory pmf = JDOHelper.getPersistenceManagerFactory(prop | |
Connection performace after upgrade to objectdb 2 Hi, I have performance problems with objectdb 2 when I tried to get the PersistenceManagerFactory and PersistenceManager : In objectdb 1 : PersistenceManagerFactory pmf = JDOHelper ... Gabbouch Just tried to create PersistenceManagerFactory and PersistenceManager for your database | |
How to do an Offline Database Backup?? I think I can do so by trying to call PersistenceManagerFactory .close(), and keep trying ... the PersistenceManagerFactory (not just the PersistenceManager instances) and avoid opening another PersistenceManagerFactory for that database until the backup completes. support Support | |
Access to client/server database from multiple applications are immediately visible to another? The way I managed this was to run PersistenceManagerFactory ... well. Other options that could work are to use a PersistenceManagerFactory with retain values   ... per request ). support Support Setting the PersistenceManagerFactory .retainValues to false works fine | |
Query vs Extent for retrieving data: PersistenceManagerFactory pmf = JDOHelper ... the PersistenceManagerFactory have javax.jdo.option.Optimisitic and javax.jdo.option.Multithreaded ... the PersistenceManagerFactory and got the same undesired results. This is why I believe it's tied to closing the PM. Right now | |
Problem with byte arrays in JDO - internal exception This code generates an internal exception: package spiffy.test; import java.util.List; import javax.jdo.JDOHelper; import javax.jdo.PersistenceManager; import javax.jdo. PersistenceManagerFactory ... ) { PersistenceManagerFactory pmf = JDOHelper.getPersistenceManagerFactory("test.odb"); PersistenceManager | |
Problem with byte arrays in JDO - ClassCastException. PersistenceManagerFactory ; import javax.jdo.Query; import spiffy.test.model.Example; /** * * @author steve ... ) { PersistenceManagerFactory pmf = JDOHelper | |
object creation during pmf.getPersistenceManager()) using the no arg constructor - when a database is opened and a PersistenceManagerFactory ... of a PersistenceManagerFactory / EntityManagerFactory is a heavy one time operation (followed by many | |
JOD problems regarding detachCopy().setProperty("javax.jdo.option.ConnectionURL", "objectdbtest2_db.odb"); PersistenceManagerFactory pmf ... "); PersistenceManagerFactory pmf =JDOHelper.getPersistenceManagerFactory(properties); PersistenceManager pm | |
Filename.odb$ Persisting Issue Jared Hinze This may happen if the EntityManagerFactory (or PersistenceManagerFactory if you use JDO | |
Executing JUnit "all tests" throws "Object ... belongs to another EntityManager" Exception call to the PersistenceManagerFactory , locking down set/get methods of the Symbol class via java.util.concurrent | |
Optimistic Locking.ConnectionURL", "db.odb"); PersistenceManagerFactory pmf = JDOHelper.getPersistenceManagerFactory(properties | |
Failed to read DB file while online backup is running access (with PersistenceManagerFactory ), but for the online backup I use JPA (hence I found in | |
JDO sequences from ORM file I want to use sequences in JDO without using annotations. Normally this is done with a package-X.orm file, where X is a value passed to the PersistenceManagerFactory as the value of property "mapping". I'm encouraged to see that the JDO zip that comes with ObjectDB includes the DTD/XSD | |
Index causes increased memory usage an .odb file. This application created a single PersistenceManagerFactory which had a thread | |
evictAll() behavior / PersistenceManager and the L2 cache is per EntityManagerFactory / PersistenceManagerFactory , i.e. shared by | |
JDOHelper.isDetached failure ? Running this example code: public static void main(String[] args) { PersistenceManagerFactory pmf = JDOHelper.getPersistenceManagerFactory("test.odb"); PersistenceManager pm = pmf.getPersistenceManager(); pm.currentTransaction().begin(); TestClass test = new TestClass(1234,"test"); pm | |
Query and commit simultaneously can be obtained from the same shared EntityManagerFactory/ PersistenceManagerFactory instance (which can be one per application/database). support Support | |
ObjectDB is opening too many sockets; PersistenceManagerFactory and PersistenceManager with no success. Can you explain more, how to call  | |
ClassCastException: cannot be cast to com.objectdb.spi.TrackableUserType the PersistenceManager (or EntityManager ) you have to close the PersistenceManagerFactory (or EntityManagerFactory | |
Sample JDO Architecture for Follow Up Questions PersistenceManagerFactory and a single PersistenceManager. * All connections to the server will be directed | |
Internal error PersistenceManagerFactory . I hope this helps. sjzlondon Steve Zara Thanks. Is there a chance ... were using the same PersistenceManagerFactory . But are objects separated in these threads, where each ... the same PersistenceManagerFactory . But are objects separated in these threads, where each of them uses | |
JDO PersistenceManager.getSequence() returns null sometimes to reproduce: import javax.jdo.PersistenceManager; import javax.jdo. PersistenceManagerFactory ; import ... (String[] args) { PersistenceManagerFactory factory = new com.objectdb.jdo.PMF(); factory | |
I can't get cascading delete to work in JDO(String[] args) { PersistenceManagerFactory pmf =   | |
Freeze during save(String[] args) { PersistenceManagerFactory pmf = JDOHelper.getPersistenceManagerFactory("objectdb:2299 | |
[ObjectDB 2.4.1] Unexpected exception (Error 990) on getObjectById; PersistenceManagerFactory pmf =   |