About schema

31-40 of 200Refresh
Issue
16

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
Forum
16

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? This is strictly forbidden. You must have the same version of classes everywhere. FastModel
Forum
16

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 ... the revised schema. It is a common operation to add persistent fields to existing applications
Forum
16

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 The schema is available for viewing in the Explorer. You may use the JPA Metamodel API to extract it using your own code. EKK
Forum
16

Schema evolution & renamed/moved enum

to use the <schema> tag in the config file because my enum is not an entity. What is a the proper way of handling the migration? Thanks, Farid  It seems that in this case automatic schema evolution
Forum
16

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 ... fields up and down in the class hierarchy as part of the automatic schema evolution
Forum
15

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 You can delete the database
Forum
15

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 See the JPA Metamodel API. ezazop
Forum
15

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 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). PG
Forum
15

Support of modifying an ObjectDB Entity class (Schema Change)

for more information! No need for this effort. See this manual page. Schema evolution is automatic