ObjectDB Database Search
151-200 of 200 resultsObject DB vs EclipseLink/TopLink: Unloaded relationships in detached entities ObjectDB support, while the entities in a result set list from a JPQ query are initially managed ... of the container, and then in ObjectDB (but not in EclipseLink) lazy loading fails. The 3 possible solutions in the ObjectDB case seem to be: 1. Use explicit FetchType.EAGER on all desired collections | |
in-memory and on-disk support? looking at replacing a setup of H2 where I have 40GB in -memory backed by 800GB on-disk, the 40GB in ... , the records at the end continuously purge as the new ones come in (duplicate write, one to in -memory and one to on-disk). Does ObjectDB offer a similar in -memory/on-disk option? I noticed the embedded and TCP | |
Corrupted Database or error in ObjectDBExplorer?). Can you analyze the problem and tell us if its a problem of the explorer or a real problem in ... .RequirementBasedTestCaseImpl (its the 9th entity) If we execute queries in the explorer we observed ... The data in this database is probably fine, but apparently the Explorer is missing a recent schema change | |
What role is the JDO in ObjectDB? Mike Keith believe the JDO is out of date. Then what role of JDO in ObjectDB? Will our codes with JDO be out of date? Due in part to some of the failures of the EJB persistence model, and some ... and consuming them. JDO also had a query language that was decidedly object-oriented in nature, which did | |
Configuration and Activation Code in ObjectDB 2.x for activating the odbee.jar file and got the activation code.It is mentioned in the side that i need to use the activation code using tag in the objectdb.conf file. In 1.x objectDB, we are not using any objectDB ... Information about the ObjectDB 2.x configuration file is provided in chapter 6 of the ObjectDB | |
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 ... ://localhost:6136/technolink.odb;user=admin;password=admin exception in the Karaf log. I have deployed | |
Vacuum - Reclaiming Unused Space In Odb. Our odb files are about 50Gb in size and are written to about a million times a day with both adds and updates. This is creating a lot of unused space in the database that we are wanting ... file (basically a sql dump) and reload. Is there a capability in ObjectDb to provide a vacuum | |
Inserted entities with strings as keys and indices needs more and more ram memory in comparing to primitive integers as keys and indices keys are sequential and therefore they are stored in sequence pages in the database. New objects with UID primary keys may have to be stored distributed in the entire database file, so a similar transaction may require searching positions in the database and processing much more database pages | |
How to open a running db in ObjectDB Explorer? Hi! I've just discovered that I can't see the content of a database while it's in use. Is there any way in which I could do that? It's not nice at all to close the application, copy the db in ... of the data, not the live information. * I forgot to mention that the db is used in embedded mode | |
lockfiles in client/server mode the client is attempting to create lockfiles in /tmp/ObjectDB. my account and the tomcat account ... is defined in src/main/webapp/META-INF/persistence.xml with a jdbc URL that looks to me as though it ought to connect to the server rather than attempt to start in embedded mode. i have also tried | |
Externalising persistence.xml properties in Glassfish? for your time! Willks William Hello, Why dont you create multiple presistance units in ... to pick them up if you give the place holder. I know I have tried this in the application.xml   ... . in your persistance.xml use placeholders for the data you want. In this example I have the place | |
composite index not used in query only results that satisfy: (a.startDate:1). [Step 1c] Retrieve fields in Action (a) instances. [Step 1d ... over all the instances (a1) in a.objectsInCharge. [Step 2b] Retrieve fields in ObjectNode (a1) instances ... above) ------------------------------------------ [Step 3a] Iterate over all the instances (v$1) in a1.childNodes | |
Wrong data stored in time only fields This may be related to the fix for the problem described in this thread: Wrong data stored in date only fields . The object and its date and time fields are the same as in the referenced thread ... and in 100K records it will show up in about 1.5K records with no obvious pattern. Also it appears | |
Setting temp directory location in ObjectDB.class.getClassLoader()); I read in the ObjectDB website that we can change the temp directory using ... the fileName.odb. When pm.currentTransaction().begin(); hits it creates a .$fileName.obd$ file in the same ... so that $fileName.obd$ will be created in some different folder. Please let me know the solution. Thanks | |
Best practice: Database update/migration of embedded databases in products: There are three versions of a product (v1.0; v1.1, v2.0). In each version, the entities have been modified ... is now held otherwise. The product store user data in the ObjectDB-Database. Example: V1.0: EntityPerson ... =”26135”; city=”Oldenburg”] How can we load the Database DB1 with the Product in Version 1.1 or 2.0 | |
Is 2 level cache in use? Hi, Is there any way to check, if 2 level cache is in use? Right now I've done two things: 1. objectdb.conf with cache size is placed in WEB-INF directory of my web application. 2. persistence.xml was modified with: But after few benchmarks I don't really see any difference in performance. ODB | |
Strange behaviour with ORDER BY and IN it should be (and usually is, except in this special combination-case). Ordering seems to be ignored ... on this member with a simple IN -clause. Filtering with IN -clause or ordering on another member (which is not ... ("Locations without selection criterion in descending order (by id): ");   | |
Path in tomcat Hi, If I put the .jar into /opt/Tomcat/lib/, then where the .conf should be in ? And the .odb ... /, then where the .conf should be in ? And the .odb? See explanations about ObjectDB home and configuration path in the manual . Notice that the database file can be at any absolute path that you specify | |
ObjectDB throws `NullPointerException` in internal code (`com.objectdb.o.ENH.b`) the full stack trace. support Support Hi, the upload feature is not working, tried in chrome and firefox ... clear. There have been similar reports in the past, but more details are needed to identify the exact cause in this case. Have you changed your entity classes recently? Assuming this issue is related | |
unable to update table in slave server database Hi, We are facing below issue in objectdb clustering. Currently in objectdb clustering when master server is down , in slave server during update operation in table getting below issues. Failed to commit transaction: Attempt to commit a transaction in read only mode[ObjectDB 2.8.2] javax | |
Class loading problem with private packages in OSGi environment everything well. But now we have in the Business Layer private packages that are not exported. The entities implement ... so that we do not need to make changes. Important for us is that we find a solution that always works in ... loads all the interfaces in order to support persistent interfaces, a feature of JDO that is not | |
removing members in existing databases Hi team i might ask for the best practice to remove some members (i.e. collections) in existing ... and let it remain in database 2. Remove the list and 2.a update every object that contains ... of time if you have a lot of objects in your db 2.b when testing it works fine for me in | |
Level 2 cache not hit in @ManyToOne. Level 2 JPA cache is activated and it works ok for find by id (tested by changing data in explorer and reading in my app). Problem 1: find by id on Item it's good, it hits the cache, but not for its field "user". "user" is loaded each time from the DB (tested by changing data in explorer and reading in | |
Project runs in Eclipse but not when exported to runnable jar done relating to objectdb. javax.persistence_2.0.3.v201010191057.jar and objectdb.jar are included in the build path, and are present in the compiled file, as is the test GliderCalcs.odb file created by ... , this is a hobby project, please excuse any travesties in my code. Many thanks in advance, Mark merichards Mark | |
Visibility of changes in Transaction is not visible to a JPA QL Query, and the persistence.xml is located where it is used in the EJB project ( this was the only way I ... .6b24 on Windows Server 2008 SP2 32bit. I have not added any objectdb jars in any other location apart from the EAR JFK John Francis Please check if this is due to the default flush mode . In | |
Object DB In memory : without Filestore completely in Memory ? (without any writes to Disk, it's okay to loose the data if the node is down ). I ... the Object DB completely in memory without disk storage. thanks, Sandeep Sandeep Sandeep Dhamale At the moment, ObjectDB doesn't support pure in memory mode, but it still can be used completely in | |
Empty temporary dat files in the temp folder Hello, We have questions regarding the pagesX.dat files in the temp directory. We detected ... , begin a transaction, do some stuff (find, persist, remove …) and then commit or in the case of errors rollback the transaction and closing the EntityManager. In some scenarios we use additional | |
disabling JDO in objectdb embedded mode Hi, i am using objectdb (version 2.6.8) in embedded mode. I deployed an .ear project in glassfish ... if you have conflicting jars, maybe of another JDO implementation in your web application or class path. support ... . The trace in #1 is the best I can show to explain the problem. (I can also add a log file if you like | |
How to package orm.xml when using EJB in WAR? Hi, I have database utility classes in one project, the id's use sequences declared in an orm.xml ... ; both persistence.xml and orm.xml are located in src/main/resources/META-INF ... for other persistence providers, e.g. EclipseLink, which can pick up the orm.xml from the jar file embedded in the war | |
Failing in embedded mode, correct javax.persistance? I'm trying to run the tutorial example as given in the tutorial on ObjectDB's net pages. I ... " and where it should be stored, contents etc. Since I am running the program in embedded mode, this file should not be necessary ... "); EntityManager em = emf.createEntityManager(); …. the code continues as in the tutorial… (I | |
Items in list are doubled, when the entity class is not enhanced, 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 ... bugs? Thank you Michael anaq x Your program ( in #1) demonstrates a very strange behavior | |
Should I be able to persist a JFrame (or gui components in general)? and end result was working persistence as seen in explorer. But (mostly for those who might encounter ... with LINQ/C#. I can see how LINQ tries to solve the problem by preserving the status quo, in ... the database, and I like this a lot so far. However, in writing the Contact class, I realized I | |
Entity Management Settings-dirty entities in the persistence context of the EntityManager , which serves as a first-level cache ... references in the persistence context (until commit or flush ), regardless of this setting. The level2 ... of the element specifies whether to automatically track modifications to array cells in enhanced classes | |
Chapter 1 - Quick Tour. The example program in this chapter manages a simple database that contains points in the plane. Each point ... this chapter in your IDE, see one of the following tutorials: These tutorials provide step-by-step instructions on how to start using JPA in your IDE with the ObjectDB object database. Because ObjectDB | |
Schema-Update: Deactivation of automatic entity class removing and introduction of a new class remove in the schema config Hello, in our application we use ObjectDB in embedded mode as part of the Profile ... design. The product can be installed in different configurations ( in other words with more or ... of entites which are not found in the class path. With this background it would be very helpful | |
Tracking changes to new collections (in enhancement mode) after flush Hello, We have an issue with a list as a value in a hashmap. Within one transaction a new key ... operations being performed in between. Once the transaction is committed, the issue is that the last element in the list is not persisted and cannot be retrieved in another transaction. The last element | |
boolean field flips after schema update (in class) of another field on several instances the values of other boolean fields in the same class (next to the new one) flip or ... anything) and values in the database changed. We did not have this in our testing and stating environment, but now in field. Object DB version was upgraded maybe two times in the last months in | |
Removed entities can be found by query in the same transaction and flushed. The bug was introduced with ObjectDB Version 2.7.4_04, therefore in the moment we are using 2.7.4_03. Unfortunately it is difficult to create an example, because the error only occurs in ... . Apparently the query was directed to the wrong snapshot. Are you sure that this bug exists in 2.7.4 | |
Enum fields are set to null and embeddable enum class does not show in explorer in the related objects is set to null. This is highly critical because it will cause data loss! The enum type is also not listed in the explorer. I am talking about an enum class, which implements ... Petzold This has effect, when something in the explorer is edited and saved (with missing | |
Memory leak in com.objectdb.o.CST where there are over 3gigs allocated in thousands of com.objectdb.o.CST instances as shown in screenshot ... you have mistaken shallow heap size as instances. It is only 1 instance of EMF as seen in the better view I uploaded in this reply. So the question remains. What could these 132 instances | |
new objects not available in mappedBy associations; creating a new mapped class, e.g. new Employee, won't result in this object being available in ... This seems to be the normal behavior - according to JPA the application has to update both sides in order to have a synchronized bi-directional relationship. In practice, however, the mapped side will be updated | |
java 8 LocalDateTime is not working in query able to query without datetime field in where clause, but with datetime in where clause doesn't ... compatibility card here, it is not quite working: In JPA you can use the @Convert annotation in order ... . If you can provide a small single top level class example ( in this form ), which shows | |
Error reading UTF string (Serialized Objects in Explorer). support Support hmm weird.. ok here it goes again quasado Alexander Adam There is a problem in ... of this type in the explorer (by right clicking the type in the Schema tab and selecting Open Tree ... . It seems that there is a problem in reading the pricing field, whose type is serializable ( Money | |
Exception in thread "main" java.lang.NoSuchFieldError: __odbTracker filed is initialised i got an exception Exception in thread "main" java.lang.NoSuchFieldError ... which is referenced in generated method: __odbSet_Connections br Tomasz Tomasz ... at the top level entity / persistence capable class). In addition, you should enhance | |
ClassCastException in Tuple.get check before the cast and throw more meaningful exception in such case? If you are interested ... that are not a Path - am I right? hobson Maciek Chabros Just to let you know, in most places I managed ... than ClassCastException, and mentioning the limitation in docs. Cheers! hobson Maciek Chabros It would help | |
InternalException when using MEMBER OF on a large list in a query in repair mode (even if no errors are found by the Doctor). You may also disable an optimization ... with the Doctor. - no Problem. I reproduced the exception by execute the Query in the explorer. Also with the outcome of the Doctor in repair mode. But after many experiments I found out that the Query works | |
Step 5: Add a JSP Page In this step we will add the JSP that generates the guestbook HTML output: Open the [New JSP File] dialog box by right clicking WEB-INF under src/main/webapp ( in the [Package Explorer] window ... the request's guestDao attribute that is set by the controller in the previous step | |
JPA Web App Tutorial - IntelliJ Project To open and run the JPA Web Application tutorial project in IntelliJ IDEA: Download and extract the project zip file: JPA Web App - Maven Project (6KB) Open the project in IntelliJ IDEA ... and select Tomcat Server Local . Enter a name (e.g. Guestbook ) at the top of the dialog box. In | |
Step 5: Add a JSP Page In this step we will add the JSP that generates the guestbook page output: Open the [New JSP File] dialog box by right clicking the WebContent node ( in the [Package Explorer] window), selecting ... " attribute that is set by the servlet in the previous step). The next step (and the last one in this tutorial) is running the web application . | |
Java EE 6 JPA Tutorial - IntelliJ Project To open and run the Java EE 6 Web Application tutorial project in IntelliJ IDEA ... the project in IntelliJ IDEA: Select File Open Project... . Select the guestbook-jee6 ... . Enter a name (e.g. Guestbook ) at the top of the dialog box. In the Deployment tab select  |