About move

manual

Schema Update

Explains how to handle JPA/JDO database schema evolution in ObjectDB. The <schema> configuration element supports renaming packages, classes and fields in ObjectDB databases as a complementary operation to renaming or moving these elements in the IDE during source code refactoring. Only these schema changes are ...

 
forum_thread

Server license move

Hi, I have a 1 server license. I would prefer first to use ObjectDB with this license for development/test means on my local Windows machine, then later move the license on a test linux server, and only when development is done, then I would like to permanently move this license on a production linux server. Obviously not all in the same time. Is there a way to move this license between servers that way? Thanks, Best regards. ... means on my local Windows machine, then later move the license on a test linux server, and only when development will be done, then I would like to permanently move this license on a production linux server. Obviously not all in ...

 
forum_thread

Schema evolution & renamed/moved enum

Hello, I have an entity with an attribute of type enum say com.pkg1.MyEnum. I created a few instances of the class with this attribute of type com.pkg1.MyEnum. Now, I moved that enum to a different package and renamed it say com.pkg2.MyNewEnum. When I open my database again, the attribute is null. I don't seem to be able 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  #1 2015-02-19 21:12 Hello, I have an entity with an attribute of type enum say com.pkg1.MyEnum. I created a few instances of ...

 
forum_thread

Query becomes slower on moving from ObjectDB 1.x to ObjectDB 2.x

Hi, I upgraded the odb file using converter.jar which is having 15943 entry. Previously, with object 1.x, the same query was getting executed within an seconds and now the same is taking around 40 seconds in object db 2.x I have build the query using the follwoing Query query = persistanceManager.newQuery("LogEntryAttrebuteImpl.calss", "typeIndexes.contains(this.type) && logEntryIdList.contains(this.logEntryId)"); #1 2012-09-07 15:06 Hi, I upgraded the odb file using converter.jar which is having 15943 entry. Previously, with object 1.x, ...

 
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 ... |- Class3. java Now I want to move Class2   from com.btc.internal to com.btc.impl com |- btc ... </package >   Only move the (embeddable) class [example works too] <package name ...

 
forum_thread

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 were made to the way enhancement treats getters and setters (property accessors), namely there are no longer enhanced additional getters/setters, because the additional methods now use (since about version 2-6-5) this pattern: __odbHidden_[accessor_name] Instead of this pattern with a suffix (preserving the method as a setter or getter), prior to version 2-6-5: #1 2016-08-20 13:44 In response to the forum posting http://www.objectdb.com/database/forum/994 changes were made to the way enh ...

 
forum_thread

Left join fetch behaviour doesn't retrieve children?

Hello support, I'm a little bit confused about a left join fetch behaviour. In this test case, i try to fetch my 3 children using a left join fetch. But my collection is null after closing the em. It was expected to be fetched before closing the em, no ? In fact, that is the objective of the fetch purpose (i guess ?). #1 2015-06-07 07:34 Hello, I'm a little bit confused about a left join fetch behaviour. In this test case, i try ...

 
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 #1 2014-10-31 12:31 Hi, I am trying to understand the limitations of schema evolution and have read the material on http://www.objectdb.c ...

 
forum_thread

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 hierarchy change.   But our small test failed: At first create a DataBase with one Object of MyEntity ... If you can see in the modified Code, i had tried to move the field name from NameEntity to MyEntity. (This didn't works too) ... for modified class hierarchy? Actual it woks to move the attribute. The content of field name (NamedEntity) was moved to the ...

 
forum_thread

Homepage and forum nearly inaccessible

#1 2014-05-17 09:24 Homepage and forum nearly inaccessible from France/Germany, takes minutes to react. ...