ObjectDB Database Search

151-200 of 200 results

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

Network in ObjectDB

per database file. support Support is that mean that there is no networking in JPA , just JDO only eng.ahmed ahmed Client-server mode (networking) is supported for both JPA and JDO . support Support

Is there an API to get the current version of ObjectDB that's being used?

to get the version with the following code: public static void main(String[] args) { com.objectdb. jdo .PMF pmf = new com.objectdb. jdo .PMF(); String version = pmf.getProperties().getProperty("VersionNumber"); pmf

NPE when getting Persistence manager

:715)         at com.objectdb. jdo .PMF.getPersistenceManager(PMF.java:561)         at eu.extech.db_utils. jdo .BasicJDOConnection. (BasicJDOConnection.java:53) I

Native ObjectDB Support for EnumSet ?

Greetings ObjectDB team, Are embedded EnumSet objects faster to query than normal classes ? Does JPA/ JDO offer native support to filter persistent objects by an EnumSet field's multi ... to see the enum set values in the Explorer (but you can instantiate it as EnumSet ). JDO /JDOQL (single

Getting exception while executing the Query

.objectdb.o.QRR.b(QRR.java:151) at com.objectdb. jdo .JdoQuery.execute0(JdoQuery.java:811) at com.objectdb. jdo .JdoQuery.execute(JdoQuery.java:720) I am using the following code to execute the same Query

How to retrieve the ObjectDB version number?

static void main(String[] args) { com.objectdb. jdo .PMF pmf = new com.objectdb. jdo .PMF(); String

Persist error @ManyToMany how to define correct entities relationships

testodb; import java.io.Serializable; import java.util.ArrayList; import java.util.List; import javax. jdo ... ; import java.util.ArrayList; import java.util.List; import javax. jdo .annotations.Unique; import javax

using DbUnit with ObjectDb

" java.lang.ClassCastException: com.objectdb. jdo .PMImpl cannot be cast to org.eclipse.persistence ... doesn't support JDBC connections and the only way to load data is by using JPA or JDO , i.e. by writing

Entity listener - event instead of object

to obtain an EntityManager from a listener class? You may use the JDO getPersistenceManager method ... ). You may create a copy of that object (maybe by JPA's  detach + merge or by JDO's detachCopy

objectdb-2.6.9_02 (with "objectdb.temp.no-enhancement-crc-check") vs. generic classes with interfaces: detailed investigation

) at com.objectdb.o.OBM.bP(OBM.java:931) at com.objectdb. jdo .PMImpl.bP(PMImpl.java:2279) at com ... ) at com.objectdb.o.STM.E(STM.java:411) at com.objectdb.o.OBM.bP(OBM.java:931) at com.objectdb. jdo

Slow loading from db

Hi, I am struggeling with trying to load a larg-ish dataset using objectDB 2.8.3 ( JDO ). I am new to ObjectDB and JDO , so I may be doing something stupid here :-). I have a somewhat complex data structure, where one parent object holds a Map over child objects, which in turn have some

Package name for persisted entities

fully qualified class names in queries when using ObjectDB, since this is allowed in JDO : SELECT i FROM homplex.model.dbobject.Inspiration In JDO you even have an IMPORT clause in queries

Class fields selection to store

In a class how do I define which are the fields to be stored? (using JDO API) It's using persistence-modifier="persistent" ? If I have a class with 40 fields and I only want to store ... @NonPersistent  (starting JDO 2.1 you can use annotations instead of XML metadata). support Support

JDOHelper.isDetached failure ?

what it should? sjzlondon Steve Zara The method JDOHelper.isDetached is one of the JDO features ... a memory leak. ObjectDB may be the only JDO implementation that supports non enhanced classes

Trouble bug on explorer

: package model; import javax. jdo .annotations.Index; import javax.persistence.*; import java.io ... .OBM.bJ(OBM.java:896) at com.objectdb. jdo .PMImpl.bJ(PMImpl.java:2187) at com.objectdb.o.OBM.bI(OBM

EntityTransaction.commit() does not release a pessimistic lock

when the EntityManager is closed. In JDO you can change the default using setDetachAllOnCommit . You can also use this JDO feature from JPA when you use ObjectDB. Giving an EntityManager em : PersistenceManager

ObjectDB 2.x is working without any activation code

_25] javax. jdo .JDODataStoreException Too many persistable types (10) - exceeds evaluation limit (error 1011) at com.objectdb. jdo .PMImpl.makePersistent(PMImpl.java:232) at com.anritsu.eu.database

exception thrown when try to run explorer again?

