ObjectDB Database Search

51-100 of 200 results

run several embedded systems on one server, problem with double used port

we want to run several embedded systems on one server. In principle this is working ... that port for each embedded system hgzwicker Hans-Georg Zwicker Are you using embedded -server mode? In ... : "$objectdb/db/my.odb;port=9999" If you don't need the embedded server then you can disable it in

Weird behaviour with enhanced classes and embedded entities

entries of my ArrayLists with embedded entities are missing. I've hunted the problem down to an enhanced/proxied list in my entity which contains embedded entities and some .add(obj) are simply failing ... (MyEmbeddedEntity embedded ){       embeddedEntities.add( embedded );  

Embedded & Activation & Scalation

. So, we'd like to embedded odb into each instance instead for now and point each to the same database ... embedded mode that way. In embedded mode only a single process can access the database ... only limitation. Is there a way to spawn multiple server instances " embedded " into our app

Non Embedded byte[]

I am trying to understand the " embedded =false" for JDO byte[] as described in ObjectDB 1.0 Manual ... : @PersistenceCapable class MyImage{ boolean isCurrent; @Persist( embedded ="false")byte[] imageData ... embedded , stored as a single "blob" as a unique ObjectDB persisted object?  (The section 4.4 talks

Possible issue with Spring JPA and Embedded

Hello, I'm having some fun with Spring and embedded objects. I have need to embed some small ... how to go about proving where the issue is. (I can see the embedded objects in the database with the explorer, but they are NEVER returned) If I change my embedded class to be an entity it all works

config file for embedded database

Hi, I'm going back to embedded mode after some time with client/server mode. Question: how does the embedded jar find it's config file? Dave ps: thanks for the improvements to the explorer - still need a way to view (view only) an open embedded database. dmoshal David Moshal The same procedure

Changing from client server to embedded mode

;password=admin"); Now to switch to embedded mode, I have tried following things     ... Client Server mode. kindly provide information how to switch from client server mode to embedded ... The database file format in client-server mode and embedded mode is the same, so it should be easy

How to connect to an embedded ObjectDB in a JPA/JEE application?

. But I could not find any reference who to connet to an embedded objectdb in a JEE/JPA application ... the client-server connection url with an embedded connection url, e.g. an absolute file path. See this documentation section regarding client-server and embedded connection urls. support Support

Embedded List

).setParameter(1, strSupPart); strSupPart is the part I am looking for in my Embedded List ... to get records that have part of the strSupPart field from the Embedded class in the ItemDB class, my code looks

Password in Embedded Mode?

Is there a way to setup a database file that will be accessed in embedded mode, such that it is locked with a password.  Thereby making it impossible to use ObjectDB to access the contents ... . It seems that in embedded mode password protection would be useful only with database encryption

Embedded and autosync

of these boxes connecting to a shared remote RDBMS we want them to each have an embedded ObjectDB. Our question is will these 10 embedded objectDBs be in-sync. E.g.: If a user has logged into box 1

Failing in embedded mode, correct javax.persistance?

) The tutorial is supposed to run embedded . If the file given does not exist, it should be created ... " and where it should be stored, contents etc. Since I am running the program in embedded mode, this file should not be necessary

Adding multi part path index on non-embedable object member

Is there a way to add single member index on members of a object member which is not configured embedable but is/are mapped by id like the two members below.  @Entity public class Customer ... ", ...etc... }) } public class Customer { ... } There is a documentation says it works on embedded objects

objectdb embedded memory usage ?

    hello , i m making some java application. I will have plan to use that db on java apps but is it possible to use for small embedded apps ? like small android devices or small ... ?  kadirbasol Kadir BASOL ObjectDB can be used as an embedded database in a Swing application

Embedded server feature

on it 2 web applications on Tomcat 1 ObjectDB Server deployed, in embedded server mode 2 ObjectDB databases for those 2 webapps, both would use the server in embedded mode for stellar performance

How to avoid NULL values on Embedded entities

;       @ Embedded private Direccion origen;     @ManyToOne

LEFT JOIN FETCH over empty embedded collection returns no results

First of all, thank you for promptly implementing JOIN FETCH over nested paths in response to my inquiry a few months ago. However, I have run into one problem: if an embedded collection is empty, but I attempt to LEFT JOIN FETCH all the members of a collection within a (non-existent) member

NPE after an @embedded obj is updated for a detached entity

