Home » Search

About IDE

31-40 of 200Refresh
Manual
18

Database Transaction Replayer

contains two types of files: Backup files - with names of the form id>.odb Recording files - with names of the form id>.odr A backup file is an ordinary ObjectDB database file that reflects the state of the database at the end of a specific transaction. The ID
Forum
18

@SequenceGenerator and single id in whole database

of my model enitities, but it looks like id's are generated using only one, shared generator. Is there any ... these generators to @Id fields in different classes. Make sure you set both the strategy and the generator ... ", initialValue = 1000) @GeneratedValue(generator = "XXX") @Id private long id; As I understand default
Forum
18

Create simple index for a Id field

DataItemProvider {         @Id     private Key key = null;     private Value value = null; and I ... ,Value> implements DataItemProvider {        @Id     @Index     private Key key = null ... haven't found ouy why. Thanks in advance. Greatings As far as I know, the @Id is indexed by default
Forum
18

Newbie : How to return the auto-generated ID

ID when I persist a new entity (with @Id @GeneratedValue annotations applied). I am following the following link : http://www.objectdb.com/tutorial/jpa/eclipse/web/entity Thanks. The id is available in the id field so you can simply access it. By default, however, the allocated value is available
Forum
18

World database - Changing country ID

world DB in ObjectDB Explorer - and couldn't find my country, as it has invalid id ( ez instead of cz ). I changed the id of country to "cz". But when I try to find the country: SELECT c FROM Country c WHERE id = "cz" no results are returned. If i find it by name, I can see ID has changed to cz
Forum
17

Explorer shows Long id, but should be Integer

Hi! I have seen a strange behavior of ObjectDB Explorer: it shows @Id as being Long, not Integer as ... used for one project. If I open one of the entities in the explorer, then I click on it's id (in the sample on parts of the Embedded id) as if I would want to edit, then I press enter and ObjectDB
Forum
17

Possible issue for default id generator

First all, congratulations to Objectdb team for the excellent work. Possible issue for default id generator when strategy is sequence. Error: Incomplete definition of auto value in field MyTestCase ... and 36: @GeneratedValue(strategy=GenerationType.SEQUENCE)//, generator="seq") @Id
Issue
17

Page #9 entry 0 (key 'bjjl') has 75 extra bytes / Unexpected last index ID: -119 (expected -116)

Please check the attached database file. When running the Doctor, I get   Global Value Errors ------------------- [1] Unexpected last index ID: -119 (expected -116) Page Content Errors ------------------- [1] Page #9 entry 0 has unexpected object format [2] Page #9 entry 0 (key 'bjjl') has 75 extra
Manual
16

JPA Metamodel API

: IdentifiableType superType = entityType.getSupertype(); // Checks if the type has a single ID attribute: boolean hasSingleId = entityType.hasSingleIdAttribute(); // Gets a single ID ... ); // Gets a single ID attribute - excluding inherited: SingularAttribute id2
Tutorial
14

Step 2: Define a JPA Entity Class

; @Id @GeneratedValue private long id; private int x; private int y; public ... ; } public Long getId() { return id; } public int getX() { return x ... should represent Point objects in the database. Besides the @Entity annotation and the id field