ObjectDB Database Search

51-97 of 97 results

Double persist of Entity field with Cascade.ALL

follows: @Id @GeneratedValue(strategy = GenerationType. AUTO ) private Long id; private String ... fields are as follows: @Id @GeneratedValue(strategy = GenerationType. AUTO ) private Long id; private

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 ... when it is omitted), because it is not required (and irrelevant) for strategies such as AUTO

openejb jpa jaas module

Auto -generated method stub this.subject = subject; this.callbackHandler = callbackHandler ... ") }) public class UserInfo implements Serializable { @GeneratedValue(strategy = GenerationType. AUTO

@OneToMany(fetch = FetchType.LAZY) list is always null

= GenerationType. AUTO ) private int id; @OneToOne(fetch = FetchType.LAZY, cascade = CascadeType.ALL) private OTO ... { @GeneratedValue(strategy = GenerationType. AUTO ) @Id private int id; @Lob private byte[] bytes; public OTO

List always null

; @GeneratedValue(strategy = GenerationType. AUTO )     private Long id;     ... ; @GeneratedValue(strategy = GenerationType. AUTO )     private Long id;    

Empty temporary dat files in the temp folder

(FlushModeType. AUTO );   em.getTransaction().begin();   MyEntity myEntity = new MyEntity ... .createEntityManager();   em.setFlushMode(FlushModeType. AUTO );   em.getTransaction().begin();  

Beginners questions

") @GeneratedValue(strategy = GenerationType. AUTO ) private Long id; @OneToMany (fetch=FetchType.LAZY,cascade ... ; @Id @Column(name = "ID") @GeneratedValue(strategy = GenerationType. AUTO ) private Long id

Relationships and tracking changes

= GenerationType. AUTO ) private Long id; @OneToMany (fetch=FetchType.LAZY,cascade=CascadeType.ALL, mappedBy ... ") @GeneratedValue(strategy = GenerationType. AUTO ) private Long id; @ManyToOne @Column(name = "VERLAG

remove & persist in same transaction => Attempt to reuse an existing primary key value

Hello Support, in our configuration (FlushModeType. AUTO ) is the execution of  em.find(Entity.class, ) much faster than an equivalent query. To optimize the Performance we define a special ... (); em.setFlushMode(FlushModeType. AUTO ); System.out.println("create and persist"); em.getTransaction

Feature request - ability to refresh an open database view in explorer

The ability to refresh view in explorer automatically. Fine if this is read-only. Extra points if you can do this with local databases as well as remote. dmoshal David Moshal ie: "Real-time" auto refreshing explorer views. dmoshal David Moshal alternatively, clicking on a class name gets

Error 613 - i cant put a list into a Squad object

;   // TODO Auto -generated constructor stub     }    

Error 363 - Failed to read value of inverse relationship

I've got two objects: @Entity public class EEvent { @Id @GeneratedValue(strategy = GenerationType. AUTO ) private long id; @ManyToOne(optional=false) private ETown town; public ETown getTown() { return town; } public void setTown(ETown town) { this.town = town; } } And: @Entity public class ETown

Server connection management

do, however, get the exception reported above at least once a week. When you say that objectdb auto -detects

Exception on creation when running multithreaded

also had: typedQuery.setFlushMode(FlushModeType. AUTO ); for the specific query.   If I change the logic

Conflicting modifiers .... (javax.persistence.Id, javax.persistence.ManyToOne)

= em .createNamedQuery("numberOfMapItems"); q.setFlushMode(FlushModeType. AUTO ); try { long l = (Long

Should derived fields of an EmbeddedId be manually maintained by app code?

"); q.setParameter("container", this); q.setFlushMode(FlushModeType. AUTO ); try { long l = (Long) q

Explorer in 2.3

. Auto -login of last opened (remote) database puts the full URL into the Database Path field

Clarification on free license restrictions

of ObjectDB before version 2.2.9 , in which you added configurations to enable / disable auto serialization

Is there an administration tool with which I could create extra indexes?

case of #2, would ObjectDB auto -reindex all existing data? omi Oleg To add a new index: Define

Server vs embedded mode in multi-instance scenario

concerns as well as auto scale during peak usage, at least for the benefit of our web application

ObjectDB Website and Yahoo Mail

message is related to your email address with Yahoo. As a workaround, either disable " Auto Subscribe" in

How to delete M2M relationship?

In user model class I have the following: public class User implements Serializable {     @Id     @GeneratedValue(strategy = GenerationType. AUTO )     private Long id;     @ManyToMany(mappedBy = "attendees", cascade

IDs of Entities suddenly became UUIDs?

support auto generation of uuid. We double checked now (following your report) and we cannot find

Nexus proxy repository with ObjectDB

Remote Storage Location: http://m2.objectdb.com Download Indexes, Auto Blocking, File Validation all set

Refresh Explorer

Feature requests: 1) shortcut key for Explorer data refresh 2) ability to set ' auto -refresh' for explorer when run in client-server mode. ie: current view will refresh every n seconds. Thanks David   dmoshal David Moshal A new Refresh toolbar button and an accelerator key (Ctrl+R) were added in build 2.5.6_04. support Support

Spring 4 setup

the error is caused by generic extending. Caused by: com.objectdb.o.UserException: Unsupported auto

Error with org.springframework.data.jpa.domain.AbstractPersistable

. Caused by: com.objectdb.o.UserException: Unsupported auto value type java.io.Serializable for field

Upgrade to Java 8 won't run

.createEntityManagerFactory (dbName) em = emf.createEntityManager() em.setFlushMode(FlushModeType. AUTO ) ObjectDB

Merge with Parent/Child entities not possible

; EntityManager entityManager = emf.createEntityManager();   entityManager.setFlushMode(FlushModeType. AUTO

Is it possible to remove parent/child entities without refresh?

();   entityManager.setFlushMode(FlushModeType. AUTO );   return entityManager; } private static

JSON serialization and __odbHidden members

getters/setters ( auto -generated) The LoginInfo class contains just 2 fields (String eMail & password

Problem with distinct select, order by and equivalent alias/attribute path

    @GeneratedValue(strategy = GenerationType. AUTO )     private Long id

Database(*.odb) file size on disk

.setFlushMode(FlushModeType. AUTO );   int objects = 1000;   int loops = 3;   for (int iteration = 0; iteration

Query problem after transaction commit

issue with a simple solution (e.g. changing flush mode from commit to auto could solve

final fields persistence

(I already wrote the body here, but somehow it got lost; so I'm retrying; apologies if it appears twice.) =========== We love the idea of using ObjetDb, but 99% of our Java entities are immutable, and auto generated using https://immutables.github.io/ -- which creates final fields

Enhancement Check

auto generated classes, which are not signed and may be counted against the 10 classes limit

How to pass a list in query for a list field of entity.

I have a entity as bellow :- @Entity @Table(name = "agent") public class Agent implements Serializable { @Id @GeneratedValue(strategy = GenerationType. AUTO ) private Long Id; private List SocialMedias; public Agent() { } public Long getId() { return Id; } public List getSocialMedias() { return

How to apply constraints in collection attributes of entity.

How to apply constraints like unique, not null ...etc in collection attribute of a entity. Example : @Entity @Table(name = "agent") public class Agent implements Serializable { @Id @GeneratedValue(strategy = GenerationType. AUTO ) private Long Id; private List PhoneNumbers; public Agent() { } public

Failed to commit transaction: Attempt to reuse an existing primary key value (613)

e) { // TODO Auto -generated catch block e.printStackTrace(); } bez=testBL.addBezeroa("Jon", "Smith

General Performance Issues Illustrated with a Specific Method

= GenerationType. AUTO ) private Long id; private static final long serialVersionUID = 1L; @Index @OneToOne

New entity objects are duplicated on merge cascading

        @GeneratedValue(strategy = GenerationType. AUTO )    ... ; @Id         @GeneratedValue(strategy = GenerationType. AUTO

Explorer Features - refresh + viewing open embedded database

Request for feature: Ability to auto -refresh an explorer view, say at regular intervals of a few seconds. (at a minimum one ought to be able to manually refresh, for example the list of persistent types). additionally, it would be useful to be able to view an embedded database (read only mode) via the explorer. dmoshal David Moshal

ObjectDB 2.2.9

Added new configuration to enable / disable auto serialization of non persistable types (now disabled by default). Added support of date methods ( YEAR , MONTH , DAY , HOUR , MINUTE , SECOND ). Added support of  bypassing no arg constructors  of entity classes . Added support of using

ObjectDB 2.4.5

of EntityManager auto closing. Fixed ArrayIndexOutOfBounds on using a no arg function in criteria queries

Server crash - Mismatch client-server protocol prefix

(which fortunately gets auto -mailed to me): [ObjectDB 2.5.2] javax.persistence.PersistenceException

Sometimes cascade persist does not work during commit

(FlushModeType. AUTO ); em.getTransaction().begin(); em.createQuery("DELETE from Object").executeUpdate

Best practise loading big data

. But we do not know what the best strategy is. Currently we help a ourself by doing some auto -commit