ObjectDB Database Search

51-100 of 153 results

Class loading problem with private packages in OSGi environment

to generate dynamic type com.btc.ep.architecture.ccode.bl.impl.CodeArchitectureImpl (error 361 ... .UserException: Failed to generate dynamic type com.btc.ep.architecture.ccode.bl.impl ... ] [ObjectDB 2.6.1] javax.persistence.PersistenceException Failed to generate dynamic type com.btc.ep

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

a way that requires switching to a backup database. However, if you send the original database, not ... that runs automatic backup daily (and if possible several times every day) and then checks the backup ... on fixing it. By checking backup copies using the Doctor you can at least tell whether there is a database

InternalException when reading a HashMap

the DB file. We were then searching for backups of the database which would still work and found out that the latest backup which works is the one just before the first report of "Too many persistable ... earlier next time.   jakab Gergely Jakab Hi, Usually running the Doctor on every backup

ObjectDB within a resource adapter module and Java EE Connector Architecture

: https://stackoverflow.com/questions/8784302/ dynamic -persistencecontext-unitname-attribute-for-container-based-entitymanager https://stackoverflow.com/questions/9957179/jpa- dynamic -persistence-unit-name https://stackoverflow.com/questions/33790875/how-to- dynamically -modifying-unitname-in

Dont want to use Proxy Class

dynamic type objectdb.java.util.ArrayList...". From Objectdb developer's guide, this kind ... is that all the necessary classes will be available at build time. Therefore, using defineClass dynamically by ObjectDB ... file to eliminate the need of dynamic class generation. support Support

Multi-tenant setup

request to appropriate database, how to dynamically add new database or schema. There are lot ... of entity managers in Java EE and JPA is static. ObjectDB supports a dynamic  schema, if your application generates entity classes dynamically (e.g. using CGLIB, javassist, asm, bcel

Feature Request for database.obj$ file

down the server once a day. Meanwhile our customers might do some backups - in addition to the serverside triggered backup with createQuery("objectdb backup "). I have no glue what might happen to the data

Enhancer failure: Failed to process class file of type

to generate dynamic type jdk.internal.reflect.SerializationConstructorAccessorImpl     ... .objectdb.o.UserException: Failed to generate dynamic type jdk.internal.reflect.ConstructorAccessorImpl

DB Explorer and Doctor unable to open DB file

.objectdb.o.UserException: Failed to generate dynamic type quant.phdsc_new.placement_builder.data.RackModel ... to generate dynamic type quant.phdsc_new.placement_builder.data.RackModel (error 361)  

JRebel integration feature

Feature request: Dynamic class enhancement during development compatible with JRebel. dmoshal David Moshal ObjectDB 2 supports dynamic enhancement using a Java Agent. Please try it and see if it is compatible with JRebel. support Support I would like to support this ambitious feature request. I

ClassCastException on SELECT NEW ... after UPDATE over Java RMI

SET r.notes=r.notes WHERE r.id IN (1L) Obviously this is a bug. ObjectDB supports dynamic types (in order to support dynamic type languages in the future), but this is currently not in use

ObjectDB Enhancer Tool in Java 9

to generate dynamic type jdk.internal.reflect.SerializationConstructorAccessorImpl at com.objectdb.o ... :436) ... 2 more Caused by: com.objectdb.o.UserException: Failed to generate dynamic type jdk

how explorer queries work

with the object model as well, even if i have to avail to dynamic class loading, reflection, etc. jon jon ... class or retrieval. If you build your classes dynamically it could definitely explain

Custom Classloader: Issues with the Enhancer Agent

In my use case I generate some classes dynamically and load them with a custom classloader. The classloader is very standard and does something like this (simplified): public class MemoryClassLoader ... than the one that you implement for the dynamic classes).  Does the classloader used by the enhancement agent

Maven driven compile time ehnancement

