ObjectDB Database Search

151-200 of 200 results

Create simple index for a Id field

fast inserting the elements, but when it comes to read seems like the performance falls. I

lockfiles in client/server mode

the one that is in use. Try inserting a deliberate XML error to the file, if the client starts

Login Error (bad username 'admin' or password)

and server objectdb.conf files are in use. Maybe you should try to insert an XML error 

Is there any restriction when using fetch=FetchType.LAZY ?

; It seems referencedObj is becoming null for a certain condition. (I checked by inserting code at 

How best to unbind all names?

My JDO application does inserts with binds, and then subsequently does bulk deletes using this code: pm.currentTransaction().begin(); Extent extent = pm.getExtent(ABC.class, true); Query q = pm.newQuery(extent); long deletedCount = q.deletePersistentAll(); pm.currentTransaction().commit

Problem with entities detection

) at com.objectdb.jpa.EMImpl.persist(EMImpl.java:418) at model.genericDAO. insert (genericDAO.java:66

Relationships and tracking changes

_ID") @JoinColumn(name="VERLAG_ID", insertable =false, updatable=false) private EBVerlag verlag=null; 3

internal object DB locking in an embedded multi threaded application

but periodically. We do alot of inserts , queries and remove as we use objectdb to drive a persistent

problem when primary key value is zero

I am copying data from a postgres database to objectDB. Some of the rows in the postgres table were created by postgres DDL / SQL insert statements and so do not abide by all JPA rules and recommendations, in particular there are some primary keys with value == 0. These cause problems for objectDB

Memory use in OneToMany relationships

all Instances of B into Memory when we query for A. Example:     Class Pet holds ... more data about that picture. If we assume we load 10 Pet from the DB into memory and assume each Pet has 10 Pictures would that mean that we automatically load 100 byte[]'s worth of pictures into memory

Modifying something with Explorer -> app JPQL with Enum doesn't work anymore

Hi! Scenario: Copy attached DB into localhost ObjectDB server (I'm running 2.5.1_03). Open ... . If you need an immediate solution, please isolate the issue further into a simple minimal console ... it's something with the way classes are "added" into the db by ObjectDB. Moreover, I've seen the error happening not just

EntityManager JPA or JDO impl and different behavior

what the EntityManager is because it's proxied by spring but from digging into the objects in debug I ... a Maven project into a simple Eclipse project that doesn't use Maven it could be very helpful, since it will enable getting into ObjectDB with the debugger (by replacing the objectdb jar

locks on pure query activities

We can see that the more threads are doing exactly the same query we step into more and more situations ... but you may want to try it (but be careful before integrating the new build into production, it passed our tests, but please report any side effect, if any). support Support we did integrate it into our pilot

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

Dear all, I have a problem with adding items (entities) into other entity list. When the classes ... , for example put "com.objectdb.Enhancer.enhance("javaapplication.*");" into the first line in main 2. add a String field into Customer with getters and setters. (the field name in my case is text) 3. before em

JBOSS AS7 7.1.1 - Entity not persisted and createNamedQuery fire exception

in the deployment is to add into the persistence.xml file and declared objectdb-jee as a module into ... not satisfying: changing all the @Stateless ejb of an real world jee application into @Stateful ejb

Empty temporary dat files in the temp folder

the %temp%/objectdb_123... folder growth up to 2GB. And then we run into some following errors ... (each 8MB) in the TEMP directory. If we take a look into the dat files they are all (with exception ... a breakpoint - and take a look into temp - "     + "All Database connections are closed

Eclipse plugin problem (using ObjectDB as a separate bundle)

. Attached is a full eclipse e4 product. Unzip and import into your eclise v3.62 workspace ... .eclipse.org/eclipse/downloads/drops/R-3.6.2-201102101200/index.php and unzip it into a folder of your choice. 2. Copy and paste com.richclientgui.rcptoolbox_1.0.9.jar from the previous post into

@ElementCollection Set is emptied sometimes

changes didn't happen into that class. It's very strange and I can't find yet a way to understand ... ). I'm still looking into how could I reproduce it. There is only one place where those fields ... currently work on got into a stable state. I will try to come with more details when I'll deal with schema changes again. Thank you. zmirc Mircea Chirac

Possible cause for "Enhancement of type ... is old and cannot be used"

.6_08. Assuming the changes from build 2.6.6_08 were carried into objectdb-2.6.6 from 2016-01-27 ... in build 2.6.6_08 and then integrated into version 2.6.7 (note the version order is: 2.6.6 = 2.6.6

javax.persistence.PersistenceException: No Persistence provider for EntityManager named in Karaf 4.0.7 and OSGi DS test

Hello, I've written a small OSGi Declarative Services application to run in Apache Karaf 4.0.7 to persist an entity into an ObjectDB database. I'm working in C/S model and I have both the ObjectDB ... if one could simply drop the objectdb bundle into the runtime, request a reference to the Factory and not having

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

check into our application.)   Yet, I STILL see the issue even after confirming that ObjectDB ... so there are no external influences, just what I have built into the JRE application installer package. I will try now

Import data from MySQL

mysql data into objectdb? gzdillon Lai Yang Currently to import data from other databases ... them into ObjectDB. An automatic data conversion utility is expected to be implemented as

Cast exception?

have anything to do with any method from ObjectDB. So I looked into the class loaders and found out: Getting class ... under the extension folder loads properly, so I put the ObjectDB points tutorial (exported) jar into

Server closes if large query runs out of memory

, and so should be able to fail safely if it finds too many objects being retrieved to fit into memory ... ;There is an easy work-around, which is to divide up the deletion into smaller number of objects.  I

Full-Text Searching

with pointers back into ObjectDB.  Is there a way to extend ObjectDB ... collections of strings, can be very useful in text indexing and search. By splitting document text into

NoSuchFieldError: __odbTracker on NetBeans 7.3 + JBoss 7.1.1

and redeployment several times, but the exception is still there. I added a call to enhance directly into ... ? Thanks for your help. galandor Orlov Sergey  I added a call to enhance directly into the code

How to package orm.xml when using EJB in WAR?

and Maven correctly copies META-INF and all contents into the root of jar file when the (EJB) project ... -around seems to be to add a copy of orm.xml into src/main/resources/META-INF of the web project that depends on the EJB

Failed to write to ObjectDB log file

specifying an empty path . support Support In my project I want to include objectdb.jar into my jar program ... specifying empty path. Then, zipped back into objectdb.jar file. Now it works fine. Thanks!  marcins Marcin

Embedded & Activation & Scalation

. So, we'd like to embedded odb into each instance instead for now and point each to the same database ... only limitation. Is there a way to spawn multiple server instances "embedded" into our app

Enhancer problem

the Enhancer into my build process. I get many messages similar to: [ObjectDB 2.2.9_06] Invalid class ... about how you integrate the Enhancer into the build process. support Support Thanks, The logs had the answer. I

Auto Date for Creation and Update

the issue (see format in the posting instructions ), we may be able to look into it. support ... above, you may demonstrate the issue, if you want us to look into it, with a single top class

Cannot cast com.objectdb.jpa.Provider to PersistenceProvider

Hi! I'm trying to get ObjectDB 2.5.1_1 work with stable Glassfish 4 in a Java EE 7 NetBeans project. objectdb.jar is added into GF's classpath (domains\domain1\lib\ext folder). Any help ... .jar into the classpath. SEVERE:   java.lang.NoClassDefFoundError: javax/persistence/spi

Updating Entities

thought it was a problem in my code for how I loaded the content into the table, but then I tried checking ... done to paygradeDB cascade into employeeDB? DragonRulerX Jared Hinze Please try to demonstrate the issue

Attempt to refresh a non managed entity object (error 635)

Just ran into a problem that I've not seen in 10 years of running ObjectDb: java.lang.IllegalArgumentException Attempt to refresh a non managed entity object (error 635) Nothing changed in my code ... on my own a bit more. Am thinking it's time to really dig into the configuration parameters

using DbUnit with ObjectDb

/ unmarshall those files into lists of entities for writing to database may be more ObjectDB / JPA centric ... that can fit into the main memory, doesn't it? Can you use it to load many GBs of data? If you load the data

Replication issue, Replayer failing due to NullPointerException.

copying the contents of $replication into the directory above it(the "data path"), this seems like a bug ... that copying the db contents into the data path would fix it as it did the same thing a while ago

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

, but why do you duplicate the primary key into an additional indexed field? Primary key fields ... typed by the user and is the primary key used to save/restore the object into /out of the database. 

DB persist operation results are not available for another Thread/EntityManager immdiately

again. And we get the expected results. Why? It is also possible to insert a Thread.sleep(1000) before

Server out of memory exceptions

. The message size going into the queue is not large - around 4k at most. Each read/write operation ... out in the attachment. If I remove the save into test2 from the reader/writer threads (so it just reads ... with a "queue" database translating into 2 physical databases (one small for queryable metadata

Issue with DISTINCT Select

and extracting the first part of each tuple element and putting it into my own list.. Isn't there any ... 99" string eventhough if you look into the first column-profile-lastName it is definitely different ... or would be better posted into the forum? quasado Alexander Adam

ODB-FileWriter holds unecessary entity reference after transaction and entity manager are closed

then our application gets into trouble. So we need a solution for this serious issue. We would like ... how can we make sure that memory is freed (without splitting the reading transaction into arbitrary

Memory leak in com.objectdb.o.CST

.  I wonder if you would be able to give me a pointer into what I might have done wrong to cause ... script. After I set it back to 4g I was no longer seeing these issues.  If I run into issues

Inverse OneToMany Mapping and EmbeddedId

= "id.ab") into @EmbeddedId fails!  *   *         question ... : Generics like was gone after paste java code into Reply-editor and subsequent editing. Original

java.lang.ClassCastException: com.objectdb.o.SCU cannot be cast to com.objectdb.o.PRU

There is a corruption into index when I tried to obtain an object that non exist into database

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

Support I don't have much time at the moment and simplifying a complex codebase into a simple test case ... ) with instructions how to run it and reproduce the exception, isolating the problem into a small test case

Best practise loading big data

. If all of them potentially hold this amount of memory then our application gets into trouble. So we need ... (without splitting the reading transaction into arbitrary chunks) or - if ObjectDB should be improved to handle

Blocked by find

which made it into the wrapper looks like: Name: uatsrtlonw342-WSAgent-1-New/4 State: BLOCKED on com.objectdb.o.LKM ... difficult to change. felixobjectdb Richard Szurgot Looking further into the performance of the load

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

". They are initialized and stored into the database, and on retrieval the JPA provider is obliged ... , the persistence provider has to take steps to convert the results into managed entities" Note it does not say

missing merger

and ObjectNode class was involved. The problematic object gets a new Action object linked into the actions ... except the expected broken references. The problematic object gets a new Action object linked into

Another NPE on em.createQuery(query).getResultList()

for you. You can also import the project into your IDE workspace (for eclipse, you could run mvn eclipse:eclipse to generate ... objectdb.jar into your local repository). kaosko Kalle Korhonen It seems as a bug in using non enhanced