ObjectDB Database Search

151-200 of 200 results

Need help to make this test work and define proper annotations for entities Lists

nor static and no entity is static.    package testodb; import java.io.File; import java.io

List of Enum Values in an entity

, the guest class is the only thing I changed in the whole application: package .model.entity; import java

Does ObjectDB support lazy loading?

that demonstrates that issue. The following sample program demonstrates lazy loading: package com.objectdb

Composite Index error 328

Hi , when i try to use this entity as shown below: package persistence.jpa.models; import javax.jdo.annotations.Indices; import javax.persistence.*; import java.io.Serializable; import java.sql.Date; import java.util.Objects; @Entity @Table(name = "usrlist", schema = "posts") @NamedQueries

Schema evolution & renamed/moved enum

Hello, I have an entity with an attribute of type enum say com.pkg1.MyEnum. I created a few instances of the class with this attribute of type com.pkg1.MyEnum and stored them in the database. Now, I moved that enum to a different package and renamed it say com.pkg2.MyNewEnum, which is not the new

Optimistic Locking

example demonstrates optimistic lock exception (it should work the same way also in JPA 2): package

Spring and packagesToScan

need packageToScan because there are many jar files with entities under "com.myentities." package

Server connection management

and couldn't reproduce the problem: package com.objectdb.test.bug; import javax.persistence.*; public final

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

file. The classes go into a javaobjectdbapp package . I am using JRE 17.0.3, and the version

Finance data from SQL Server into ObjectDB daily

Hello -   I think ObjectDB might be just the solution for our current project but I would like some feedback from the community to see if I'm thinking about it right.   We have a finance data mart that is appended to daily via an SSIS package . I would like to pull the data from SQL, add

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

.persistence.RollbackException Failed to commit transaction: (error 613)). Do you have an idea? package

Date field Index is corrupted due to time change

Tue Sep 25 21:43:11 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux   package test; import java.text

Database size is much larger than expected (x2)

unintentionally it duplicates the required space. I just tried the following simple test: package com

Merge with Parent/Child entities not possible

Can you please tell me why the following unit test ends with "[ObjectDB 2.5.7_02] javax.persistence.RollbackException"? package example; import java.io.File; import java.util.HashMap; import java.util.Map; import javax.persistence.CascadeType; import javax.persistence.Column; import javax

Queries are slow on a large database

("this.Id ascending"); The package .jdo contains for this class:      I profiled

NullPointerException in ENH.g(ENH.java:401)

package without backing this operation with a schema change declaration in the configuration file

Broken @ManyToOne reference

at ChildSuper : package testobjectdb; import javax.persistence.FetchType; import javax.persistence.Id

@MappedSuperclass and @Transient not working as I expected

; All its values are null. Here is my base class: package krum.twj.db; import javax.persistence

Failing in embedded mode, correct javax.persistance?

. Can anyone see the problem? Could the problem be the javax.persistance version? package tutorial

Query on Embedded Primary Key?

it - (full reproducible code here - just run it) Thanks  EKK   package DBbug; import java.io.Serializable

EntityManager JPA or JDO impl and different behavior

assumed that if the EMF is coming from the jpa package the EM would too, but may have been wrong

Enhancer problem

.fastmodel.fastplan.entities.drills.*"); // .. more lines for each package // connect to ObjectDB

OutOfMemoryError on search after update on DB created with DB Doctor

(and index) changes - just testing the use of DB Doctor to check DB files during package

Auto Date for Creation and Update

for something that was told to be working ... package comfortable.data.sandbox; import java.sql.Timestamp

com.objectdb.o.InternalException

application com.jrpa.servicios.Servicios.App Test program package com.jrpa.servicios.Servicios

Strange behaviour with ORDER BY and IN

; }     } This main class demonstrates the described behaviour: package de.solvit

Enhancer -s broken

Hi, after upgrading to ObjectDB 2.5.4_04 we noticed that the enhancer option -s is currently broken. According to your docs we've added the enhancer to our ant build: unfortunalety is is only enhancing ${bin.dir}/org/tinymediamanager/core/ and no sub packages /directories. With earlier versions (2

