ObjectDB Database Search

101-150 of 200 results

NoSuchFieldError: __odbTracker on NetBeans 7.3 + JBoss 7.1.1

--127.0.0.1-8080-1) [ObjectDB 2.5.1_05] Package test is not found by the enhancer (error 108) 12:25:10,224 ERROR [stderr] (http--127.0.0.1-8080-1) com.objectdb.o.UserException: Package test is not found ... (Thread.java:722)   All objects is in the package "test". Please tell me what am I doing wrong

Cast exception?

.persistence package name inside the objectdb.jar file? So if there is a problem loading objectdb.jar at runtime, how can we get the exception contained inside the package ... and the objectdb package . I've also checked that objectdb is actually loaded by: trace("$$$$$"); trace

Embedded in JDO metadata not working in objectDB 2.x ?

Hi, I am using JDO access to the database with the persistence defined in package .jdo XML metadata ... " attribute in the package .jdo XML ? If yes, how to handle this ? 3. Should the @Embedded annotations work ... the way objects are embedded. So I should have used  in package .jdo. Btw, is this declaration

Unable to persist fields in subclass

: package miscTests; import javafx.beans.property.SimpleStringProperty; import javafx.beans.property ... () { return contactID; } public final void setContactID(long id) { if (id 0) contactID = id; } } package ... ); } else dateOfBirth.set(date); } public ObjectProperty dateOfBirth() { return dateOfBirth; } } package miscTests

General Performance Issues Illustrated with a Specific Method

]] listPatientsByIDsWithBasicData - Duration - 2993]] Entity Classes Client package lk.gov.health.phsp.entity; import ... Class package lk.gov.health.phsp.entity; import java.io.Serializable; import java.util.Date; import ... = ssNumber; } } Other Java Classes package lk.gov.health.phsp.pojcs; import java.io.Serializable; import

Error 613 - i cant put a list into a Squad object

(UMR.java:524) ... 13 more   that are my classes: first the Squad class: package test; import ... );     } } Now the Athlete Class package test; import java.io.Serializable

InternalError on multiple AND and JOIN Query

2.28_07. Here is the output from 'mvn clean package ': [INFO] Scanning for projects... [INFO ... test [INFO]    task-segment: [clean, package ] [INFO

Failed to generate dynamic type

Hi  I was trying to enhance some of my classes and I got an error :  Failed to generate dynamic type com. package .RootContainer (error 361) It seems that all dependent classes ... , can we do the same in case of JDO? can we specify with that option file package .jdo?   in a doc

object creation during pmf.getPersistenceManager()

Hi   We have observed that during pmf.getPersistenceManager(), objectdb is creating object instances for all classes declared in package .jdo.   Could You explain why? we are not even sure ... on package .jdo file, this approach has advantage to writing constructors by hand, we skiped fields

Duplicate Entity class names causes Exception in Query

I have two Entities which have the same class name but reside in different packages , only one of them is mentioned in the persistence.xml. I a NamedQuery I use the unqualified class name ... the query on objdbTest.Item package objdbTest; import .... @Entity @NamedQueries({ @NamedQuery

Explorer in 2.3

to rename the Entity Classes (especially the package names). dmoshal David Moshal One further point: I'm ... described above.   dmoshal David Moshal You can rename packages , classes and fields by using

TYPE Expression

package path but the exact name of the entity. Alex quasado Alexander Adam Build 2.3.4_02 includes a partial fix and the following test should work: package com.objectdb.test.bug.forum; import java.io

Trouble bug on explorer

: package model; import javax.jdo.annotations.Index; import javax.persistence.*; import java.io ... .UMR.H(UMR.java:764) ... 94 more     package model; import javax.persistence.Entity; import

IN expression in a Criteria Query

andrewv Andrew Voumard A test that was written for the original report, still works with 2.5.3: package ... , that still works: package test; import java.util.*; import javax.persistence.*; import javax.persistence.criteria

Missing atificat for ObjectDB?

.   marlonmin martin Do I have to move the objectdb package to our company's own maven repository ... You may try moving the ObjectDB package manually, although it should work automatically. It is unclear

Field in Generic Class not persisted?

Thanks   package DBbug; import com.google.common.base.Objects; import java.util.List; import ... ;     H3.print();     } } and the Abstract class package DBbug; import

EntityManager refresh problem

-------------------- package example; import java.io.File; import javax.persistence.EntityManager; import ... ; } -------------------- - SimpleEntity.java -------------------- package entities; import javax

Compare old and new schema

, some classes may have been renamed or changed package . Is there a way for me to check what "format ... classes, package changes etc... All these changes frequently take place between software versions

Schema Update: class hierarchy change

of MyEntity package profileMigration.classhierachychange; import javax.persistence.Basic; import javax ... to BaseEntity: [Please note the changes in the Main method] package profileMigration.classhierachychange

Find the error...JPA ENTITY HIBERNATE

.png.html       Entities:   package com.example.demo; import java.io.Serializable ... ) {   this.email = email; } public user() { } }         package com.example.demo

Problem with byte arrays in JDO - internal exception

