ObjectDB Database Search

101-150 of 200 results

object creation during pmf.getPersistenceManager()

instances for all classes declared in package. jdo .   Could You explain why? we are not even sure ... Support Hi I know that default constructors should be light, even in JDO spec it is mentioned as I ... it could be better to generate constructors with argument with type from vendor or jdo domain

ID format in objectdb 2.x for JDOHelper.getObjectId

JDO and the object which I am getting is om.objectdb.OID not LongIdentity. I tried adding private @Id @GeneratedValue long id; but i think it only works in case of JPA not with JDO . Do you the any ... also with JDO , because you may mix JPA with JDO when using ObjectDB. I think that in pure JDO

Changing existing objects from Entity to Embedded

Hi, I realised that I have a mistake (from application logic point of view) in one of my JDO ... :82)   I thought that simply changing JDO metadata is not sufficient. Should it be sufficient btw ? So I left these classes NOT embedded in JDO , introduced copies of these classes in

locks on pure query activities

(JpaQuery.java:719) - locked (a com.objectdb. jdo .PMImpl) at com.agile.hummingbird.API.handleQuery(API.java ... .jpa.JpaQuery.getResultList(JpaQuery.java:719) - locked (a com.objectdb. jdo .PMImpl) at com.agile ... ) - locked (a com.objectdb. jdo .PMImpl) and: java.lang.Thread.State: BLOCKED (on object monitor) at com

Server closes if large query runs out of memory

occurred during JDO deletion query, and the temp threshold was set and was low (64mb).   ... understand that JPA bulk delete doesn't involve any object retrieval, whereas perhaps JDO deletion does ... You are right. DELETE queries are implemented in ObjectDB differently for JDO and JPA: In JDO : a SELECT

Dirty checking

the database. ie: which objects, and which collections of objects, have been dirtied. in the jdo api there is: void postDirty(InstanceLifecycleEvent event) http://www.objectdb.com/api/java/ jdo /listener ... methods, as you mentioned. You may also use JDO methods (even if your application uses JPA

OutofMemory error with Object DB 2.0

.evictAll() after commit, it does not make difference. All the entity classes in my package. jdo ... PersistenceManager instance (com.objectdb. jdo .PMImp) The application tries to persist records ... and this is the only blocking issue for our release. I am also attaching our package. jdo files (previous file used

Lazy Init / Eager / Join Fetch collection strategy ? What to choose ?

a way to do that in JPA / JDO / something else ?   xirt Sylvain Actually you can specify specific fetch paths for specific operations using JDO fetch groups, which are fully supported by ObjectDB but not documented (you can find more details in the JDO specification). This ability

objectdb explorer in ver 2.2 and 1.0

Hi   In first step  I have evaluated JPA API now I'm testing JDO API and I'have spotted that object explorer has lower functionality than in ver 2.2 eg garbarage collector or xml import ... should only use ObjectDB 2.x. Notice that ObjectDB 2.x also supports JDO better ( JDO 2 instead of JDO 1). support Support

How to Persist a Map of beans to collections of beans?

Hello, I am trying to add a new persistable object to the package. jdo for persistence in ... at a loss for how to format the xml in the . jdo file for this object.  How does one persist this in package. jdo xml?  Thanks in advance for your help. -A cvtsc Dev Team In the package. jdo file

Is 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. 

Unexpected exception (Error 990) com.objectdb.o.InternalException

) at com.objectdb.o.STM.E(STM.java:432) at com.objectdb.o.OBM.bP(OBM.java:919) at com.objectdb. jdo ... (OBM.java:919) at com.objectdb. jdo .PMImpl.bP(PMImpl.java:2267) at com.objectdb.o.OBM.bO(OBM.java:833 ... .objectdb.o.STM.E(STM.java:432) at com.objectdb.o.OBM.bP(OBM.java:919) at com.objectdb. jdo .PMImpl.bP

InternalException caused by OOM: Metaspace

.java:756) at com.objectdb.o.OMF.am(OMF.java:684) at com.objectdb. jdo .PMF.getPersistenceManager(PMF.java:559) at eu.extech.serverImpl. jdo .JDOConnection.persistenceManagerInit(JDOConnection.java:386 ... ) at com.objectdb.o.OMF.am(OMF.java:684) at com.objectdb. jdo .PMF.getPersistenceManager(PMF.java:559) at eu

ObjectDB 2.7.2_x Doctor Yields "Index Requires Rebuild" Always

% 70% 80% 90% 100% Index Errors ------------ [1] Index com.unilogical.moxydox.protocol.server. jdo ... .moxydox.protocol.server. jdo .JdoEntity[idLowercase] requires rebuild. - missing entries: 16 - extra entries: 16 [3] Index com.unilogical.moxydox.protocol.server. jdo .JdoImagePageBackground[checksum

Error 990 when querying a class with persistence-capable-superclass

(QRR.java:220) at com.objectdb. jdo .JdoQuery.execute0(JdoQuery.java:811) at com.objectdb. jdo .JdoQuery.execute(JdoQuery.java:720) at com.spiffymap. jdo .JdoDaoBase.count(JdoDaoBase.java:143) JdoDaoBase ... ? Could it be because of the superclass, as I guessed? Or a failure of run-time enhancement? RDBMS-based JDO

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