ObjectDB Database Search

51-100 of 200 results

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

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

AnnotationRef jakarta.persistence.AssociationOverride

by an embeddable class (including an embeddable class embedded within another embeddable class ... at multiple levels of embedding , a dot ( . ) notation syntax must be used in the name element to indicate an attribute within an embedded attribute. The value of each identifier used with the dot

AnnotationRef jakarta.persistence.AttributeOverride

or field. May be applied to an entity that extends a mapped superclass or to an embedded field or ... value. To override mappings at multiple levels of embedding , a dot ( . ) notation form must be used in the name element to indicate an attribute within an embedded attribute. The value of each

AnnotationRef jakarta.persistence.Convert

of a converter specified by a field or property of an embedded type or inherited mapped superclass ... of an inherited basic or embedded attribute. In these cases, the attributeName must be specified. To override conversion mappings at multiple levels of embedding , a dot ( . ) notation form must be used

AnnotationRef jakarta.persistence.OrderBy

of the associated class or embedded class within it. The properties or fields used in the ordering ... is used to refer to an attribute within an embedded attribute. The value of each identifier used with the dot notation is the name of the respective embedded field or property. The OrderBy annotation

AnnotationRef jakarta.persistence.EmbeddedId

, and the entity class must not declare an IdClass . The embedded primary key type must implement equals ... annotation may only be used to override those attributes of the embedded id that do not correspond to the relationship to the parent entity. Relationship mappings defined within an embedded primary

AnnotationRef jakarta.persistence.ManyToMany

must be used in 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

AnnotationRef jakarta.persistence.OneToOne

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: One-to-one association that maps

AnnotationRef jakarta.persistence.ManyToOne

syntax must be used in the mappedBy element to indicate the relationship attribute within the embedded ... embedded field or property. Example 1: {@snippet : Since: JPA 1.0 Public Annotation Attributes

InterfaceRef jakarta.persistence.metamodel.MappedSuperclassType

type has a single id attribute. Returns true for a simple id or embedded id; returns false

EnumRef jakarta.persistence.metamodel.Attribute$PersistentAttributeType

JPA Enum PersistentAttributeType java.lang.Object ∟  java.lang.Enum ∟  javax.persistence.metamodel.Attribute $PersistentAttributeType Since: JPA 2.0 Enum Constants BASIC Basic attribute Since: JPA 2.0 ELEMENT_COLLECTION Element collection Since: JPA 2.0 EMBEDDED Embeddable class

InterfaceRef jakarta.persistence.Subgraph

JPA Interface Subgraph Type Parameters: - The type of the attribute. Super Interfaces: Graph This type represents a subgraph for an attribute node that corresponds to a managed type. Using this class, an entity subgraph can be embedded within an EntityGraph . See Also: EntityGraph AttributeNode

InterfaceRef jakarta.persistence.metamodel.IdentifiableType

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

InterfaceRef jakarta.persistence.metamodel.EntityType

for a simple id or embedded id; returns false for an idclass. Return: boolean indicating