This code generates an internal exception: package spiffy.test; import java.util.List; import javax.jdo.JDOHelper; import javax.jdo.PersistenceManager; import javax.jdo.PersistenceManagerFactory ... ("name1"); for (Example data : dataList) { System.out.print(data); } } } package spiffy.test.model

Problem with byte arrays in JDO - ClassCastException

to [B at spiffy.test.ObjectdbTest.main(ObjectdbTest.java:44) package spiffy.test; import java.util ... ; } } package spiffy.test.model; /** * * @author steve */ public class Example { private long id; private

Enhancement API - NullPointerException

Hi! I am trying to use the Enhancement API from within my application like this: com.objectdb.Enhancer.enhance("my. package .Foo"); However, I get the following NullPointerException: [ObjectDB 2.7.1 ... :69) at com.objectdb.Enhancer.enhance(Enhancer.java:90) at my. package .Main.main(Main.java:34) I

enhancement issue

: [ObjectDB 2.7.1_02] Package app.model is not found by the enhancer (error 108) com.objectdb.o.UserException: Package app.model is not found by the enhancer        

Changing existing objects from Entity to Embedded

another package which were defined as embedded-only, made a migration utility which read the original objects ... as in ObjectDB 1.0), either by annotation ( @Embeddable ) or by external XML metadata ( in package .jdo ). support Support

EntityManager getMetamodel() causes crash

the db each time, so this is on an empty db. package test; import javax.persistence.*; /** * Test Case ... (); } } package test; import java.io.Serializable; import javax.persistence.Entity; import javax.persistence

javax.transaction.Synchronization with Java SE 10.0.1

.LayerInstantiationException: Package javax.transaction.xa in both module java.transaction and module java ... , which includes only a small subset of that package and particularly does not include

EntityTransaction.commit() does not release a pessimistic lock

result. (side note: EntityTransaction.rollback() releases it correctly) // Account.java package icke ... += a; } } // Main.java package icke; import javax.persistence.*; import java.io.File; import java.util

objectdb:2.8.4 - Error occurred during initialization of boot layer

and java.sql export package javax.transaction.xa to module commons.collections Process finished ... layer java.lang.module.ResolutionException: Modules java.sql and objectdb export package javax

Does ObjectDB support lazy loading?

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

Optimistic Locking

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

Server connection management

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

c.o.jpa.type.EntityTypeImpl.getIdType() returns null

SingularAttributeImpl   (id=96) m_idType null m_superType null m_sysType Class ( package .Foo) (id=49) m

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

have tried to limit the application to only capture 5 packages to ensure that the maximum allowed

What role is the JDO in ObjectDB?

Then, what is the difference between JDO's Index and ObjectDB's Index? Or, ObjectDB package

Annotations not supported in -source1.3 (use -source 5 or higher ..)

Netbeans and copied the points package over into it, and added the objectdb.jar library and it compiled

"where in" query

: package com.objectdb.forum; import java.util.*; import javax.persistence.*; public final class T351

ORDER BY problem, when String starts with language specific character

, but this should work: package com.objectdb.forum; import java.text.*; import java.util.*; import javax.persistence

Cannot sort descending, when ordering by caluculated float in a method

the issue? package com.objectdb.forum; import java.util.*; import javax.persistence.*; public final class

Enum fields are set to null and embeddable enum class does not show in explorer

this is relevant. public enum Role implements package .of.Role {     ... } @ElementCollection ... the interface (but different package )? itsme Martin Petzold I checked version control. The entity ... has the same name as the interface (but different package )? This is possible

Issues with JDO Casting & Full Qualified Names

Hi, As I've feared.. Fully Qualified Names in casting not working, throws an identifier expected exception: package com.test; import java.util.HashMap; import java.util.Map; import javax.persistence ... to be supported by JDO. Try: package com.test; import java.util.HashMap; import java.util.Map; import

ObjectDB BIRT Driver Update

. package .reporting.product Command-line arguments:  -data C:\Users\kwhittin\new_workspace_birt -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp. package .reporting.product org.eclipse.birt.report

Feature suggestion: Improved Maven Enhancer support

when there are lots of entities in different packages (and also a bit error prone, because you need to remember add a new argument each time an entity is added in a new package ):      com

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

packages and classes that clash with the JDO API's JAR? If a project uses JPA and JDO, it is most likely ... which is an abstraction (I believe). Furthermore, I believe and finding the same packages in two different

Entity field renaming does not work

Hello, we use the ObjectDB version 2.8.5_05. We want to rename a field in an entity and it does not work: from: package com.btc.ep.analysis.verdict.tolerance.bl.internal.dmos; @Entity @Access ... ;   We have also class and package renaming for other entities and it works correctly. btc_es BTC

Dynamic Metadata (JDO 3.0)

JDO 3 introduces the ability to specify and query metadata of persistable types dynamically. ObjectDB 2 supports specifying metadata by: JPA XML Mapping Metadata JPA Annotations JDO XML Metadata (e.g. package .jdo) JDO Annotations All these methods are static, i.e. the metadata has to be provided

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

Better OSGI Compability

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

[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

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