ObjectDB Database Search

1-50 of 63 results

Standalone server needs dependencies?

Standalone server needs dependencies?

SELECT clause (JPQL / Criteria API)

results might affect performance, depending on the size of the query result list and other factors. SELECT ... construct ), as shown previously. The behavior of the multiselect method depends on the query result

jakarta.persistence.EntityManager

EntityManager may be obtained by dependency injection, using PersistenceContext . // inject the container ... flush . The timing of the flush process depends on the flush mode , which may be set explicitly by ... ignored. Portable applications should not rely on the standard timeout hint. Depending on the database in

jakarta.persistence.MapsId

{ @Id long empId; String name; ... } And then the dependent entity uses EmbeddedId to declare ... to primary key type of Employee } @Entity public class Dependent { @EmbeddedId DependentId id ... or OneToOne relationship declared by a dependent entity is annotated MapsId , an instance

jakarta.persistence.EntityManagerFactory

may be obtained by dependency injection, using PersistenceUnit . // inject the container-managed factory ... may be obtained by dependency injection, using PersistenceContext , and the application need not interact

jakarta.persistence.JoinColumn

) The name of the foreign key column. The table in which this column is found depends on the context

jakarta.persistence.MapKeyColumn

) The name of the map key column. The table in which it is found depends upon the context. If the map key

jakarta.persistence.MapKeyJoinColumn

(Optional) The name of the foreign key column for the map key. The table in which it is found depends

jakarta.persistence.Convert

Temporal . Applications that depend on such conversions are not portable. The Convert annotation

jakarta.persistence.ConstructorResult

constructor results will be in either the new or detached state, depending on whether a primary key

jakarta.persistence.EmbeddedId

empPK; // corresponds to primary key type of Employee } @Entity public class Dependent { // default

Extended mapping-definitions

persisted depending on its java-class. But in this case all the instances would be saved in the same 'table ... [...] - It depends on how objectDB stores java-objects. Does it store them depending on their java ... and fishing the elements with className = 'Cat'.   So it is a performance issue depending

virtual servers and one file