multi EntityManager with Spring Boot, but 'Too many persistable types (>10)

I'm trying to use two EntityManager with Spring Boot, but no luck with 'Too many persistable types (10) - exceeds evaluation limit' at second database. My purpose is converting database (converting model entity. same class name but different package ). Single application with Spring-Boot 2.1.8

Cannot save or update entity on Spring App

_ENTITYMANAGER_ PACKAGES _TO_SCAN)); entityManagerFactoryBean.setJpaVendorAdapter(new

Updating Entities

.createEntityManager(); ... } I use a set of controller classes for each of the models. Each controller package

EntityManagerFactory Fails To Swtich Over To Slave When Master Is Unavailable

;       Test Code package tutorial; import javax.persistence.*; import java

Automatic schema evolution causes ArrayOutOfBoundsException

No fields or classes were renamed or moved to different packages . If I now want to read an Airline

LAZY @ManyToOne field functions as EAGER

, when it is marked as @ManyToOne(fetch=FetchType.LAZY) ?   package com.greensoft.objectdb.test

How to open a running db in ObjectDB Explorer?

which is packaged within objectdb.jar Is it possible to tell the explorer which configuration file it should use

ArrayIndexOutOfBoundsException at com.objectdb.o.ALS.c(ALS.java:89)

.createEntityManagerFactory("./DB/arp.odb") I have tried to limit the application to only capture 5 packages to ensure

How to use JOIN FETCH?

queries. package testing; import java.io.File; import java.text.SimpleDateFormat; import java.util

Help with 'not like/lower' query

that out for sanity purposes with a debug statement.    Code: package com.objectdb.forum

JPA JPQL WHERE clause for IN :variable not working if variable is a list of Enums

: package test; import java.util.*; import javax.persistence.*; public class T1254 {    

[ObjectDB 2.2.6_02] Unexpected exception (Error 990) at com.objectdb.o.OBC.aJ(OBC.java:961)

.java:28)   The code is as follows: package com.reproduce.error;   import java.math

ObjectDB 2.8.6

Fixed an issue with viewing class Ids in the Explorer (see issue #2677 ). Fixed a regression bug (in version 2.8.5) in using AS in JOIN ( issue #2666 ). Fixed a connection pool issue related to memory release ( issue #2663 ). Fixed an Enhancer issue in supporting Java 9 modules and packages

Better OSGI Compability

with the objectdb bundle requiring to import all other packages for correct functionality

Threaded Test - Failed to commit transaction: Unexpected internal exception

the following test to reproduce it. package com.objectdb.test.bug.issue; import java.util.ArrayList

Unexpected exception when execute query without enhanced entities

solves #3 but not #1 / #6. Following is an attempt to reproduce error #1 / #6: package com.objectdb

Inverse OneToMany Mapping and EmbeddedId

hello support, what is wrong? --- package debug ; import static java.lang . System . out ; import static javax.persistence . GenerationType . IDENTITY ; import static javax.persistence . Persistence . createEntityManagerFactory ; import java.io . File ; import java.util . List ; import javax

each 1-2 days objects on some objectdb level lock/block each other

is received. Each package that is sent has a reply. nevertheless we will add additional protection

ObjectDB 2.9.2

Added support of the Jakarta Persistence package names (jakarta.persistence). Note: Support of javax.persistence continues in this version, using separate jar files. Use Java 8 or above with the javax variant and Java 17 or above with the jakarta variant. Added Java 9 module

Unexpected exception (Error 990) - Merge with no Transaction

I am frequently having an error when merging a detached object outside of a transaction. (Is this allowed? I am not trying to modify the object, just read data from it.) Here is a test case: package com.experiments; import javax.persistence.*; import java.util.HashMap; public class ErrorTest

Doctor bug?

, which I annotated as you suggested (in another recent issue): package net.pocketservices.athene

Blocked by find

this time :( I'll keep working to recreate it. My objectdb.conf is attached. It is as packaged

JPA Composite Key make Object Db throws "Unexpected exception (Error 990)"

be reproduced with a simple ( not embedded Id ) key with an enum type. Here is the code : package test