ObjectDB Database Search

1-50 of 200 results

ObjectDB Change Log

Change Log of ObjectDB Releases

Request clarification of changes to accessor enhancement policy (non-getter prefix instead of getter suffix) AND annotations

In response to the forum posting http://www.objectdb.com/database/forum/994 changes ... that this change massively tripped me up (because I was using the old hidden getter/setter pattern with reflection ... Enhancer hidden methods to non property method names. This change is a huge GOTCHA

Remove an entity which attributes were changed - OptimisticLockException

and the entity is passed to plugin B. Plugin B changes an attribute on the entity. Plugin C removes ... , it works well. Why the ObjectDB want to commit the changes of the entity although the entity ... and changes it. User 2 retrieves an object, removes it and commit. This should work if the changes

Schema Update: class hierarchy change

Hello, we try to change the class hierarchy of an Entity. You wrote www.objectdb.com/database ... hierarchy change .   But our small test failed: At first create a DataBase with one Object ... ; @Basic   String value; } } Then we change the class hierarchy of MyEntity from NamedEntity

Primary key generation problem after changing entity package

Hi, I changed package name for some of my entities in database. I added info in of my configuration file - and the changes have been succesfully made in database. Unfortunately, sequences have been probably lost for changed entity classes. After schema change I keep getting errors : Attempt

Date field Index is corrupted due to time change

change during the life of the system as it is large enough to contain all objects we ever want ... of October at 3am. We think this is significant as this is exactly the time when Madrid changed clocks ... to us to know if time change , in particular back one hour, may have impact on the operation of Object

PostUpdate on array changes

Given this config: I'm not  getting PostUpdate changes when a string is added to a list of strings. All other property changes fire events just fine. thoughts?     dmoshal David ... is whether it is possible to track changes to lists of primitives? dmoshal David Moshal Hmm, digging into

World database - Changing country ID

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. However Country#ez is still displayed in the top. When I save the changes and close and open

Relationships and tracking changes

this: public class Pojo { private transient boolean changed =false; public boolean isChanged(){ return changed ; } public void setChanged(boolean changed ){ this. changed = changed ; } ...as you can see, I tried to manage changes inside of the tables by the hand. So let's say: if I call a set-method of my POJO

Change path for urls2.xml file

the program still creates objectdb/urls2.xml in my system user folder. Is there a setting to change ... directory (regardless of the ObjectDB home path). You can change the user home directory by changing a Java system property:      https://stackoverflow.com/questions/1501235/ change -user-home

Changing existing objects from Entity to Embedded

try I changed only the metadata to this:               ... got stored in DB. However since this change I can not open the DB file in Explorer. I ... :82)   I thought that simply changing JDO metadata is not sufficient. Should it be sufficient

Activation error on Schema change

; @OrderBy , and actually any change to your schema may cause a similar exception. Please verify ... . Even when objectdb.conf with old license key where copied to new version directory. No schema change ... addition, as reported in another forum thread , changing network may also require reactivation. support

Database corrupted after schema change