.NoClassDefFoundError: javax/ jdo /JDODataStoreException at com.objectdb.Explorer$1.run(Explorer.java ... .ClassNotFoundException: javax. jdo .JDODataStoreException at java.net.URLClassLoader$1.run(URLClassLoader.java:366

Failed to generate dynamic type objectdb.java.util.ArrayList

.objectdb. jdo .PMImpl.bH(PMImpl.java:2186) at com.objectdb.o.OBM.bG(OBM.java:800) at com.objectdb.o.OBM ... .objectdb. jdo .PMImpl.bH(PMImpl.java:2186) at com.objectdb.o.OBM.bG(OBM.java:800) at com.objectdb.o

Failed to generate dynamic type

, can we do the same in case of JDO ? can we specify with that option file package. jdo ?   in a doc

ClassCastException: cannot be cast to com.objectdb.spi.TrackableUserType

(STM.java:408) at com.objectdb.o.OBM.bH(OBM.java:884) at com.objectdb. jdo .PMImpl.bH(PMImpl.java:2186 ... .EMImpl.commit(EMImpl.java:274) at javax. jdo .Transaction$commit.call(Unknown Source) at org.codehaus

How to apply constraints in collection attributes of entity.

JDO's Unique annotation . For other constraints you can check objects in lifecycle events . support ... a unique path index. Try: @javax. jdo .annotations.Unique private List PhoneNumbers; support Support yes working thank you. Manoj Manoj Kumar Maharana

Optimistic lock

the JDO   "javax. jdo .option.RestoreValues" property. support Support

UserException or JDOUserException

) at com.objectdb. jdo .PMImpl.currentTransaction(PMImpl.java:168)   (The next item on the stack ... exception to a JDO exception before throwing it externally. Note that the stack trace was essential

ClassCastException of same object type

.java:408) at com.objectdb.o.OBM.bH(OBM.java:884) at com.objectdb. jdo .PMImpl.bH(PMImpl.java:2186

Database is locked when in use

am using the JDO not JPA, and can you also please tell if i dont want the timestamp

Filename.odb$ Persisting Issue

Jared Hinze This may happen if the EntityManagerFactory (or PersistenceManagerFactory if you use JDO

Low performance when getting grove roots

). Are there other ways to configure JDO (not by means of annotations)? Regards, Vladimir tsichevski Vladimir

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

Fetch a whole entity graph eager

 eager fetch. JOIN FETCH queries . JDO fetch groups . support Support Hello ... implementation? In the JDO database layer of the ObjectDB this feature is already obviously available. best

Slow query due to scanning multiple indexes

thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: javax/ jdo /JDODataStoreException at com ... .java:90) Caused by: java.lang.ClassNotFoundException: javax. jdo .JDODataStoreException at java.base/jdk

Internal error

) at com.objectdb.o.QRR.f(QRR.java:222) at com.objectdb. jdo .JdoQuery.execute0(JdoQuery.java:844) at com.objectdb. jdo .JdoQuery.execute(JdoQuery.java:761) sjzlondon Steve Zara Thank you for this report

Once served to JSF page via @EJB query bean, many list fields are null (but same query ok after fresh persist in @PostConstruct)

for that entity object. I think that JPA doesn't provide an API for checking detachment but JDO does:     log_info(javax. jdo .JDOHelper.getObjectState(entity)); It is also possible

No Entity Class API

Both JPA and JDO are based on accessing and managing data in the database using persistable classes (mainly entity classes in JPA or persistence capable classes in JDO ). Usually, this is very convenient. Sometimes, however, it might be useful to access data without user defined persistable classes

ObjectDB 2.5.0

type. Fixed JDO sequence names to be fully qualified names (issue #1074 ). Fixed accessing a package level JDO sequence using getSequence ( issue #1074 ). Fixed false Doctor warnings when updating

NullpointerException when execute a commit

.java:407) at com.objectdb.o.OBM.bO(OBM.java:910) at com.objectdb. jdo .PMImpl.bO(PMImpl.java:2267 ... .objectdb.o.STM.E(STM.java:407) at com.objectdb.o.OBM.bO(OBM.java:910) at com.objectdb. jdo .PMImpl.bO

JPQL Update & Delete (JPA 1.0)

for JDOQL ( JDO Query Language). support Support spring-data-jpa uses delete queries to implement ... since ObjectDB already supports delete queries in JDO . Hopefully this could be added in

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

.objectdb.o.OBM.bP(OBM.java:931) at com.objectdb. jdo .PMImpl.bP(PMImpl.java:2279) at com.objectdb.o.OBM.bO ... :422) at com.objectdb.o.OBM.bP(OBM.java:931) at com.objectdb. jdo .PMImpl.bP(PMImpl.java:2279) at com

Internal Exception

.objectdb.o.QRR.f(QRR.java:222)     at com.objectdb. jdo .JdoQuery.execute0(JdoQuery.java:844)     at com.objectdb. jdo .JdoQuery.execute(JdoQuery.java:748)     

Typo in ObjectDB 1.0 Manual

.  It is very good and better than a JDO book I read because it focuses on giving essential information and not overloading the reader with almost never used JDO feature details.  Thanks! CBE

"is not null" queries not working with index

"is not null"-queries are not working correctly for indexed fields. Following SSCCE creates 1000 entities. A null value is assigned to an indexed field for every second entity. When doing count-queries at the end, wrong results are fetched. import java.io.Serializable; import javax. jdo .annotations