'guest.GuestListener'. I get the error: [ObjectDB 2.2.2] Failed to generate dynamic type guest ... dynamic type guest.GuestListener at com.objectdb.o.MSG.d(MSG.java:74) at com.objectdb.o.ACL.e(ACL

Field not persisted in abstract class with two level of nesting

.PersistenceException Failed to generate dynamic type objectdb.BUG2.AS (error 361) at com.objectdb.jpa.EMImpl ... to generate dynamic type objectdb.BUG2.AS at com.objectdb.o.MSG.d(MSG.java:74) at com.objectdb.o.ACL

Upgrade to Java 8 won't run

to generate dynamic type java.util.HashMap$Entry at com.objectdb.o._PersistenceException.b ... .groovy) ... 21 more Caused by: com.objectdb.o.UserException: Failed to generate dynamic type java.util

Failover from Master to Slave

/9957179/jpa- dynamic -persistence-unit-name https://stackoverflow.com/questions/8784302/ dynamic

best practice for DB recovery

to recover from a failed instance would be to simply stop all writing, take a backup from the working instance(that will make sure all transactions are committed) and then copy the backup to the failed

ObjectDB size not reducing

records reduce, as it is live in production. I do an hourly backup and the backup file is not any

Doctor - high memory usage

. But since it is a background tool (integrity check can be done on a backup copy generated by the online backup ) - I think it is not an issue of high priority. However, if you have a test database

DB Files permissions

Hello, is it possible to configure default file permissions on created files? ObjectDB creates DB files with 644 linux permissions. We would need 664. This should apply also to backup files created ... .createQuery("objectdb backup ", Thread.class); backupQuery.setParameter("target", getBackupDirectory

Activation code is invalid, if restart OS Ubuntu 22.04

during activation)? support Support I deactivated the network adapter which has the dynamic mac address

Programatic configuration or configuration file loaded from classpath or file

Hi! I found information about the configuration of ObjectDB:  https://www.objectdb.com/java/jpa/setting . However, I have a dynamic environment and don't want to place the configuration file in the filesystem. I would like to enable the level2 cache for all entities:  https://www

ways to recover from DB curruption

Hi, I have a database file which was mistakenly opened by a different version of my entities model and is now not usable any more. When I try to open this file using explorer or even running the Doctor on it I get this exception: Caused by: com.objectdb.o.UserException: Failed to generate dynamic

Schema-Update: Rename superclass and remove one subclass

Hello, we renamed a superclass and removed one of the subclass. If we then try to open the Database (with ObjectDB-Explorer) we get a "Failed to generate dynamic type ..."   Small Example: Generate Database public static void main(String[] args) { EntityManagerFactory emf = Persistence

Cast exception?

Support I've tried using dynamic query instead of Named, and also Query instead of TypedQuery

How to resolve 404 errors with Eclipse/Maven Spring MVC

(with a dynamic web facet) and add Tomcat 6 as a server, it asks me if I want to move my guestbook app

ObjectDB version 2.3 has been released

to generate dynamic type" exception. Fixed a bug in query plans that use an inherited index . Fixed bugs

multiple LEFT JOINs do not work as expected

is the root. The query also contains a number of other predicates and it is built dynamically using

Problem Using Reflection

your application. This could cause various issues. If you build the classes dynamically make sure

@Convert is not supported?

predefined and might be added dynamically ), if I didnt explain the problem clear enough please let

slow performance for a complex query