per file in the virtualized harddisk.  As of my understanding each virtual file is ( depending ... might solve that problem, wether in a file per entity or just depending on continous primary key. I will try ... to distant file areas. Maybe depending on the creation date? best regards Arne        

jakarta.persistence.PersistenceContext.name

Jakarta Persistence (JPA) Method in jakarta.persistence.PersistenceContext String name (Optional) The name by which the entity manager is to be accessed in the environment referencing context; not needed when dependency injection is used. Default: "" Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.PersistenceUnit.name

Jakarta Persistence (JPA) Method in jakarta.persistence.PersistenceUnit String name (Optional) The name by which the entity manager factory is to be accessed in the environment referencing context; not needed when dependency injection is used. Default: "" Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.TypedQuery.setHint(String,Object)

ignored. Portable applications should not rely on the standard timeout hint. Depending

Step 1: Create a Maven Web Project

dependency on the Spring MVC Framework and ObjectDB and to automatically download all the required JAR

Step 1: Create a Maven Web Project

under Project Files in the [Project] window: To add dependency on the Spring MVC Framework and ObjectDB

Getting Started with JPA and Eclipse

distribution zip file. The distribution zip contains everything necessary (no external dependencies

Removing objects where ManyToMany relationships exist

could it potentially lead to a number of different exceptions, depending on state, query type ... the database intentionally. It depends . On retrieval - inverse (mapped by) collections

Filename.odb$ Persisting Issue

runnable program (with no external dependencies ) that can demonstrate it. support Support This is as ... dependencies at this point since I use FXML files for all my UI. The problem I'm describing

javax.persistence.PersistenceException

as a dependency to the project. Not sure what else I should do.   Any help would be appreciated ... . Anyway, your application works after: Removing dependency on the com.objectdb.objectdb plugin. Adding objectdb.jar

Installing a VM security fix leads to inactive DB

and it's a real bother. We understand that depending on the license type some checks are necessary ... procedure that depends on the MAC address of the device. This used to be fixed in the past 

Cast exception?

are loaded in the parent Class Loader. If you change any of these dependencies it will affect ... . A solution in that case depends on the framework that you use. support Support I did a few more tests

ObjectDB within a resource adapter module and Java EE Connector Architecture

utility JAR file that is packaged in the EAR file with its dependent module. When a separate utility ... to declare a dependency on the utility JAR file using the typical MANIFEST. MF Class-Path: declarations

objectdb on single server 20TB storage possible ?

and reliability depend much more on workload characteristics than on raw database size . Important ... (for example by time range or tenant). Whether ObjectDB is suitable at that scale depends

How to package orm.xml when using EJB in WAR?

). However, when a different web project (WAR file), which declares a dependency to the database EJB is built ... -around seems to be to add a copy of orm.xml into src/main/resources/META-INF of the web project that depends on the EJB

TimeSeries and ObjectDB

series efficiently. The optimal way to organize the data depends on the specific application activity ... many entity objects is obviously slower than retrieving one entity object. As noted above, it depends

ClassCastException of same object type

. However, this solution is not appropriate for the application. I need to be able to change plugins depending

Jboss 6 persistence.xml startup error

.plugins. dependency .AbstractKernelController] (WorkerThread#0[127.0.0.1:53209]) Error installing

Objectdb recovery

the risk of data loss significantly at the possible cost of performance (the exact effect depends

Is 2 level cache in use?

and then check if it is cached. The L2 cache doesn't always improve performance. It depends on the application

Missing (null) elements in eager loaded references

dependencies , only the minimum required classes, in each class only the minimum required code, in

WebSphere Liberty Configuration

Hi! I've been trying to get ObjectDB configured with WebSphere Liberty server. I have been able to get the sample app running in TomCat but when I run the jee version of the guestbook in WebSphere I get a combination of errors depending on how I tweak the configuration the most promising error I

Optimization Question

it would be impossible to predict which method is faster without trying. It also depends on many

Spring Data JPA - PersistenceException thrown

After a few hours of debugging, I found that the MetaModel is for JPA 1.0 spec. The dependency listed

disabling JDO in objectdb embedded mode

me why these .jdo metadata are needed ? Should I add additional maven dependencies to fix the problem

Server connection management

XP. But it might depends on the operating system. Maybe a firewall also has some effect

com.objectdb.o.InternalException: java.lang.NoClassDefFoundError: java/sql/Date

the current version of ObjectDB depends on JPA and JDO jar files with no Java 9 module support

I can't get cascading delete to work in JDO

. Apparently cascading delete has never been implemented in ObjectDB (see also "Deleting Dependent ... ;           new Holder("h1", new Dependent ("d1"), new Dependent ("d2 ... ; query = pm.newQuery( Dependent .class);         List dependents = (List )query

Why does ObjectDB duplicate classes from javax.jdo:jdo-api?

and eliminates the need for another dependency to an ORM, such as Hibernate, since it implements the JPA ... . To use the @Index annotation, I had to add a dependency to the JDO API version 3.1 (old link: https ... was that it had a single JAR file with no external dependencies (e.g., compared to Hibernate

Adding objectdb-jee.jar to the maven repository

), dependency on JPA and JTA should be explicitly specified in the pom.xml file:     

NullPointerException in __odbGetNumMember

for some entity classes to be loaded before enhancement, depending on how exactly you do the enhancement

combined index not used

? If it is, then any unique substring from that query plan that doesn't depend on parameters should work

NullPointer when accessing persistent field

you a snapshot of some of the utility dependencies )   The code being called is accessing a map declared

ObjectDB 2.9.4_06

Switched dependency to Jakarta Persistence 3.2.

auto-generated uuid fields

, but we will have to check that nothing depends on the ID being null until the object graph is persisted. spiffy

Server NPE

with index or the object without depending on startup order. I think in this case the object with index

ObjectDB enhancement fails on "is" form for @Transient boolean isLoaded(), ok for "getter" form @Transient boolean getLoaded()

getBalance() { ... } ... @Transient // because status depends upon non-persistent context public boolean

ObjectDB 2.6.1

Added an option to disable temporary file deletion . Added support of using entity classes with missing dependent types. Added support of composite indexes with components of different lengths . Fixed a bug in reflection mode in detecting changes after flush ( issue #1602 ). Fixed