ObjectDB Database Search

51-100 of 200 results

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

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

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

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

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

How to open a running db in ObjectDB Explorer?

of the data, not the live information. * I forgot to mention that the db is used in embedded mode. zmirc Mircea Chirac There are two possible solutions. You can switch from embedded mode to client-server mode. Unlike embedded mode, client server mode supports accessing a database concurrently from

Cascading makeTransient

the application cache only some embedded parts of those objects (let's call them class B). This application ... defined as an entity (@Entity is missing)" because B is defined as embedded -only. I tried also calling ... of the owner object as long as the embedded object is in use, as a fix to issue #1620 (so this reported issue

High availability and other pratical questions

it: As the embedded DB seems to be with superior performance would you recommend using it with TomEE ... ? What is the overhead of the Transaction Replayer?   Many thanks, Amit   gemini Amit Naveh Embedded mode is faster, so embedding ObjectDB in the main Tomcat server will improve performance

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

jakarta.persistence.metamodel.SingularAttribute

() Is the attribute an id attribute? This method returns true if the attribute is a simple id , an embedded

jakarta.persistence.metamodel.MappedSuperclassType

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

jakarta.persistence.AttributeOverrides

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.AttributeOverrides Implemented Interfaces: Annotation Target: Type, Method, Field Used to override mappings of multiple properties or fields. Example: @ Embedded @AttributeOverrides({ @AttributeOverride(name = "startDate", column

Open several objectdb databases the same time

Golyshkin In embedded mode a database can only be accessed by one process at a time. The server mode ... the undocumented embedded -server mode , in which the first process opens the database in embedded mode ... regular embedded mode API, but actually these additional database connections are implemented as client

How to change properties in urls2.xml?

Hello, I am using objectdb in an embedded case with network private access to each database. I ... will probably not help you. Please clarify your need. Do you want to use the embedded server mode, i.e. to run a database in embedded mode and still connect to it in client-server mode? support Support

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

our embedded system hgzpincher Hans-Georg Zwicker As it seems that the Doctor fixes the database ... ; hgzpincher Hans-Georg Zwicker Regarding using the explorer in embedded mode, have you enabled embedded ... to be a beta tester then please indicate whether you need client-server access or only embedded mode access

Dirty checking

-commit' listener.  I can guarentee single threaded access to a single EntityManager in an embedded ... sure how ObjectDb handles that, am guessing that for embedded apps you have the entire graph ... Changes to embedded objects can be tracked by tracking the containing entity objects, i.e. an entity

jakarta.persistence.metamodel.SingularAttribute.isId()

Jakarta Persistence (JPA) Method in jakarta.persistence.metamodel.SingularAttribute boolean isId() Is the attribute an id attribute? This method returns true if the attribute is a simple id , an embedded id , or an attribute of an id class . Returns: boolean indicating whether the attribute is an id. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.metamodel.IdentifiableType.hasSingleIdAttribute()

Jakarta Persistence (JPA) Method in jakarta.persistence.metamodel.IdentifiableType boolean hasSingleIdAttribute() Whether the identifiable type has a single id attribute. Returns true for a simple id or embedded id; returns false for an idclass. Returns: boolean indicating whether the identifiable

objectdb.conf Information

;      for server + client + embedded mode.                  for server + embedded mode.   ... ; for client + embedded mode.              

ObjectDB embeddable Springboot

Hi I have not seen, cursory search was not informative, if odb can be embedded like derby.  ... to examine the schema?  tia lamininid Laminin if odb can be embedded like derby. Yes. ObjectDB has a client-server mode (like MySQL), but also an embedded mode (like Derby). See this page .  

Issues with JDO Casting & Full Qualified Names

. embeddeds .put("test", new EmbeddedA());   entity. embeddeds .put("test2", new EmbeddedB());   em ... = "SELECT COUNT(e) FROM MyEntity e WHERE ((com.test.F328.EmbeddedB)e. embeddeds .get('test2')).superB ... ();   emf.close(); } @Entity public static final class MyEntity {   Map embeddeds = new

Problem using "and" for joined entities and indexed fields

;   static class Parent {         @ Embedded ... ; Netzverb Andreas Göbel This indeed indicates a bug in using indexes on fields of embedded objects in ... limitation of indexes on embedded objects. For instance, even if the "age" field is not indexed

Server out of memory exceptions

similar things with objectdb in embedded mode without any issues so it looks to be related ... also started to get oom exceptions in an embedded database: [ObjectDB 2.2.8] javax.persistence ... , one larger for msg data): 3x standard object databases ( embedded ) 3x queue databases ( embedded ) 3x queue

Unexpected exception (Error 990) com.objectdb.o.InternalException

;       }    } } The test case shows that updating an embedded ... above, but instead of a modified embedded object we have an embedded collection. Build 2.6.1_02