ObjectDB Database Search

101-150 of 200 results

enumeration table? how to on pure jpa?

way... I've looked some other annotations but i could not find any solution like this. kadirbasol ... of that class. The key field could also be set as a primary key for fast and simple access by find :     String serverName = em. find (GlobalProperty.class, "serverName").getValue

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

Query becomes slower on moving from ObjectDB 1.x to ObjectDB 2.x

. Please find the odb file which i am using. I have already pasted the code which is being exeucted to run ... unexpectable for our software release. Please find the database file after repair binitbhaskar Binit ... after conversion and before running the Doctor, otherwise the Doctor cannot help. support Support Please find

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

Bidirectional OneToMany is slow on updated items

. Every task run includes: Execution of 10,000 find requests of Person instances. Execution of 10,000 find ... the find calls of Address and Person instances with an in memory HashMap and get calls. support Support

"Attempt to lock a non entity object" error

persistable type has been enhanced:     Test Stored: Ron After find and first lock: Ron ... ; p = em. find (Person.class, 1);         em.lock(p ... ("After find and first lock: " + p.name);         em.getTransaction

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

Transaction isolation support?

have been unable to find any documentation about how transaction isolation is handled. For example ... different http request) B: Fetch user.  (User user=em1. find (User.class,1)). A: Fetch user (User user=em2. find (User.class,1)); B: Create and save a new Book, and add it as a book to the user. B

Glassfish 4 AbstractMethodError: com.objectdb.jpa.EMF.createEntityManager

.EntityManagerWrapper. find (EntityManagerWrapper.java:341) at com.mirq.controller.UserC.findUser(UserC.java ... (EntityManagerWrapper.java:197) at com.sun.enterprise.container.common.impl.EntityManagerWrapper. find ... .sun.enterprise.container.common.impl.EntityManagerWrapper. find (EntityManagerWrapper.java:341) at com

@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

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

How to check if an entity exists in a Database without loading it?

Hi, I am trying to speed up some code - where i check if an entity exists in order to make a decision. In Java - It looks like this (pk - is the primary key of the entity): MyClass find = em. find (MyClass.class, pk); boolean exists = find != null; Is there a way to check the existence

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

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

Updating Entities

the data in my database. Another reason I don't find this possible is due to the fact that each view ... have "a" solution - though not ideal. I'll let you know what I find next week as my shift ... rather than finding it by exploring objects. support Support From what I can tell the em.clear() suggestion does

OEM: Too many persistable types (>10) - exceeds evaluation limit (error 1011)

; (It helped me find a build order priority issue.  I will also use the technique to put a safety ... to get such messages unless ObjectDB cannot find your entity classes in the classpath. When an entity ... to try to find JdoEntity class explicitly so I can report an error for myself so ObjectDB does not resort

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

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

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

in-memory and on-disk support?

I've had a quick read through the features/FAQ and haven't been able to find a clear answer. I'm looking at replacing a setup of H2 where I have 40GB in-memory backed by 800GB on-disk, the 40GB in ... physical memory as cache, so you may find that you get the performance that you need

Maven driven compile time ehnancement

have been enhanced: com.x.y.a.AB com.x.y.a.AC com.x.y.b.AA com.x.y.b.AZ   Hope somebody finds it useful. I searched around for it but couldn't find a maven centric way to handle it. Cheers Willks William

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

How to creat a Query with Sql which returns a List marks

with find (Mark.class, oldMark.getId()); but somehow the oldMark has no generated ID so i try know ... dbMark = dbConnection.getEm(). find (Mark.class, results.get(0).getId()); dbMark.setdMark(oldMark.getdMark

On initialisation of lists: impact on migration from EclipseLink to ObjectDB

); } } This has impact on migration; in my case I would have to find an explicitly init about 1000 lists, because I have a large number of hand-coded (harder to find ) and generated (easy to regenerate) Lists in entities

Items in list are doubled, when the entity class is not enhanced

