ObjectDB Database Search

101-150 of 200 results

Object DB vs EclipseLink/TopLink: Unloaded relationships in detached entities

successfully (i.e. it loaded) with ObjectDB, I was horrified to find that all of my collection ... manager or the entity manager factory after having detached the entity, the detached entity finds ... . To find any reference to the matter one has to examine the JPA2 spec Final: 7.6 Container-managed

pessimistic lock not released on commit

.createEntityManager(); em.getTransaction().begin(); if (em. find (MyEntity.class, 1L) == null) { em ... (); System.out.println("Thread A: trying to lock..."); MyEntity e = em. find (MyEntity.class, 1L, LockModeType ... .getTransaction().begin(); System.out.println("Thread B: trying to lock..."); MyEntity e = em. find (MyEntity

Entity listener - event instead of object

database. I can't find the nice way to use EntityManager in EntityListener. Because of that, I can't ... ready"); Inspiration be1 = em. find (Inspiration.class, be.getId()); logger.debug("Old inspiration entity ... of object that you want to update. If you ' find ()' object on this EntityManager you will get exactly

Unexpected exception (Error 990)

.EMImpl. find (EMImpl.java:591) at com.objectdb.jpa.EMImpl. find (EMImpl.java:514) at sun.reflect ... (SharedEntityManagerCreator.java:240) at $Proxy33. find (Unknown Source) at local.jpa.mapping.xmlparsing.RepoEbene1a

Dependency from enhanced classes to the objectDB library

classes (since ObjectDB cannot find the mapping file). The type of the path field in ProfileImpl ... for us.   3) What would a solution to find the configuration file? The serialization is a required ... ; RequirementsSourceImpl (and forced to use reflection), because at runtime it finds out that RequirementsSourceImpl

World database - Changing country ID

Sample world DB in ObjectDB Explorer - and couldn't find my country, as it has invalid id ( ez instead of cz ). I changed the id of country to "cz". But when I try to find the country: SELECT c FROM Country c WHERE id = "cz" no results are returned. If i find it by name, I can see ID has changed to cz

ObjectDB is opening too many sockets

raising until it crashes. I am monitoring TCP connections trough tcpdump, and I did not find any ... of  SSLSocketImpl and similar classes (in the 3 hprof files). However, trying to find the GC roots ... hprof files). However, trying to find the GC roots that hold these instances (using Java Virtual VM

2.7.3_03 Erroneous "Attempt to modify a primary key of a managed object"

on the exact case and on all lower case.  This gives me the ability to find the key regardless of case ... to be able to find the object using the String ID (must match exactly), so I make that all lower case (the secondary indexed key) to find the object.  When displaying the path, I can use

@OneToMany(fetch = FetchType.LAZY) list is always null

when persisting id = parent.getId; parent = find (id); parent.getByteData().getData(); merge(parent); // all is OK when merging with calling the getter of data of byteData parent = find (id); merge(parent ... Parent findParent(int id) {         return entityManager. find

Extra uninitialised entities spawned on merge()

;    root = em. find (Element.class, id); //now detached, since outside transaction   ... 'root', persist it, load 'root' again with find () outside a transaction as a detached entity ... it, load 'root' again with find () outside a transaction as a detached entity, then create an Example 'e

ODB IndexActivation NullPointerException

; - OK But we still need help to find a solution! If you use embedded mode Yes, we use the database in ... you for the update. We will follow your scenario description and try to reproduce the problem and find ... a few screenshots and I hope it help you to find /solve the isse.   ODB-IndexActivation thread (id:427

Remove not working

().commit(); em.close(); em = emf.createEntityManager(); em.getTransaction().begin(); b = em. find (B.class, 1); em.remove(b); A a = em. find (A.class, 2); em.remove(a); em.getTransaction().commit(); em.close ... less than 5% of the active users), you may find other minor issues (at the wrapper level, as the ObjectDB

Schema-Update: Rename superclass and remove one subclass

= em. find (ChildClassA.class, 1); entityWithID1.mode = "a"; ChildClassA entityWithID2 = em. find

Import data from MySQL

Hi, I tried the objectdb in my research, find it very easy to handle without setting up xml files. However, I cannot find the import/export functions between other database, then how can I transfer mysql data into objectdb? gzdillon Lai Yang Currently to import data from other databases

General Performance Issues Illustrated with a Specific Method

seems broken. Please post it as an attachment. support Support Please find as a text file.   MOH-SL ... of Health Sri Lanka Please find the debug log related to the query. Hope you will attempt to explore

Cast exception?

They...look different, but what should I do? Flying Banana Jiacong Xu Maybe ObjectDB cannot find the class ... " exception is thrown by JPA and not by ObjectDB, so it can be thrown if JPA is loaded but cannot find

Database corrupted after schema change

instances normally (all fields on their place). ObjectDB Doctor did not find on them any mistake. Then I ... via the toString() method). The DB Doctor finds then errors like this in the file: ObjectDB Doctor [version

OneToMany and cascade delete problem

, there is null pointer about not finding offer (which is deleted together with product ... ;  Product p = em. find (Product.class, 54);     em.refresh(p); //

Internal exception in objectdb-2.4.4_17.jar

. find (EMImpl.java:551) at com.objectdb.jpa.EMImpl. find (EMImpl.java:474) CalculationServices

Unexpected NoSuchFieldError exception

while another transaction is running. In each case, I've found it difficult to figure out where to find the right documentation. Below is an example that has #1 and #2 together. Additionally it's not clear how I find

enhancement issue

can't find the classes when they are in a jar file??   dmoshal David Moshal To enhance a jar ... . Alternatively you may find build time enhancement or enhancement by an agent (specifying it explicitly with -javaagent explicitly) more suitable. support Support

New to Product & Having An Issue

); } } @Test public void findDepartment(){ Department d = em. find (Department.class ... out with the random UUID strings I generated. However, the second test findDepartment fails to find any

newbie - lots of exeptions

.internal.api.DelegatingClassLoader@15e8179 was requested to find class com.prohire.agent.entities ... is thrown when ObjectDB tries to scan classes in order to find entity classes and other annotations

Memory Leak in EntityManagerFactory ?

. If you find that the number of open and close invocations is the same and you still have a memory leak then this may be an issue in ObjectDB. On the other hand, if you find that the call to close

How to disable Transparent Update.

How to disable Transparent Update. I have done 2 task in a single transaction. 1. Find a entity by a em. find (Class cls,Object o) and change some fields.(not updating) 2. Persist a new entity. But i found the in 1st case the changed value was updated. I have attached the sample program

Cannot connect with client

they are, since the update of that version was from last year.  How do I find out exact I'm running ... to find the full stack trace of the exception in the log file. support Support IC,  I am using

openejb jpa jaas module

= entityManager. find ( UserInfo.class , username ); if(info != null) { String password = info ... (); final Principals principals1 = entityManager. find (Principals.class, principalId); subject.getPrincipals

TreeSet and compareTo() issue

Hi I'm trying to use TreeSet but getting NPE on the compareTo() method when it does a find (): at com.objectdb.o.LDR.z(LDR.java:269) at com.objectdb.o.OBC.aP(OBC.java:1058) at com.objectdb.o.OBC.aN(OBC.java:976) at com.objectdb.jpa.EMImpl. find (EMImpl.java:625) ... 123 more Caused by: java.lang

Failing in embedded mode, correct javax.persistance?

have reported. Answers I find invariably focus on the "persistence.xml ... persist. Can you tell me what version of javax.persistence I should use and where I can find it? Knut

OutOfMemoryError on search after update on DB created with DB Doctor

(JpaQuery.java:716) at com.arunta.base.db.RecordingMetaDataDAO. find (RecordingMetaDataDAO.java:424) at com.arunta.app.services.RecordingService. find (RecordingService.java:247) at com.arunta.base.search

Exception while accessing the Persistence unit ...?

over the turorial few times. Here is my persistence.xml and attached please find the eclipse project layout: (Note ... with your complete Eclipse project. support Support Attached please find the eclipse project in a zip

Using explorer with a live embedded db

, regarding where ObjectDB tries to find the configuration. If you use ObjectDB in embedded mode, the ObjectDB server is irrelevant. Find the location of the objectdb.jar file that is in use by

Conflicting modifiers .... (javax.persistence.Id, javax.persistence.ManyToOne)

static Container getInstance(EntityManager em) { Container c = em. find (Container.class, "1"); if (c ... CompoundKeyMapItem getMapItem(Integer cachedKey, EntityManager em) { return em. find (CompoundKeyMapItem.class, new

Null returned by Persistence.createEntityManagerFactory

;         em. find (Task.class, Task.class);     ... ;       em. find (Task.class, Task.class);      

Error 990... and then new version?

to find any the annotations (whose classfiles are absolutely inside the jar I've included ... , dangit!  Of course as soon as I post, I finally find the bottom of your very out-dated maven

Blocked operation leads to a deadlock

) at com.objectdb.jpa.EMImpl. find (EMImpl.java:604) - locked (a com.objectdb.jdo.PMImpl) at com.objectdb.jpa.EMImpl. find (EMImpl.java:524) btc_es BTC EmbeddedSystems This stack trace shows ... version (e.g. 2.9.0). An analysis of this stack trace indicates a situation in which the a find method

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

.objectdb.com/java/jpa/persistence/detach I can't find out how to test where an entity is detached ... the test project to find out why elements become detached (which I assume is breaking the lazy loading ... ; (Detachment) Pages 76 - 77 (Lazy Fetching) I appreciate your help - in addition to finding some

missing merger

, etc. after this happens. support Support Find attached the log oft he last doctor, regarding ... the errors, we should hopefully be able to find the exact cause and fix it. support Support In ... helped in creating a test and then finding the bug, as it indicates using refresh ). A new build

Internal exception on flush

= em. find (ExecutionGraph.class, id); if(loadedgraph == null) { em.persist(instance); em.flush ... ) at com.objectdb.o.OBC.aK(OBC.java:969) at com.objectdb.jpa.EMImpl. find (EMImpl.java:551) at com.objectdb.jpa.EMImpl. find (EMImpl.java:474) at rbccm.felix.objectdb.workflow.ObjectDbGraphContainer

No Entity Class API

. For example, a tool that finds and replaces strings in the database should be generic ... database with no original classes: Use the Metamodel API to find details on the entity classes in ... to use. Your suggestion would be much more useful: "a tool that finds and replaces strings in

InternalException - error reading field from "queue" database

.EMImpl. find (EMImpl.java:554) at com.objectdb.jpa.EMImpl. find (EMImpl.java:472) ... 6 more Caused by ... ) at com.objectdb.jpa.EMImpl. find (EMImpl.java:549) ... 7 more Caused by: com.objectdb.o

Pessimistic lock timeout - blocks indefinitely

HashMap (); properties.put("javax.persistence.lock.timeout", 5000); MyEntity loaded = em. find (MyEntity ... put the find into a loop which catches the LockTimeoutException, puts the thread to sleep, then tries the find again. I'd expect this to achieve the same result as querying with a timeout (albeit

com.objectdb.o.InternalException: java.lang.ArrayIndexOutOfBoundsException: null

(OBC.java:1058) at com.objectdb.o.OBC.aN(OBC.java:976) at com.objectdb.jpa.EMImpl. find (EMImpl.java:625) at com.objectdb.jpa.EMImpl. find (EMImpl.java:545) at ego.Database.findByID(Database.java:79 ... . Example Code:   WebReference w = em. find (WebReference.class, 89772) Example Class: public

ClassCastException: com.objectdb.o.SLV cannot be cast to com.objectdb.o.RSV

.OBC.aO(OBC.java:1052) at com.objectdb.o.OBC.aM(OBC.java:970) at com.objectdb.jpa.EMImpl. find (EMImpl.java:591) at com.objectdb.jpa.EMImpl. find (EMImpl.java:514) at com.ysoft.cache.objectdb

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

;    MyEmbeddable embeddable = em. find (MyEntity.class, 1).embeddable;     ... to the embeddable but free the entity:         List list = em. find

Remove of an entry from a @OneToMany collection is not possible if the enhancer is disabled

().commit();   entityManager.clear();   parentEntity = entityManager. find (ParentEntity ... ;    em.clear();         e = em. find (MyEntity.class, 1l

[ObjectDB 2.2.6_02] Unexpected exception (Error 990) at com.objectdb.o.OBC.aJ(OBC.java:961)

findMomentEntity(Long id) { EntityManager em = getEntityManager(); try { return em. find (MomentEntity.class, id ... (TimePeriod id) { EntityManager em = getEntityManager(); try { return em. find (ChartEntity.class, id

Enum fields are set to null and embeddable enum class does not show in explorer

provide the necessary fix as soon as possible. support Support Please find attached the test case. I ... . Ok, if it only affects the Explorer I could find a work-around. However, I do not understand why in

queries under 2.7.6_4 significantly slower than under 2.7.6

. Unfortunately, although increasing the number of query plans that are examined can usually help in finding ... ) it may help identifying a pattern and finding a solution. If the schema and indexes are the same

cannot delete objects after crash (see issue 2283)

, we had to stop and run the Doctor. Find attached the latest log   hgzwicker Hans-Georg Zwicker ... . Could you please post your production objectdb.conf file? support Support find attached our configuration hgzwicker