Internal Website 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

Updating JPA Entity Objects

persistence, which means that changes are detected and handled automatically. Transparent Update ... yet are also persisted. Automatic Change Tracking As shown above, an update is achieved by modifying a managed ... the update. Therefore, to be able to apply database updates on commit, ObjectDB must detect changes

Setting and Tuning of JPA Queries

on which they were invoked). Flush Mode (setFlushMode) Changes made to a database using an EntityManager em can be visible ... of other EntityManager instances). JPA implementations can easily make uncommitted changes visible in simple JPA ... is executed, uncommitted database changes (if any) have to be flushed to the database in order

Database Explorer

. Saving Changes The Explorer manages an active transaction for every open database file ... the transaction (applying all the changes to the database). The File Discard Changes menu command rolls back the transaction (discarding all the changes ). After File Save and File Discard Changes

Database Schema Evolution

Modifications to entity classes that do not change their persistent field definitions ... after a schema change . Automatic Schema Evolution ObjectDB implements an automatic schema evolution mechanism that enables transparent use of old entity objects after schema change . When an entity object

Schema Update

refactoring. Only these schema changes are specified in the configuration file. As explained in chapter 2 , other schema changes are handled by ObjectDB automatically. Note: Extreme caution is required ... your database files before renaming or moving persistable classes and you must verify that after such changes

JPA Entity Fields

Hibernate) or to change default field settings. For example: @Entity public class EntityWithFieldSettings ... above demonstrates using field and relationship annotations to change the default behavior. null values ... , the side that stores the data (the Employee class in our example) is the owner. Only changes

Retrieving JPA Entity Objects

. The retrieval of objects does not require an active transaction because it does not change the content ... that it references through its collection and map fields are not retrieved with it. This can be changed by ... (including changes , if any) and replaced by data that is retrieved from the database. This might be useful

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

Working with JPA Entity Objects

Entities section. If a managed entity object is modified within an active transaction the change ... commit. See the Updating Entities section for more information about making changes to entities ... the EntityManager’s remove method within an active transaction. The entity object changes its state from

Shared (L2) Entity Cache

provides two properties that can be used in order to change the default behavior. javax.persistence ... used. The default setting is USE . It can be changed for a specific EntityManager : em. setProperty ... is USE . It can be changed for a specific EntityManager : em. setProperty ("javax.persistence.cache

ObjectDB Object Database Features

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

DELETE Queries in JPA/JPQL

 by a cascading operation. Applying changes to the database by calling the commit method. JPQL ... within an active transaction and the changes are visible to other users (who use other EntityManager instances

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

;within an active transaction. Applying changes to the database by calling the commit method. JPQL UPDATE queries ... transaction and the changes are visible to other users (who use other EntityManager instances

SELECT clause (JPQL / Criteria API)

that are retrieved directly by a result path expression are not associated with an EntityManager and changes

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 Entity Objects

is New. An explicit call to persist associates the object with an owner EntityManager em and changes

Detached Entity Objects

that have been loaded before detachment should be used. Changes to detached entity objects are not stored in

Strings in JPQL and Criteria Queries

and UPPER - Changing String Case The LOWER(str) and UPPER(str) functions return a string

JPA Persistable Types

their names. In that case, the names must be fixed, since changing a name can cause data loss in

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.

Query Parameters in JPA

as is. Instead of a simple country name, a malicious user may provide JPQL expressions that change

Chapter 6 - Configuration

changes the value of $objectdb . For example, in a web application, in which objectdb.jar is located in

Online Backup

operations (e.g. changing the thread priority) will have no real effect in client-server mode.

GROUP BY and HAVING clauses

only when a GROUP BY clause exists. The following query uses HAVING to change the previous query in a way

General Settings and Logging

of the subsystem loggers are currently undocumented and can change at any time without notice

ObjectDB Website - Terms and Conditions of Use

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

[ODB1] Chapter 9 - ObjectDB Explorer

automatically. You can change this behavior in "Tools | Options | General". Opening a Remote Database ... on the target element opens the browser window by default (you can change the default to a table window in ... in chapter 4 ) must be available, otherwise the load operation will fail. A change to the class

[ODB1] Chapter 6 - Persistent Objects

. This behavior can be changed as explained in section 4.3 Embedded objects can reduce storage space ... is only updated if it has changed since the last store. An object name must be unique in the database. The bind ... an object from the database. If the object was modified since it was previously loaded, and the changes

[ODB1] Chapter 3 - Persistent Classes

when a persistent field is modified during a transaction because the change must be applied to the database ... that perform the same accesses but also report to ObjectDB. Tracking changes in persistent arrays (in ... to be stored in the database during transaction commit. A possible action is to apply last minute changes

[ODB1] Chapter 4 - JDO Metadata

is adequate. Metadata for fields is required only for changing the default. Therefore, only fields ... attribute makes it possible to change the default. Specifying a persistent value, as demonstrated by field f0 , changes a field that is transient by default to persistent. For example, a field

[ODB1] Chapter 5 - JDO Connections

should be specified in order to change the default. In addition, the PersistenceManagerFactory class includes ... of the changes are applied to the database is not acceptable. Before commit() starts writing to the database it stores the changes in a related temporary file in the same directory as the database file

[ODB1] Chapter 8 - ObjectDB Server

are the same in both modes, switching between these two modes can be done very easily by simply changing ... how often (in seconds) the server checks the configuration file for changes . For instance, a value of 30 (as specified above) indicates a check every 30 seconds. If a change is found, the new

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

[ODB1] Chapter 2 - A Quick Tour

whether the Extent should also represent instances of subclasses ( changing false to true has no effect ... the transaction with rollback() discards all the changes done during its activity (line 52). Lines 58-61

[ODB1] Chapter 1 - About ObjectDB

. Moving from one mode to the other can be done simply by changing a single string (the connection