I have an entity that looks like this: class User {     @ embedded private Profile profile;     ... } After running something like this:     User user = entityManager.createQuery("select......     entityManager.detach

disabling JDO in objectdb embedded mode

Hi, i am using objectdb (version 2.6.8) in embedded mode. I deployed an .ear project in glassfish. When I attempt to call the database I get several exceptions. As an example consider the following short example: [#|2016-06-02T14:19:38.393+0200|WARNING|glassfish3.1.2|javax.enterprise.system.core

embedded objects marked final not persisted.

Discovered that embedded objects marked final are not persisted. I'm not exactly sure why that should the case. Is this a bug?     dmoshal David Moshal Final fields are treated as transient regardless of their type. If you mean that declaring the embeddable class as transient causes

Online backup in embedded mode fails

Hi, As in topic. "online backup" fails when executed in embedded mode. Everything works fine with server mode. java.lang.NullPointerException at com.objectdb.o.BAC. (BAC.java:63) at com.objectdb.o.MST.U4(MST.java:1764) at com.objectdb.o.MST.U3(MST.java:1745) at com.objectdb.o.WRA.U3(WRA.java:498

makeTransient() not working on Embedded class

makeTransient only on instances of persistence capable classes (in JDO, or entity classes in JPA). Embedded

Query on Embedded Primary Key?

Hi, I am trying to use  Embedded Primary Key - but seems I can't retrieve them correctly with the query below - the query seem to work fine for other field (in the code = primkeycopy). The error I get when is below - it complains about a casting issue. Let me know how to fix

How to apply Unique constraints on embedded fields?

How to apply Unique constraints on embedded fields? @Entity public class A { private B b; } @Embeddable public class B { private C c; } @Embeddable public class C { private HashSet values; }   how can i apply unique in values?   Thanks   Manoj Manoj Kumar Maharana Uniqueness

data protection method in ObjectDB Embedded Mode

I am new in ObjectDB and i need to understand How is data protection in ObjectDB Embedded Mode without using  username or password thanks choymns choymns The way to keep an ObjectDB database encrypted is simply to store it on an encrypted drive. Modern operating systems support encryption

Server vs embedded mode in multi-instance scenario

there will only be one active instance of the app, use embedded mode inside the web application

ObjectDB embedded JAR location in Payara

Also I am running Payara with Object embedded and have placed the JAR in the domain lib folder with the objectdb-2.6.9_09.jar. Does that sound like the right thing to do?   Thank you paul Paul Hudson You can place objectdb-jee.jar (or the jar from Maven) in the WEB-INF/lib directory of your web application. support Support

Problem with log file in an embedded db with netbeans platform application

Hello, I'm starting a new desktop application built with netbeans platform 7 and objectdb/JPA as embedded db (version 2.3). I haven't had any problem with the domain class library project, but running the netbeans platform application that use the same domain class library an error occurs

internal object DB locking in an embedded multi threaded application

Hi, we are using Embeded objectDB 2.4.4_06 in a highly multithreaded concurrent manner and we have noticed a performance problem in our application that seems to be attributed to ObjectDb's internal locking. When profiling our app in JVisualVm we notice a large number of threads are blocked

ObjectDB 2.6.9_06 (embedded): Cascading merge resulting in duplicate objects

is this still a bug of version 2.6.9_06 ( embedded )? jtuemmer Jochen Tümmers As far as we can tell

How to move @Embedable collection to a dedicated entity class?

Hello I am using embedded objectdb in a 4 years old project. Over the years the data got bigger and now I want to make some performce improvements for some specific part of the code. Lets say we have a Parent and Child class with onetomany relation @Entity class Parent { @Id Long id

Bulk update of embedded entities in linked list

Hi, I'm trying to do a bulk update of a column in an embedded entity, but I end up with a query execution error because of the "." between the column name of the parent entity and column name of the child entity. The column in the parent entity represents a linked list of an embeddable class

Embedding ObjectDB on server application

Embedding ObjectDB on server application

Exception when querying Map property with @embedded & Enhancer enabled

Exception when querying Map property with @embedded & Enhancer enabled

How to do multithreading with embedded ObjectDB

How to do multithreading with embedded ObjectDB

explorer fails to connect to embedded server

explorer fails to connect to embedded server

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

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

jakarta.persistence.ManyToOne

the relationship attribute within the embedded attribute. The value of each identifier used with the dot notation is the name of the respective embedded field or property. Example 1: @ManyToOne(optional ... getCustomer() { return customer; } Example 2: @Entity public class Employee { @Id int id; @ Embedded JobInfo

jakarta.persistence.EmbeddedId

. The embedded primary key type must implement Annotation.java.lang.annotation.Annotation/equals(Object ... those attributes of the embedded id that do not correspond to the relationship to the parent entity. Relationship mappings defined within an embedded primary key type are not supported. Example 1: @Entity public

jakarta.persistence.OneToOne

the mappedBy element to indicate the relationship attribute within the embedded attribute. The value of each identifier used with the dot notation is the name of the respective embedded field or ... public class Employee { @Id int id; @ Embedded LocationDetails location; ... } @Embeddable public

Embedded Database Replication

As we all know, embedded databases out-perform server databases on every occasion. The problem with embedded databases is that theyre difficult to scale. If I were to create an entire enterprise web application within a single jar file using embedded tomcat and embedded objectdb I would run into

config file for embedded database

Hi, I'm going back to embedded mode after some time with client/server mode. Question: how does the embedded jar find it's config file? Dave ps: thanks for the improvements to the explorer - still need a way to view (view only) an open embedded database.   dmoshal David Moshal Please read

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

criteria api / embedded objects / where order

Dear Support Team Changing objectdb from version 2.7.4 to version 2.8.1 I found, that query against embedded objects doesn't work as expected and the formerly green UnitTest (Version 2.7.4) turns red (Version 2.8.1). For what I thought I realized is, that the version 2.8.1 was sensitive

jakarta.persistence.ManyToMany

the relationship attribute within the embedded attribute. The value of each identifier used with the dot notation is the name of the respective embedded field or property. Example 1: // In Customer class

jakarta.persistence.Embeddable

String street; protected String city; protected String state; @ Embedded protected Zipcode zipcode ... ; } See Also: Embedded EmbeddedId Since: Jakarta Persistence (JPA) 1.0 The JPA Persistable Types article explains

jakarta.persistence.MapsId

; ... @MapsId("empid") // maps the empid attribute of embedded id @ManyToOne Employee emp; } If a ManyToOne

jakarta.persistence.metamodel.Attribute.PersistentAttributeType

Persistence (JPA) 1.0 ELEMENT_COLLECTION Element collection Since: Jakarta Persistence (JPA) 1.0 EMBEDDED

jakarta.persistence.metamodel.IdentifiableType

attribute. Returns true for a simple id or embedded id; returns false for an idclass. Returns

jakarta.persistence.metamodel.EntityType

() Whether the identifiable type has a single id attribute. Returns true for a simple id or embedded id; returns