{ ... } After this change the app starts, it only reads the objects, no writing happens ... did not help. We tried to open a DB with already corrupted data (by the schema change , without fixing ... to update the ObjectDB to 2.8.5 and run our app with schema change on the DB which was not corrupted

Page size - changing after database creation

Hi, I was wondering, is it safe to change page size after database is created and filled with data ... , so it should be fine to change it (after a backup, to be on the safe side), but you will have to create a new database file, e.g. by running the Doctor in fix mode, for this setting change to take effect. The optimal

Updating JPA Entities

detects and handles changes . Transparent update After an entity is retrieved from the database ... that are not yet managed are also persisted. Automatic change tracking As shown previously, you update ... detect changes to managed entities. One detection method is to save a snapshot of each managed object

Setting and Tuning of JPA Queries

on which they were invoked. Flush mode (setFlushMode) Changes made to a database by using an EntityManager ... . However, these changes are not visible to users of other EntityManager instances. JPA implementations can easily make uncommitted changes visible for simple operations, such as find . However, query

Database Explorer

have to be an entity. To remove elements from a collection, use the Edit Delete command. To change the order of elements in an ordered collection, use the Edit Move Element commands. Saving changes The Explorer ... are part of the active transaction. The File Save command commits the transaction, applying all changes to the database

Database Schema Evolution

Modifications to entity classes that do not change their persistent field definitions ... : In client-server mode, the ObjectDB server must be restarted after a schema change . Automatic ... use of old entities after a schema change . When an entity with an old schema is loaded into memory

JPA Entity Fields

, such as Hibernate, or for changing default field settings. For example: @Entity public class ... declaration demonstrates how to use field and relationship annotations to change the default behavior ... , the side that stores the data (the Employee class in this example) is the owner. Only changes

Schema Update

refactoring. You specify only these schema changes in the configuration file. As explained in Chapter 2 , ObjectDB handles other schema changes automatically. Note: Use extreme caution ... these changes , the application runs only with a configuration that matches them exactly. The default

Retrieving JPA Entities

objects does not require an active transaction because it does not change the database content ... that it references through its collection and map fields are not retrieved with it. You can change ... changes , is discarded and replaced with data retrieved from the database. This can be useful to ensure

Privacy Policy

or practices of any third party sites or services. Changes to this Privacy Policy We may update Our Privacy Policy from time to time. We will notify You of any changes by posting the new Privacy Policy on this page. You are advised to review this Privacy Policy periodically for any changes . Changes

Managing JPA Entities

within an active transaction, the owning EntityManager detects the change and propagates the update ... about making changes to entities. A managed entity can be marked for deletion by using the EntityManager 's remove method within an active transaction. The entity's state changes from Managed

JPA Shared (L2) Entity Cache

. JPA provides two properties that you can use to change the default behavior. jakarta.persistence ... . The default setting is USE . You can change it for a specific EntityManager : em. setProperty ( "jakarta ... , which refreshes entities that are already cached. The default setting is USE . You can change

ObjectDB Object Database Features

other managed objects. Transparent update - changes are detected automatically. Code enhancement is optional ... versioning. Class hierarchy changes are handled automatically. New added fields are handled automatically. Removed fields are handled automatically. Most field type changes are handled automatically

DELETE Queries in JPA/JPQL

operation. Apply changes to the database by calling the commit method. JPQL DELETE queries provide ... within an active transaction. The changes become visible to other users (who use other EntityManager

Eclipse Public License - v 1.0

Contributor: i) changes to the Program, and ii) additions to the Program; where such changes and/or

UPDATE SET Queries in JPA/JPQL

. Apply the changes to the database by calling the commit method. JPQL UPDATE queries provide ... database modification, you must execute UPDATE queries within an active transaction. The changes

JPA Listeners & Callbacks Annotations

when modifying existing entities and flushing changes to the database: Executes before the database update operation. This is typically used to update "last modified" timestamps or validate state changes

SELECT clause (JPQL / Criteria API)

are not associated with an EntityManager , and changes to them during an active transaction are not

Apache License, Version 2.0, January 2004

; and You must cause any modified files to carry prominent notices stating that You changed the files

Storing JPA Entities

, and changes its state to Managed. The new entity is stored in the database when the transaction

Detached JPA Entities

that were loaded before the object was detached. Changes to detached entities are not persisted

Strings in JPQL and Criteria Queries

and UPPER - changing string case The LOWER(str) and UPPER(str) functions return a string that is converted

JPA Persistable Types

can be represented internally by their names. In that case, the names must not be changed , because renaming

ObjectDB License

to change the terms and conditions, the products, services, prices, and programs mentioned in this site at any time, at its sole discretion.

Literals in JPQL and Criteria Queries

(that is, without the package name), but you can change it by specifying a different name in the name element

JPA Runtime Tuning & Configuration

when the persistence context is synchronized with the database and when in-memory entity changes are written

Chapter 6 - Configuration

subdirectory. However, moving objectdb.jar changes the value of $objectdb . For example, in a web application

Online Backup

thread on the server. Therefore, some thread operations, such as changing the thread priority, have no effect.

General Settings and Logging

and can change at any time without notice. The supported logging levels are: fatal error warning info trace debug

ObjectDB Website - Terms and Conditions of Use

changes to the materials contained on its web site at any time without notice. ObjectDB Software does

jakarta.persistence.EntityManager

, detaching all its entities, by calling clear . The client may also make changes to the state of an entity ... () Clear the persistence context, causing all managed entities to become detached. Changes ... a native SQL query. In the next release of this API, the return type of this method will change

Tracking changes to new collections (in enhancement mode) after flush

BTC EmbeddedSystems It seems like a failure in automatic tracking of changes in enhanced classes ... saved content, so changes are detected. Enhancement mode is optimized to skip this comparison, relying on automatic invocation of change events, including in embedded collections. We should check

Step 7: Run the Spring Web App

/. This Spring web application can also run with GlassFish 3.0.1, with a small change in the 

Step 6: Design a BIRT Report Table

the properties table to complete the table design (e.g. change the background color). You may click Preview

Step 6: Run the Java EE 6 Application

You can run the application now by right clicking the  GuestServlet node (in the [Projects] window), selecting  Run File , and then clicking  OK (no need to change the servlet execution URI). Since we are using ObjectDB in embedded mode - the database file is created

Step 6: Run the Web Application

You can run the application now by right clicking the GuestServlet node (in the [Projects] window), selecting Run File , and then clicking  OK (no need to change the servlet execution URI). Since we are using ObjectDB in embedded mode - the database file is created under the Tomcat directory

Spring MVC JPA Tutorial - NetBeans Project

Tomcat as a server and click  OK . Note: To run the application on GlassFish - change

Step 7: Run the Spring Web App

/Guestbook/. This tutorial should also run with GlassFish 3.0.1, with a small change in