.createEntityManager(); em. find (Customer.class, Customer.class); em. find (Item.class, Item.class

Searching lists within objects

persisting a new one (this could also save space in the database). Split the query - first find the relevant attributes and then find the CDI that contains these attributes. AttributeType can be defined as

Eclipse plugin problem (using ObjectDB as a separate bundle)

.org/e4/updates/2010 (You might have to select "Contact all update sites during install to find ... during install to find required software - is enabled. support Support Hello, Make certain the Group items by

InternalError on multiple AND and JOIN Query

.LoggerContext[default] - Could NOT find resource [logback.groovy] 09:30:08,687 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback-test.xml] 09:30:08,687 |-INFO in ch

alter table

of "add column"; but I can not find anything about "add index" in the links you given. TIA gzdillon ... his application to a small test. Eventually during this process of isolating the problem you may find

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); //

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

Getting java.lang.ArithmeticException: / by zero

Please find the attached object db jar. binitbhaskar Binit Bhaskar I couldn't find the build number

server.exe on 32bit and 64bit Windows

. support Support The problem is that it cannot start because it cannot find the jvm on the 64bit ... message box with text: "Failed to find Java VM" 2. Trying with explorer.ini with line vm.location=c

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

Deploying a BIRT Project using ObjectDB onto Tomcat

Hi I am currently having trouble deploying a BIRT Report onto Tomcat. The report works fine in the designer and I can run it without problem. However when i deploy it on Tomcat I get errors, Cannot find or process the %oda.data.source.id driver's data source extension configuration. Cannot find

Replication issue, Replayer failing due to NullPointerException.

and that fixed it. I am also finding the recording directories growing upon DB restarts ... a bug, but unfortunately exploring it and finding the cause will require a test case that will demonstrate the problem. support Support

ObjectDB 2.x is working without any activation code

, what could be the reason for this ? Also how to find out which activation code corresponds to which machine ... your machines. ObjectDB will automatically find matching activation key in the list. support Support

Eager Fetch of Map with Entities as Keys

= em. find (MyEntity.class, 1);         em.close();    ... .objectdb.o.OBC.aK(OBC.java:971) at com.objectdb.jpa.EMImpl. find (EMImpl.java:551) at com.objectdb.jpa.EMImpl. find (EMImpl.java:474) at T618.main(T618.java:26)   support Support

ClassCastException after upgrade to 2.3.5_03

.objectdb.o.OBC.onObjectDBError(OBC.java:1487) at com.objectdb.jpa.EMImpl. find (EMImpl.java:559) at com.objectdb.jpa.EMImpl. find (EMImpl.java:474) at rbccm.felix.objectdb.messaging.ObjectDbMessagePipe ... ) at com.objectdb.jpa.EMImpl. find (EMImpl.java:551) ... 7 more The class in question is defined as

Exception Failed to read from file

) at com.objectdb.jpa.EMImpl. find (EMImpl.java:596) at com.objectdb.jpa.EMImpl. find (EMImpl.java:514 ... .java:970) at com.objectdb.jpa.EMImpl. find (EMImpl.java:591) ... 10 more Caused by: java.io.EOFException

After using the enhancer, Lazy loaded collections are no longer loading. They are set as null

); entityManager.flush(); account = entityManager. find (account); assertNonNull(account.getProjects ... . Particularly the invocation of find in your code does not compile. The following code included an attempt ... ; account = em. find (Account.class, 1);         System.out.println

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

Unexpected error when loading all entity instance

Hi, when going through all entity instance to find orphaned entries we get the exception ... and then corrupts it? support Support Hello, I did not find a way to reproduce the error now. It seems there was insufficient memory on the maschine. I will observe the issue and update if I find a way

Best practise loading big data

this MyStepBlockCollection sbc = entityManager. find (id); for ( MyStepBlock sb : sbc.stepBlocks) { for ( MyStep ... above: MyStepBlockCollection sbc = entityManager. find (id); for ( MyStepBlock sb : sbc.stepBlocks ... . Or I cannot find them. I would like to start the discussion for an alternative iteration

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

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

[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

Negative snapshot user count

) 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.messaging.ObjectDbMessagePipe.removeData

New entity objects are duplicated on merge cascading

.createEntityManager();         Book book = em. find (Book.class, 1);   ... ();         A a = em. find (A.class, 1L);      

EOFException

.getResultList(JpaQuery.java:675) at rbccm.felix.objectdb.workflow.ObjectDbGraphContainer. find (Unknown ... on persistance. I've attached the database in question. ObjectDbDoctor finds a number of errors in