About schema

manual

Database Schema Evolution

Explains how ObjectDB handles automatically schema changes.... do not change their persistent field definitions (their schema) are transparent to ObjectDB. This includes adding, removing and ... New entity objects have to be stored in the new class schema, and old entity objects, which were stored previously in the old class ...

 
manual

Schema Update

Explains how to handle JPA/JDO database schema evolution in ObjectDB. The <schema> configuration element supports renaming packages, classes and ... in the IDE during source code 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 ...

 
manual

Chapter 2 - JPA Entity Classes

Explains how to define and use JPA entity classes and other JPA persistable types.... Generated Values Index Definition Database Schema Evolution JPA Persistence Unit ...

 
forum_thread

Schema update: package, class and field

Hello, how can it be specified in the schema, that an entity is moved to another package? Package Structure (version 1) com |- btc |- impl |- Class1.java |- internal |- Class2.java |- Class3.java Now I want to move Class2   from com.btc.internal to com.btc.impl ... Hello, how can it be specified in the schema, that an entity is moved to another package? Package Structure ... java How should that be specified in the schema?   I found in the manual only how a whole packet ...

 
forum_thread

Complex Schema Upgrade not working

Hello, We're trying to upgrade the DB-Schema. Simplied our source/original Schema/Class-Hierarchy looked like this: class contact.Contact class customer.Customer extends contact.Contact class member.Member extends customer.Customer We have database records within each class type (Contact, Customer and Member). ... Hello, We're trying to upgrade the DB-Schema. Simplied our source/original Schema/Class-Hierarchy looked like this: class contact. Contact ...

 
forum_thread

Automatic schema evolution causes ArrayOutOfBoundsException

Hi, I did 2 modification to our schema. Our schema looks like this: class Entity     - List<String> permissions class ServiceProvider extends Entity     - String name class Airline extends Entity     - String name     - String iata ... Hi, I did 2 modification to our schema. Our schema looked like this: class Entity - ...

 
forum_thread

Compare old and new schema

Hello, I have an old database file with important data. Over time, I have modified some of the entity classes but did not keep track of the changes. Some fields may have been renamed or removed, some classes may have been renamed or changed package. Is there a way for me to check what "format" the entity classes have in the old database file and compare that with the new classes definitions?   Thanks, farid ... Currently there is no automatic tool to compare the old schema to the new one. However, you can open the old database in the ... and view the content of the old database with the old schema. ObjectDB Support ObjectDB - Fast Object ...

 
forum_thread

Understanding limitations of schema evolution

Hi, I am trying to understand the limitations of schema evolution and have read the material on http://www.objectdb.com/java/jpa/entity/schema as well as the link therein regarding manual schema update when changing a field’s name Yet, i am confused regarding how to handle the case where one re-factors a class by moving one if it's Fields to a different class. Is this case managable? Thanks... Hi, I am trying to understand the limitations of schema evolution and have read the material on http://www.objectdb.com/java/jpa/entity/schema as well as the link therein regarding manual schema update when changing a field’s name Yet, i am confused regarding how ...

 
forum_thread

Schema migration - long to String

Hi, I need to change field type in our model from long to String. After changing filed type in our model and repairing database with doctor, most of our entities is gone. Doctor puts some errors on console: ... not require any specific action. Actually such schema changes are not related to the Doctor, and usually you don't have to run the Doctor after the schema change (you may need to run the Doctor if the field is indexed). Every ...

 
forum_thread

schema update procedure

Is there a specific procedure that we should follow when making schema updates? ... a specific procedure that we should follow when making schema updates? I have often found that it takes several restarts of ... The requirement to restart the server after schema change is known and documented . The need for more than one ...