ObjectDB Database Search

101-150 of 200 results

ODB should auto-restart if it detects it's necessary

Hi! I find very tricky the need to restart ObjectDB server after schema modifications in ... objectdb.config) that each time ObjectDB detects a schema change that requires restart ... the last days because of these schema changes without restart, which gave us a lot of problems

Best practice: Database update/migration of embedded databases in products

btc_es BTC EmbeddedSystems The ObjectDB schema evolution support consists of: Automatic schema evolution - for adding and removing fields and for class hierarchy change. Configuration schema changes ... this schema change you will have to maintain all the fields, (the old and the new) in the new schema , and use

Attempt to store an instance of a non persistable type

for one platform (there the launcher is slightly different), could it be that the schema of the other database ... that there is some issue with the schema in that database. However, if the entity class is available in the classpath when you open the EntityManagerFactory  the schema is expected to be updated

com.objectdb.o.UserException: Failed to generate dynamic type

these classes from the database schema fails. What is the hierarchy of AbstractLong and AbstractNumber ... /  -classpath argument. support Support Reading about Schema Update. I see there is Package/Class/Field elements in the schema - but where do I find the schema section? In which file

Extending model by "common entity"

explorer or doctor. lwalkowski Lukasz Walkowski This schema change should be handled by ObjectDB ... - it demonstrates a bug in ObjectDB schema evolution. Please check build 2.0.5_01 that should fix it. If possible - apply the schema change again to a database that was used only with the old schema

@ElementCollection Set is emptied sometimes

. They appear HashSet in ObjectDB Explorer. The only common thing I've seen is that this MAY happen when schema ... while schema changes, but not all the times. The interesting part is that most of the times, schema ... . support Support I just want to mention that I didn't forget about this, but the schema of the project I

Not releasing locked MST object

(EMImpl.java:292) jakab Gergely Jakab The new stack trace indicates a collision between automatic schema ... indexes require rebuilding due to schema change). As a workaround, try disabling index rebuilding (update) and see if it helps. Later (after the schema update was processed) you should enable it again. Let

Deadlock in objectdb code

indicates a possible deadlock during initialization of new persistent schema ... , so they aren't first encountered later?  Also, is there a logging option to follow schema ... can find managed classes automatically .  Also, is there a logging option to follow schema changes

after upgrade to 2.9.0 database destroys, urgent issue at our most important customer, production shutdown

that are not synchronized with the data. This could be caused by certain unsupported schema changes (if you had schema changes in addition to upgrading to 2.9.0) . If this is the only issue then running ... a link. We did not do any schema changes hgzpincher Hans-Georg Zwicker Looking again in the log

Embedded in JDO metadata not working in objectDB 2.x ?

with embedded objects ? No such utility. After upgrading the schema you will have to write a small ... the schema and wrote the program which retrieves the containing entities, made them dirty ... delete now the unwanted entity objects? Since I upgraded the schema where these objects are declared as

NullPointerException in ENH.g(ENH.java:401)

package without backing this operation with a schema change declaration in the configuration file ... .mvolution.domain.entities.event.participant.Participant: an entity class with no instances. Adding a schema ... for your fast response. You were right, I forgot about this schema change. Glad you found it... Thanks

Recommendation - concurrent access multiple class v

Chirac Currently schema changes require server restart, as well as restarting the application with the new schema . ObjectDB servers usually do not have a direct access to your classes, so this is not ... , changing the schema requires restarting all of them with the new version of your application

drop a column from table

Just remove the field from the entity class. See Automatic Schema Evolution . Space in the database ... file. The schema change must be available to the Doctor, so you must open the database after the schema

Multi-tenant setup

schema or multiple database. How to handle connections between app (Jboss Wildfly) and pass query request to appropriate database, how to dynamically add new database or schema . There are lot ... of entity managers in Java EE and JPA is static. ObjectDB supports a dynamic  schema

Managing software release cycles.

Schema Evolution Schema Update As you can see most schema changes are either fully automatic or

2.7.3_03 Erroneous "Attempt to modify a primary key of a managed object"

