ObjectDB Database Search
1-50 of 175 resultsDatabase Schema Evolution
(their schema ) are transparent to ObjectDB. This includes adding, removing, or modifying constructors, methods ... to the persistent fields of an entity class. New entities must be stored using the new class schema , and old entities, which were stored using the old class schema , must be converted to the new schema . Note
|
|
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 ... classes that have been renamed or moved in the IDE without a matching schema configuration, ObjectDB
|
|
jakarta.persistence.TableGenerator.schema
Jakarta Persistence (JPA) Method in jakarta.persistence.TableGenerator String schema (Optional) The schema of the table. Defaults to the default schema for user. Default: "" Since: Jakarta Persistence (JPA) 1.0
|
|
jakarta.persistence.Table.schema
Jakarta Persistence (JPA) Method in jakarta.persistence.Table String schema (Optional) The schema of the table. Defaults to the default schema for user. Default: "" Since: Jakarta Persistence (JPA) 1.0
|
|
Schema Evolution Question
after a schema change. " It is unclear whether the client application with the upgraded schema ... is down and then have the client with the upgraded schema connect. That is to say, is it valid ... schema . Stop ObjectDB server. Start ObjectDB server. Start new client application with the new
|
|
How to enable and disable auto schema update?
Hello, Can I enable and disable the auto schema update? In some cases if multiple applications ... : Instate of updating the schema with old library db should throw some error and data should not corrupt ... that you can use: To disable any schema upgrade: System.setProperty("objectdb.temp.no- schema
|
|
Complex Schema Upgrade not working
Hello, We're trying to upgrade the DB- Schema . Simplied our source/original Schema /Class-Hierarchy ... added the schema upgrade to the objectdb.conf: Only renaming packages worked well but when trying to make a schema upgrade with the classes results
|
|
Compare old and new schema
? Thanks, farid oudjanef Farid Oudjane Currently there is no automatic tool to compare the old schema ... the classpath) and view the content of the old database with the old schema . support Support Thanks ... and an automatic comparison of old schema vs new schema is the only reliable way of making sure database
|
|
Schema update: package, class and field
Hello, how can it be specified in the schema , that an entity is moved to another package? Package ... .java |- Class2.java |- internal |- Class3.java How should that be specified in the schema ? I ... There should not be a difference between entity and embeddable classes regarding schema changes. Maybe
|
|
Automatic schema evolution causes ArrayOutOfBoundsException
Hi, I did 2 modification to our schema . Our schema looked like this: class Entity - List ... field, the schema now looks like this: class Permission (@Embedded) class Entity - List permissions ... . The objectdb doctor states "No errors have been found". Is there any other way to resolve this schema
|
|
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 ... , and you will have to write code for making this schema change. support Support Thanks for your reply
|
|
Database corrupted after schema change
;application log wrote any errors, so it looks to me that it is some failing schema evolution. When I tried ... _05 it might be the critical schema bug ( issue #2621 ) that was fixed in version 2.8.4. Please try ... did not help. We tried to open a DB with already corrupted data (by the schema change, without fixing
|
|
DB Explorer cannot be opened after schema package renaming of entity types
The DB Explorer cannot be opened after schema package renaming of entity types ... the database the entity types and deprecated entity types can be part of the identical package. The schema ... manually before the schema update then the database can be opened in the DB Explorer after the schema
|
|
schema update procedure
Is there a specific procedure that we should follow when making schema updates? I have often found ... The requirement to restart the server after schema change is known and documented . The need ... on the client side is to synchronize all the persistable classes by sending the up to date schema
|
|
Schema Update large refactoring
to do an automatic schema update of our database using the objectdb.conf file. The old package structure looks like ... , if it is possible to perform some sort of wildcard schema update, instead of specifying all the thousands ... , if it is possible to perform some sort of wildcard schema update Wildcards are not supported.  
|
|
Massive schema update
. My question is, Is there any way to migrate all the objects to the new schema after I wrote ... of schema update (including using the configuration element) is minimal. After an old object ... so you may choose to enforce updates of all the objects in order to avoid recurring schema conversions. support Support
|
|
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
|
|
Schema Update: class hierarchy change
Hello, we try to change the class hierarchy of an Entity. You wrote www.objectdb.com/database/forum/899 that ObjectDB support automatic schema evolution for adding and removing fields and for class ... up and down in the class hierarchy as part of the automatic schema evolution. You can also move the name
|
|
Is there a way to extract the schema from an existing Database?
Hi ObjectDB, Is there a way to extract the schema from an existing Database? i.e. without using my class files Thanks EKK EKK Emmanuel Keskes The schema is available for viewing in the Explorer. You may use the JPA Metamodel API to extract it using your own code. support Support
|
|
How does objectdb deal with conflicting schemas?
Suppose we have an objectdb network server with multiple clients connecting to it. Some clients have the latest object schema , matching that of the server. But some have an older schema , not using fields that have since been added. Will this work? FastModel Ben Schreiber This is strictly forbidden. You must have the same version of classes everywhere. support Support
|
|
Indexes broken after schema update.
Anyone else noticed this? I updated an entity Object with some new fields, restarted the database to pick up the new schema and now none of the indexes work, except the @Id. I can query by any field ... server before using the revised schema . It is a common operation to add persistent fields to existing
|
|
Schema-Update: Rename superclass and remove one subclass
you for this report and for the test. It demonstrates well a bug in schema evolution that includes renaming
|
|
Get database schema from objectDB file
I am a little bit confused about that Can someone explain what steps do I have to do in order to get the database schema in java given only the objectdb file? i.e. database.odb ezazop Akis Zazopoulos See the JPA Metamodel API . support Support
|
|
Schema evolution & renamed/moved enum
schema evolution is currently not supported. If you have to update a field type into a non
|
|
Schema or odb file compare
Dear Support, is there a way to compare two schemas or odb files? I try to compare two object graphs Thx wua Andreas Wurm This is currently not supported, but you may file a feature request if you need this ability (describing what exactly you expect from this new feature, and how it should work). support Support
|
|
What is the query to fetch all schema list of my database?
Can you please tell me how to fetch all schema available in my database? Deepak_1996 Deepak Kumar Maharana You can use the JPA metamodel API . support Support
|
|
Support of modifying an ObjectDB Entity class (Schema Change)
for more information! dahui58 John-Paul Anderson No need for this effort. See this manual page . Schema
|
|
Drop the entire database, Change the schema
I am trying to port and example app to ObjectDb. As part of the tests I drop the database and reload it with the new schema automatically between test cycles. Is there a simple way to do this with ObjectDb, or is the only way to delete the database file everytime? Thanks JFK John Francis
|
|
UPDATE query to set a new field after schema change
UPDATE query to set a new field after schema change
|
|
Object Relations Error after Schema Change
Object Relations Error after Schema Change
|
|
JPA Core Types
back transactions. Utilities and Caching Access metadata, manage schema , and interact with the second-level ... schema management, such as creating, dropping, or truncating schemas . Use this interface
|
|
Database Management Settings
, except for schema updates. The element The drop attribute of the element specifies a comma
|
|
Schema-Update: Deactivation of automatic entity class removing and introduction of a new class remove in the schema config
less PlugIns). This presents us with further challenges when we have made changes to DB schema for new ... application to handle all database ( schema ) changes between two versions. That this ProfileMigration ... to explicitly define the classes, in the schema config (objectdb.config), that should be deleted. In
|
|
jakarta.persistence.JoinTable
. Defaults to the default catalog. Default: "" Since: Jakarta Persistence (JPA) 1.0 String schema (Optional) The schema of the table. Defaults to the default schema for user. Default: "" Since: Jakarta
|
|
jakarta.persistence.CollectionTable
(JPA) 1.0 String schema (Optional) The schema of the table. If not specified, the default schema
|
|
boolean field flips after schema update (in class) of another field
had many previous schema evolution changes (you might have a longer history of schema changes in ... version 2.8.4 that fixed that issue. support Support I think the schema may changed 2-5 times ... Petzold We also do not have an Exception in the query. We catch all of them. The schema is as
|
|
jakarta.persistence.Persistence.generateSchema(String,Map)
; String persistenceUnitName , Map map ) Create database schemas and/or tables and/or create DDL scripts as determined by the supplied properties. Called when schema generation ... : persistenceUnitName - the name of the persistence unit map - properties for schema generation; these may also contain
|
|
jakarta.persistence.ForeignKey
Jakarta Persistence (JPA) Annotation Type jakarta.persistence.ForeignKey Implemented Interfaces: Annotation Specifies the handling of foreign key constraints when schema generation is in effect ... constraint should be generated when schema generation is in effect. ConstraintMode.CONSTRAINT specifies
|
|
jakarta.persistence.GenerationType
that it does not support schema generation or cannot create the schema resource at runtime. Since: Jakarta
|
|
jakarta.persistence.EntityManagerFactory
programmatic control over schema generation and validation, may be obtained by calling getSchemaManager ... SchemaManager getSchemaManager () Return interface providing access to schema management operations
|
|
Feature Request: Subclassed PersistenceException for Type Not Found in DB Schema
with different schemas managed by the same ObjectDB server that are sharded based on the day. We let ObjectdDB create the schema in each ODB file the first time objects are persisted. The problem is that when a process runs that querys a shard before the schema is created a generic
|
|
Compare two schemas or odb files
For example, if we make a backup of our database it would be helpful to have the possibility to compare the backup schema (odb file) with the current version in the database and as result we should get the difference between the two schemas . It would also be sufficient, if we can compare object
|
|
Crash after altering schema
Hi, I got an exception after altering Schema .... (just adding an index). --- bmpccdeMac-mini:CloudAI eko$ java -jar build/libs/asli-cloudai.jar Current Working directory /Users/eko/work/asli ... ) eko EKO FAJAR Note that after schema change you have to restart the server . Please advise
|
|
Collision Between Different Schema Versions of Entity Classes
Version 2.8.4 fixes a critical bug that in rare cases may cause collision between different schema versions of entity classes, when schemas have changes many times (usually more than 20 times). This bug mainly affects queries on hierarchy of multiple entity classes (i.e. a query on a super class
|
|
Deadlock on Schema Update during Multithreading activity
Deadlock on Schema Update during Multithreading activity
|
|
Indexes broken after schema update
Indexes broken after schema update
|
|
UPDATE query cannot set a new field after schema change
UPDATE query cannot set a new field after schema change
|
|
[ODB1] Chapter 3 - Persistent Classes
is deleted, the two referred Point instances are deleted with it. 3.5 Automatic Schema ... ( schema changes), however, do affect the database. New persistent objects are stored using the new schema (the new class structure), and old persistent instances, which were stored using the old schema
|
|
jakarta.persistence.GenerationType.AUTO
such resources in the event that it does not support schema generation or cannot create the schema
|
|
[ODB1] Chapter 9 - ObjectDB Explorer
to the class schema (for instance, a new persistent field added in the IDE) is applied to the database automatically when the application stores an object with the new schema in the database
|