Hi, We have a query that is constructed dynamically , an example is like this: SELECT DISTINCT $1 FROM CDI $1, Organisation $2, Organisation $3 WHERE ((UPPER($1.cdiId) LIKE 'THREAD14%') AND ((($1.parentOrgId='news') OR (($1.parentOrgId=$2.organisationId) AND ($2.parentOrgId='news'))) OR ((($1

missing merger

, could that be the problem ? Here the link tot he backup of this night, no doctor done on that https://www.dropbox.com ... Zwicker Some initial observations: Running the Doctor on the database at #4 (yesterday's backup ... Hans-Georg Zwicker Copies of the databases before (latest backup ) and after the exception will help

Query fails with failed to read

backup and was fixed in version 2.6.3. Are you using online backup when the exception ... we have it now 5-10 times per day. There is not any backup activity active during these times. It always happens ... with the embedded ObjectDB but by a different process (anti-virus? virus? backup ? another application that uses

InternalException caused by OOM: Metaspace

.objectdb.o.InternalException: com.objectdb.o.UserException: Failed to generate dynamic type objectdb.java.util.ArrayList com.objectdb.o.UserException: Failed to generate dynamic type objectdb.java ... ) when ObjectDB is trying to generate a dynamic wrapper class for ArrayList ( objectdb.java.util.ArrayList

Compare two schemas or odb files

For example, if we make a backup of our database it would be helpful to have the possibility to compare the backup schema (odb file) with the current version in the database and as result ... graphs stored in the db with old graphs from backup db. wua Andreas Wurm

JPA Query Criteria API (JPA 2.0)

The JPA Criteria API supports dynamic definition of JPQL queries using CriteriaBuilder as a factory. ObjectDB supports dynamic definition of JPQL queries as strings. Support of the new JPA 2 Criteria API in expected in future versions. support Support   Implementation of the JPA Criteria

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

is because of an automated database backup , not critical. between saturday and yesterday we had always CPU peeks ... (much more than a backup ) and should be done when system load is low. There are no known issues

again merger missing logs + objectdb exception

(2.7.2) to repair the database. If you have a daily backup that you can run the Doctor ... about these stack traces. To be on the safe side please use the Doctor to check the database (or generated backups

Database access error , Doctor hanging on trying to repair, production shutdown at our biggest customer

be that bad but it has to be checked. Another thing that you can do is frequent online backups followed by a Doctor check of the backup files, at least daily, to verify that the database is healthy

ObjectDB 2.6.3

Added an option to disable some query execution optimizations. Added an option to exclude persistence aware enhancement ( feature request #1683 ). Added an option to use temporary files for very large transactions ( feature request #1658 ). Fixed an online backup bug (no access during backup

ObjectDB 2.8.7

Added an option to slow backup (see  feature request #2681 ). Added an option to view old type versions in the Explorer (-Dobjectdb.ui.debug=true) Improved the Doctor (see  issue #2691 ... to slow backup in client-server mode (see  feature request #2681 ). Fixed Explorer issue after schema

Transaction size limit

it could be solved via a special Query like "objectdb backup " which is used for online backuping . jakab

[ObjectDB 2.6.9] Unexpected exception (Error 990)

problem.. version 2.5.6_05  - size of data 100GB I am running a Doctor in prod (in a backup file ... been migrated. New database copy is ready at: backup \201703291624\pcsodbcsv_new.odb jastorga Juan Doctor

javax.servlet.ServletException: Annotated methods must follow the JavaBeans naming convention. __odbHidden_getPropertyName

;   } It appears in part of a JSF template with dynamic CSS style parameters: style="min

ObjectDB 2.5.6

enhancing class files that use INVOKE DYNAMIC . Fixed an error message in accessing a field of an unknown type in queries ( issue #1417 ).

ObjectDB 2.3.0

. Fixed the "Failed to generate dynamic type" exception. Fixed a bug in query plans that use

NPE using AND TRUE in WHERE clause

The following ( dynamically generated) query causes an NPE: SELECT e FROM Event e WHERE e.account=:account AND TRUE When I change it to a trivial term which evaluates to true, it works fine: SELECT e FROM Event e WHERE e.account=:account AND 1=1 Here is the stack trace: om.objectdb.o

ObjectDB 2.8.8_01

Added support of enhancing classes with Java 11 dynamic constants. Added a warning if an expired activation is found in the configuration ( issue #2817 ) Fixed a bug in automatic conversion of embedded objects to collections.