without database schema change, and save some space in memory. You can still use StringIdentity ... id; and that might fix the issue, save memory, and not require database schema change (automatically ... replaced with @Index . You should be able to read old data with no schema change, as actually 

Failed to validate XML

Exception { if (null != em) { em.close(); } } /** Create database schema from entities. */ @Test public ... : download all three schemas from page - http://www.oracle.com/webfolder/technetwork/jsc/xml/ns ... .persistence" place into package all three downloaded schemas   Now project will work without any problem

Deadlock problems solved - a suggestion

the necessary schema changes (including creating the database if necessary), so that a database is already set up with the complete schema before an application runs?  All the information about the schema should be visible from a combination of XML files (such as package.jdo) and/or annotations

DB Explorer and Doctor unable to open DB file

synthetic classes from the schema . This synthetic class generation mechanism fails with your specific schema due to unknown reason. If you can share the relevant class files ( RackModel , 

ObjectDB embeddable Springboot

to examine the schema ?  tia lamininid Laminin if odb can be embedded like derby. Yes. ObjectDB ... is there a gui to examine the schema ?  Yes. The Explorer . support Support

@MappedSuperclass and @Transient not working as I expected

for classes annotated @MappedSuperclass also merely stored schemas , without the data? (I ... superclasses (as well as abstract entity classes) do not store data just schema . Usually data in

NPE when getting Persistence manager

There is some issue with the types in this database, possibly due to an old issue of unsupported schema ... and then with older version, so there might have been some schema upgrade in between, which the old

how explorer queries work

faking it somehow? jon jon ObjectDB stores the schema in the database (in the odb file) so it doesn't ... ObjectDB knows to build missing entity and embeddable classes, based on the schema that is internally

Removing an entity throws exception

images (used mainly to detected changes when enhancement is not in use) - after schema evolution. Therefore, starting with a new database file could solve the problem even with no fix, since the schema

Is named-query supported in orm.xml

indicates that the XML fails to pass validation against the JPA 2 ORM schema , probably ... enforce the formal schema . Global named queries should be defined in the XML before any type (entity

Error using query with MAX() function

I have a class that is persisting a Entity that holds remarks and a time. Then when I query for the latest remark I get a internal error when the remark is larger than 1966 chars. Here is a test class and entity that reproduces the problem on my system. @Entity @Table(name = "TestEntity", schema

IDs of Entities suddenly became UUIDs?

Maybe quasado can provide up to date information about this problem. Possibly there was a schema

InternalError on query of empty database

the database about its current schema ? Thanks P. pedwards Paul Edwards Sure. Usually

Explorer in 2.3

tab is when I am interested in a specific piece of data that I will search for. The Schema tab

Update Entity references if we change the type of an entity

it seems that we cannot provide a quick implementation of this type of automatic schema evolution

Entity field renaming does not work

String comparisonDisplayDataTypeName; We added the schema for renaming to the objectdb config:   ... is opened with the schema change specified in the configuration file, only the class ... the schema change, up to date classes (no source code is needed) with the new field names and your ObjectDB

InternalException

is possible as a result of schema change, in which id fields are removed. Notice that changing ... When you say schema change do you mean changing the code for the entity objects and using ... .Thread.run(Thread.java:662) felixobjectdb Richard Szurgot In that case it is not a schema change

Unexpected exception (Error 990)

to locate a type in order to update an index. Did you get this exception after changing the schema ? If the schema has changed, was the server restarted before using the new schema ? After restarting

ObjectDB 2.8.7

to slow backup in client-server mode (see  feature request #2681 ). Fixed Explorer issue after schema evolution ( issue #2726 ). Fixed field renaming schema upgrade of previous schema versions ( issue #2713 ).

'DROP TABLE' in ODB?

of this type in database I want to remove this type from schema . How can I do this? Is there something like ... kind of compiled classes into the schema ? But under the "File" Menu none such option is provided ... of deleting classes in the Explorer. An obsolete class can be selected in the Schema / Managed

Can't open replicated database

stack trace indicates an attempt to update a type schema in the replicated database, which is read ... is being used and not touch the schema ? I guess I can catch the exception and skip the query as I'll know

ObjectDB 2.2.3

Added support of @ElementCollection  (for setting eager fetch of non entity collections, such as List ). Improved performance of eager fetch in queries. Added Maven build enhancement to the bundled examples. Fixed a schema evolution bug in renaming user types. Fixed a bug in handling schema

Unexpected exception when execute query without enhanced entities

-enhanced class is not even used, as queries are compiled against the existing schema in the database ... a result of partial enhancement or maybe a recent schema change. support Support Actually I

ObjectDB 2.8.6_08

Fixed field renaming schema upgrade of previous schema versions ( issue #2713 ).

InternalException

schema changed require restarting the database. support Support Ah, that may be it. I did add a new ... must be restarted after a schema change , so this issue will be closed now. support Support

ObjectDB 2.6.4

on EntityManagerFactory close. Fixed a bug in hierarchy schema upgrade. Fixed a bug in schema upgrade that includes both class and field renaming.

Internal objectdb exception when using different language on a machine

. support Support Hello, we have to two databases. The main database contains the schemas of all entities ... contains only a restricted schema , here we have the only one not enhanced entity 'TCVector' (is not

InternalException

more quasado Alexander Adam Have you changed the schema recently (e.g. added new persistent fields ... may be the result of changing schema without restarting the database. support Support

ObjectDB 2.0.0

through inverse (mapped by) fields. Fixed some bugs in automatic schema evolution. Fixed a Server/Explorer class loading bug (after schema change). Fixed a bug in the ObjectDB Doctor Tool.

com.objectdb.o.InternalException: java.lang.ArrayIndexOutOfBoundsException: 2

class versions between the client and the server, i.e, the server was updated to use a new class schema , which the client is unaware to yet. The ObjectDB server must be restarted after a schema change

stress test -> com.objectdb.o.InternalException: null

is to separate building the schema (i.e. registration of all the managed types) from the load test, i.e ... , and there is no redeployment or schema modification happening. Tomee is started

InternalException - error reading field from "queue" database

whose schema is not stored in the database, i.e. there are broken references from entity object field values ... replication? Maybe this is related to the other reported problem of inability to update the schema in

ObjectDB 2.5.1

on Schema Update during Multithreading activity ( issue #1139 ). Fixed a bug in loading mapped (inverse

NullPointerException in __odbGetNumMember

that it has to do with enhancement? quasado Alexander Adam It may also be related to schema evolution. Can you post the database

combined index not used

.no- schema -upgrade", "true"); EntityManagerFactory emf = Persistence.createEntityManagerFactory("D:\\odb