ObjectDB Database Search
101-150 of 200 resultsIs there a function of "drop table" or "delete from table"? sequences is not supported by JPA and JDO . The following non portable code, however, resets the global sequence IDs: javax. jdo .datastore.Sequence sequence = em.unwrap(javax. jdo .PersistenceManager.class).getSequence("$auto | |
New Index causing troubles Hello, we introduced a new index upon a String field Order.typeName, added to package. jdo as ... .ai(OBC.java:1003) com.objectdb.o.OBC.q(OBC.java:698) com.objectdb. jdo .PMImpl.getObjectById(PMImpl.java:457) - locked com.objectdb. jdo .PMImpl@39ce27f2 eu.extech.serverImpl. jdo .JDOConnection.objectById | |
Working with a cleared cache.makePersistentAll(addCollection); // Flush the JDO cache m_persistenceManager.evictAll(); m_persistenceManager ... ) at com.objectdb. jdo .PMImpl.bH(PMImpl.java:2186) at com.objectdb.o.OBM.bG(OBM.java:800) at com.objectdb ... .toArray(Unknown Source) at com.objectdb. jdo .PMImpl.makeTransactionalAll(PMImpl.java:1340) at nuwc.iof | |
Lock prevents PersistenceManager.close when retainValues = false) - locked (a com.objectdb. jdo .PMImpl) at com.spiffymap.store. jdo .ThreadScopePersistenceManagers.closeAndClearPersistenceManager(ThreadScopePersistenceManagers.java:289) at com.spiffymap.store. jdo .PMManager ... affect close operation directly. This mode is not used often (as it is a JDO only mode | |
Not releasing locked MST object:970) at com.objectdb. jdo .PMImpl.aG(PMImpl.java:2277) at com.objectdb.o.OBM.aU(OBM.java:881) at com ... :970) at com.objectdb. jdo .PMImpl.aG(PMImpl.java:2277) at com ... ; - locked (a com.objectdb. jdo .PMImpl) at com.objectdb.jpa.EMImpl.commit | |
ObjectDB Manual can we get one for JDO ? dmoshal David Moshal The issue is not PDF generation for JDO but rewriting the new ObjectDB manual, converting text from JPA to JDO . You can subscribe to this issue: http://www | |
auto-generated uuid fields Hello, we're porting a JDO application to ObjectDB which uses uuid-hex generated values. However the page on generated values in your JPA tutorial only mentions numeric generated values ... that it's part of both the JPA and JDO standards (JPA Generator.UUID_HEX and JDO value-strategy="uuid-hex | |
Too many persistable types (>10) - exceeds evaluation limit. At the moment I am trying to read in data written previously with JDO . As I am testing many frameworks ... have to persistence units? Here is my persistence.xml: com.objectdb. jdo .Provider de.itemis ... .jdoObjectdbJoinTables.entities.instance.ProjectSnapshot com.objectdb. jdo .Provider de.itemis.jdoObjectdbJoinTables | |
Persisting collection where members are subclasses this differently? Would this work better using JDO rather than JPA? -dh dhosek Don Hosek Polymorphism ... (it is enabled by default in JDO , but that is the only difference between JPA and JDO in | |
PostUpdate on array changes on JDO . Question: Is array tracking only available with the JDO api ? dmoshal David Moshal   ... . Is array tracking only available with the JDO api ? Yes. Earlier you mentioned lists. Arrays | |
Updating existing persistence entries) describes the JDO API. It is still supported but only when using JDO rather than JPA. You should use ... . Both Hibernate and ObjectDB have an old API ( Session in Hibernate, JDO PersistenceManager in | |
ClassCastException on closing PersistenceManager Hi, I am using ObjectDB 2.6.3.b03 via JDO . Today I got the following exception while closing ... .OBM.close(OBM.java:198) at eu.extech.serverImpl. jdo .JDOConnection.close(Unknown Source)   ... ) at eu.extech.serverImpl. jdo .JDOConnection.close(Unknown Source) I had to return | |
final fields persistence fields, though JDO might. And, Hibernate supports final fields (though most other JPA providers do not.) Thoughts? gsaxena888 Gautam Saxena Final fields are transient in JPA/ JDO by default ... specific final fields as persistent, using the @Persistent annotation (from JDO ) or using the equivalent | |
Where Does ObjectDB Block/Lock? These are questions asked in the context of the proposed architecture described in the forum thread titled, "Sample JDO Architecture for Follow Up Questions". Questions about blocking/locking ... Manual 5. JDO Connections 5.3 javax. jdo .Transaction Automatic Lock Management Last sentence)  | |
Configuration and Activation Code in ObjectDB 2.x.setProperty("javax. jdo .PersistenceManagerFactoryClass","com.objectdb. jdo .PMF"); properties.setProperty("javax. jdo .option.ConnectionURL", fileName.odb); pmf = JDOHelper.getPersistenceManagerFactory | |
How best to unbind all names? My JDO application does inserts with binds, and then subsequently does bulk deletes using ... extension of ObjectDB and not part of JDO . If you do, consider implementing bookmarks in portable ... was concerned that using JDO queries even on the primary key would be slow. The created schema is in fact | |
InternalException) at com.objectdb.o.QRR.f(QRR.java:153) at com.objectdb. jdo .JdoQuery.execute0(JdoQuery.java:811) at com.objectdb. jdo .JdoQuery.execute(JdoQuery.java:720) I can imagine how frustrating such internal | |
Feedback on new site you for your useful comments. The ObjectDB 1 manual is available here . You can use the JDO menu ... , etc. Anything that is marked as JDO 1 should also work with ObjectDB 1.0. It is recommended, however, to upgrade to ObjectDB 2. support Support | |
Problem with @UniqueConstraint @Index / @Unique annotations (hopefully in next versions) - you will have to use JDO @Index / @Unique annotations: http://www.objectdb.com/api/java/ jdo /annotations/indexes http://www.objectdb.com | |
connection pooling This specific configuration is from JDO . ObjectDB supports both JPA and JDO (see the FAQ ). Since it is not | |
General Performance Issues Illustrated with a Specific Method java.io.Serializable; import java.util.Date; import javax. jdo .annotations.Index; import javax ... javax. jdo .annotations.Index; import javax.persistence.Entity; import javax.persistence.FetchType | |
Executing JUnit "all tests" throws "Object ... belongs to another EntityManager" Exception, to no avail. I'm using JDO , and I only ever knowingly create one PersistenceManager ... where to look and what to try next. Thank you! brentfegley Brent Fegley I'm using JDO , and I | |
Getting a list of all the entity class names). It requires a JDO ' s PersistenceManager : String[] classNames = com.objectdb.Utilities.getClassNames(pm); In JPA you have to unwrap the EntityManager as a JDO PersistenceManager : String | |
Composite Index error 328 Hi , when i try to use this entity as shown below: package persistence.jpa.models; import javax. jdo .annotations.Indices; import javax.persistence.*; import java.io.Serializable; import java.sql.Date ... = -1"), } ) @Indices( { @javax. jdo .annotations.Index(members = {"id","pwd","access"}) } ) public | |
Memory Leak in EntityManagerFactory ? is, that there are 248 com.objectdb. jdo .PMImpl Objects left, and the root gc is as well the EntityManagerFactory Object m_manager_factory . I think com.objectdb. jdo .PMImpl is the implementation of entity | |
Change Sequcene Id could I change sequcence id ? allocating small value may not be effect. or something other ways ? javax. jdo .datastore.Sequence seq = em.unwrap(javax. jdo .PersistenceManager.class).getSequence("MyEntity$identity"); long currentValue = seq.currentValue(); // I would like to change currentValue | |
Is there any GUI for creating/editing entity? Hi, I'm new for JPA/ JDO . How should I create/edit entity class? Is there any GUI? In my searching easily, there is the jpa function of myeclipse, or Dail. http://www.myeclipseide.com ... for creating/editing entity and JPA/ JDO things. I'm expecting the one like MySQL Workbench.  | |
Great product - needs better marketing - more popularity;are clear selling points. (JPA and JDO APIs versus an elegant proprietary API is a negative ... , but expectations should remain realistic. Supporting the JPA and JDO APIs is an important selling | |
Date field Index is corrupted due to time change; import javax. jdo .annotations.Index; import javax. jdo .annotations.Indices; import javax.persistence | |
Cascading delete Is there a configuration parameter to set this? dmoshal David Moshal You can set cascade delete using annotations (see also the Orphan Removal section). JDO defines similar annotations, and both JPA and JDO support this setting also in XML files, but no additional parameters exist in ObjectDB | |
Queries are slow on a large database but they are already used through the JDO Metadata file. For instance I use this class: public class MessageImpl ... ("this.Id ascending"); The package. jdo contains for this class: I profiled | |
Memory Leak?: 6257543 300362064 com.objectdb.o.STA 3: 347641 72309328 com.objectdb. jdo .PMImpl 4: 347136 50256896 [I 5 ... com.objectdb.o.STA 3: 376758 78365664 com.objectdb. jdo .PMImpl 4: 376758 51239088 [Lcom.objectdb.o | |
openejb jpa jaas module Templates. } } package com.bayner.jpa; import network.data.Settings; import javax. jdo .annotations ... = principals; } } package com.bayner.jpa; import javax. jdo .annotations.Index; import javax.persistence | |
Web Framework Recommendation for leveraging JPA + ObjectDB a natural match to me. I have the following understanding: If I persist standardly against JPA/ JDO , I ... the JPA/ JDO standard seamlessly ? In the way it was meant to be: Allowing switching Persistence | |
Non Embedded byte[] I am trying to understand the "embedded=false" for JDO byte[] as described in ObjectDB 1.0 Manual, sections 4.3 and 4.4. I desire to store an image as a byte[] but I don't want the byte ... to be loaded. Can you give a JDO example of how to achieve this? For example | |
NullPointer when accessing persistent field.java:884) at com.objectdb. jdo .PMImpl.bJ(PMImpl.java:2186) at com.objectdb.o.OBM.bI(OBM.java:800 ... :476) at com.objectdb.o.STM.D(STM.java:390) at com.objectdb.o.OBM.bJ(OBM.java:884) at com.objectdb. jdo ... .objectdb.o.OBM.bJ(OBM.java:884) at com.objectdb. jdo .PMImpl.bJ(PMImpl.java:2186) at com.objectdb.o.OBM.bI | |
InvalidClassException.store. jdo .JdoDaoBase.commitTransaction(JdoDaoBase.java:110) at com.spiffymap.store. jdo .JdoDaoBase ... .ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at com.spiffymap.store. jdo .RequestScopeJdoFilter | |
ObjectDB 2.7.0 ( issue #1959 ). Fixed a schema evolution bug in handling hierarchy change . Fixed setting JDO's "javax. jdo .option.IgnoreCache" . Fixed JDO exception on invoking currentTransaction on a closed | |
Exception makes the system unusable for several minutes.java:746) at com.objectdb.jpa.EMImpl.refresh(EMImpl.java:687) at com.objectdb. jdo .PMImpl.refresh(PMImpl ... .refresh(EMImpl.java:746) at com.objectdb.jpa.EMImpl.refresh(EMImpl.java:687) at com.objectdb. jdo ... ) at com.objectdb.jpa.EMImpl.refresh(EMImpl.java:687) at com.objectdb. jdo .PMImpl.refresh(PMImpl.java:976 | |
InternalException pdnsrtlonmo42-WSAgent-1-Existing/0 ERROR WorkflowRunner - The identity must not be null. javax. jdo .JDONullIdentityException: The identity must not be null. at javax. jdo .identity.SingleFieldIdentity.assertKeyNotNull(SingleFieldIdentity.java:92) at javax. jdo .identity.ObjectIdentity. (ObjectIdentity.java:60 | |
Transaction size limit even though the ObjectDB server runs with Xmx15G. We get the following exception in our JDO transaction in ... Transaction.getSize() This may not be possible as it is an interface in javax. jdo package. Maybe ... _utils. jdo .BasicJDOConnection.commitAndLeaveOpen(BasicJDOConnection.java:116) ... 10 more Caused by | |
[ObjectDB 2.4.1] Unexpected exception (Error 990) on getObjectById.objectdb.o.OBC.aL(OBC.java:988) at com.objectdb.o.OBC.aF(OBC.java:716) at com.objectdb. jdo .PMImpl ... it but with no success: import javax. jdo .*; import javax. jdo .annotations.*; public class T827 {   | |
InternalException: null(JDE.java:52) at com.objectdb.o.OBC.onObjectDBError(OBC.java:1503) at com.objectdb. jdo .PMImpl.getObjectById(PMImpl.java:465) at eu.extech.serverImpl. jdo .JDOConnection.objectById(JDOConnection.java:330 | |
Memory leak in com.objectdb.o.CST pool? I found this in my persistence.xml That's a JDO setting, I'm using JPA, not sure ... can be used with JPA and JDO alternately. support Support So I was wondering, as you can see each CST | |
InternalException when querying indexed field using a list that contains duplicates) at com.objectdb.o.QRR.f(QRR.java:153) at com.objectdb. jdo .JdoQuery.execute0(JdoQuery.java:811) at com.objectdb. jdo .JdoQuery.execute(JdoQuery.java:732) This happens in the specific case when: A query | |
Errors in log to repprt(EMImpl.java:687) at com.objectdb. jdo .PMImpl.refresh(PMImpl.java:976) at com.agile.hummingbird.CoreDaemon ... (EMImpl.java:687) at com.objectdb. jdo .PMImpl.refresh(PMImpl.java:976) at com.agile.hummingbird | |
ObjectDB 2.7.4 Fixed a bug in persisting objects with same ids in a class hierarchy in one transaction. Fixed a bug in using JDO Extent of a super class with shared primary key values in subclasses. Added a warning if a JDO SingleFieldIdentity class is used as a primary key field type. | |
ObjectDB 2.9.2 3.x. JDO updated to API version 3.2.1 (API only, no new functionality). Note: JDO is not expected | |
Enhancing a class causes it to not save changes..makeDirty(obj, null); It is a JDO method but will work regardless if you use JPA or JDO . support Support | |
java.lang.NullPointerException during access a field, only if the classes enhanced:476) at com.objectdb.o.STM.E(STM.java:408) at com.objectdb.o.OBM.bP(OBM.java:934) at com.objectdb. jdo ... ) at com.objectdb.o.OBM.bQ(OBM.java:934) at com.objectdb. jdo .PMImpl.bQ(PMImpl.java:2284) at com.objectdb |