Internal Website Search

51-100 of 200 results

Package name for persisted entities

Hi, I have a question about package name and searching for entities. As for now we were using ... specify full name with package in persistence.xml and set "exclude-unlisted-classes" for true, ODB ... - package -for-entities' in persistence.xml so I can set where ODB should look first for entity

Class loading problem with private packages in OSGi environment

everything well. But now we have in the Business Layer private packages that are not exported. The entities implement interfaces from these private packages . If ObjectDB now want to load such entity tries ObjectDB ... : dependent, global” dependent: Allows access to all packages (also private) of a bundle

package not found running ObjectDB under OSGi

] Package datamodel.core.base is not found by the enhancer (error 108) The Enhancer was run in ... to the NamedCoreObj class. Also package  datamodel.core.base was set in my primary plugin as ... doesn't provide an API for locating all the classes in a package . ObjectDB can still locate classes

DB Explorer cannot be opened after schema package renaming of entity types

The DB Explorer cannot be opened after schema package renaming of entity types ... the database the entity types and deprecated entity types can be part of the identical package . The schema update tries to rename the package name for entity types and deprecated entity types

Primary key generation problem after changing entity package

Hi, I changed package name for some of my entities in database. I added info in ... setting. kborkowski Karol Borkowski Regarding #1 - I tried the following test: package com.objectdb.test ... everything works fine. Unfortunately, in our more complex schema sequences are lost after entities package

Schema update: package, class and field

Hello, how can it be specified in the schema, that an entity is moved to another package ? Package Structure (version 1) com |- btc |- impl |- Class1.java |- internal |- Class2.java |- Class3.java Now I want to move Class2   from com.btc.internal to com.btc.impl com |- btc |- impl |- Class1

package.jdo validation error (Connection timed out)

.objectdb.o._JdoUserException: Failed to validate xml file \RTDLogger.jar# package .jdo: Connection ... .getPersistenceManager(); Can you please let me know if i need to change something in my package .jdo file

Ambiguous entity name after package renaming

I maintain an open source Java Swing application with 4 (ObjectDB) classes within 1 package . I renamed the package . And now I get a Ambiguous entity name PersistenceException error with reference to both the entity names (old and new) I now have 8 entities in de Explorer (4 old and 4 new). The new ones are empty. I tried to use schema update method:

UserException: Package com.example.model is not found by the enhancer

My program works fine when I run it from Netbeans but as soon as I clean and build and move the dist directory out of the project to a remote location and run it using java -jar example.jar then I get the exception: com.objectdb.o.UserException: Package com.example.model is not found by

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

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

JPA Persistence Unit

to annotations. Both JPA mapping files and JDO package .jdo files are supported. This manual focuses on using

JPA Primary Key

, char , int , long , float , double . Equivalent wrapper classes from package java.lang: Byte

Java 9 support

, uses, provide, Module packages )? e.g. do we need requires transitive?  do we need to export all these packages ?  why do we need opens com.objectdb.image ? and these 5 uses directives ... what is offered by a package and "well, I better make it accessible because I don't really know

Problem with entities detection

the same package when I called my DAO to be stored successfuly. If the entity is in another package ... .Direccion (the @Embeddable) to the same package of centroController, it just works, and locates entities from other packages . https://i.imgur.com/JXTyHHM.png (old link: https://i.imgur.com/JXTyHHM.png)  

JDO sequences from ORM file

I want to use sequences in JDO without using annotations. Normally this is done with a package -X ... (that are part of every build), but in a package .jdo file rather than an  orm file. Maybe the problem ... ? Could you try putting it in the ordinary package .jdo file? support Support I didn't think sequence was valid

ODB tries to create log files inside its own jar on Win7

files inside objectdb.jar, which was inside the executable jar packaged by Eclipse.  ... more[/code] I don't know if this is a problem with ODB itself, or with the way Eclipse packaged ... including in Eclipse plugins so it seems to be related to packaging . Configuration and logging paths

Complex Schema Upgrade not working

and Member). Our new hierarchy looks like that: - The package "member" has been renamed to package ... ; Only renaming packages worked well but when trying to make a schema upgrade with the classes results ... has been properly restarted. All other classes which just had package renames are working well. Any idea

Database is erased after deploying a new web application version

(Unknown Source) Yotam Yotam Boaz Is  com.webapp.firstwebapp your package ? java.lang ... on an invalid event. support Support I'm using 4 packages for this web application, each holds ... which extends HttpServlet is in the com.webapp.firstwebapp.services package . I've created

ObjectDB within a resource adapter module and Java EE Connector Architecture

EE Connector Architecture so that it may be packaged separately from (but used by components ... ; webel Dr Darren Kelly Related, from IBM Knowledge Center: EJB 3.x module packaging overview (old ... with it, can be packaged in the module for which they are required. They can also be packaged in the separate

DB reading fails in debug mode in Eclipse

of my.example. package .AnalyzeSettings using a no-arg constructor at com.objectdb.o.MSG.d(MSG.java:75) at com ... . package .Tool.deepCopy(Tool.java:1597) ... 20 more Caused by: com.objectdb.o.UserException: Failed to construct an instance of my.example. package .AnalyzeSettings using a no-arg constructor at com

Query becomes slower on moving from ObjectDB 1.x to ObjectDB 2.x

;     Just now i realized that LogEntryAttributeImpl is defined twice in the package ... steps 1. Update the package .jdo with an index defined 2. Convert the old odb file 3. Connect ... with that package .jdo file removed the index. So maybe after fixing the package .jdo file you will not

Using the wrong class to access a database

the Point database described in the Getting Started section: package com.objectdb.tutorial ... entity } } em.getTransaction().commit(); } } the Point class: package com.objectdb.tutorial; import ... is almost the same as the first; it only calls the retrieve method, no data is added. The package name is 'com

Schema Update large refactoring

Hello, we want to perform a major refactoring of our package names and hence need to do an automatic schema update of our database using the objectdb.conf file. The old package structure looks like this: "com.btc.ep.*, while the new one will be "ep.*", where "*" can be any number of "sub"- packages

Field not persisted in abstract class with two level of nesting

ATT. Here is an example code MHD1 package BUG2; import java.io.Serializable; import javax ... ; } } TZ1 package BUG2; import javax.persistence.Embeddable; @Embeddable public class TZ1  ... ;         return hash;     } } AS package BUG2; import

openejb jpa jaas module

hello , i've finished jpa jaas module. Here it is : package com.bayner.auth; import com.bayner.jpa ... ); ((PasswordCallback) callbacks[1]).clearPassword(); } } package com.bayner.jpa; import javax.persistence ... Templates. } } package com.bayner.jpa; import network.data.Settings; import javax.jdo.annotations

JBoss 7 startup fails

-openjdk/jre/lib/i386/client:/usr/lib/jvm/java-6-openjdk/jre/lib/i386::/usr/java/ packages /lib/i386:/lib ... :49:37,704 ERROR [stderr] (MSC service thread 1-3) [ObjectDB 2.2.9_12] Package guest is not found by ... .UserException: Package guest is not found by the enhancer 13:49:37,706 ERROR [stderr] (MSC service thread 1

Error occured during initialization of boot layer

.ResolutionException: Module objectdb contains package javax.transaction.xa, module java.transaction.xa exports package javax.transaction.xa to objectdb   My entity class looks like this: package ... .transaction.xa and objectdb export package javax.transaction.xa to module javafx.swt. Ps.: I am using Eclipse

Persist error @ManyToMany how to define correct entities relationships

if they were embeddable entities) i added screenshot of the explorer   package testodb; import java ... the table on 2, and it is not filled correctly, the other category is ignored.   package ... what i need without keeping generated indexes.   package testodb; import java.io.Serializable

Running ObjectDB on a node that does not have internet connectivity

a package .jdo file) has failed. You are probably using an old beta version, in which the dtd file is not ... , but an attempt to access the Internet might still happen if the XML headers of the package .jdo files do not match the local dtd. Try to set the headers of all your package .jdo files to: support Support

Type ... is not defined as an entity (@Entity is missing) (error 302)

.main(Main.java:1384)   The CultureRqst is shown below: package com.epimss.lab.data.bacti import ... for each project that I use objectdb in. Now objectdb is tied to its own JDO API by packaging . Hence if I ... to this variable but then this does not work.   The only solution it seems is to: 1. Package objectdb as

Pre-detach loading: retrieval by navigation not working in if statement

only applies the enhancer to classes inside dedicated entity sub- packages (using , and reliably echos ... only applies the enhancer to classes inside dedicated entity sub- packages (using , and reliably echos ... and Interface types that are (for better or worse) in those same "entity" sub- packages . Q1: Could that make

Failed to validate XML

UsersGroupsRolesSecurityTest { private static final String ALL_MODEL_ PACKAGES = User.class.getPackage().getName ... com.objectdb.Enhancer.enhance(ALL_MODEL_ PACKAGES ); final EntityManagerFactory factory = Persistence ... /persistence/index.html In project do modifications: in resources folder create package "javax

JBOSS AS7 7.1.1 - Entity not persisted and createNamedQuery fire exception

for building the Guestbook.war only maven.   My GuestDAO code is as follows: package guest ... of the .war having objectdb*.jar packaged within the war does not make any more difference. so I've ... of GuestDAO becomes: package guest; import java.util.List; import javax.ejb.Stateless; import javax

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

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

New to Product & Having An Issue

shows these two classes. package test.Domain; ...imports.... @Entity @Access(AccessType.PROPERTY ... () == null || this.domainId == null) return false; return this.domainId.equals(obj); } } package test ... (foreign.getObjectId())); } return false; } } I then setup a JUnit test case, like this: package test

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

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

OutofMemory error with Object DB 2.0

.evictAll() after commit, it does not make difference. All the entity classes in my package .jdo ... and this is the only blocking issue for our release. I am also attaching our package .jdo files (previous file used ... ; madhuarish Bhanu Pathak Previous version of package .jdo madhuarish Bhanu Pathak Build 2.4.3_06 includes

JDO PersistenceManager.getSequence() returns null sometimes

out with NullPointerException the second time. Entity class, in package testcase: package testcase; public class Thing { private String message; public Thing(String mess) { message = mess; } } package .jdo (in the root package ; you can verify that it is being read at run-time by introducing an error such as an invalid

Enhancer option -s works not as expected

. The enhancer supports specifying classes for enhancement either as packages and classes or as files ... packages . As in Java  import statements, there is no wildcard for covering sub packages , and you have to specify each package and sub package explicitly, e.g. ... com.objectdb.Enhancer -noaware

ObjectDB-2.6.9: Failed to commit transaction: Failed to set numeric value of field property Element.id using reflection

: (all classes within entity packages ): javac.classpath:lib/objectdb-2.6.9.jar [ObjectDB 2.6.9 Enhancer] 8 ... within entity packages ): The entity model is built and persisted in Main in protected void ... /JVM detail version: 1.8.0_74 ObjectDB enhancer: begin: (all classes within entity packages ): javac

ClassCastException during query

and caused the class cast exception must be also enhanced. I moved the enum to an entity package ... the entity package , this has organization reasons. And I tested your fix with the last ObjectDB ... an entity package or outside of an entity package ? best regards BTC btc_es BTC EmbeddedSystems  

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

Exception in thread "main" java.lang.NoSuchFieldError: __odbTracker

: __odbTracker at com. package .Network.__odbSet_Connections(Network.java:1) at com. package .Network. (Network.java:95) at com. package .EnhancementTest.main(EnhancementTest.java:14)   Network class

javax.jdo.spi.PersistenceCapable

should be the fully qualified name, including package name and class name of the class declaring the field ... the same field, and if the package and class name are not provided by the parameter in this API

javax.jdo.spi.I18NHelper

for a bundle called "Bundle.properties" located in the package of the specified class object and (String ... out the bundle name for the class object's package and uses the class' class loader to find the bundle. Note

PersistenceCapable.jdoMakeDirty(fieldName) - JDO Method

. The field name should be the fully qualified name, including package name and class name of the class ... classes declare the same field, and if the package and class name are not provided by the parameter

I18NHelper.getInstance(cls) - JDO Static Method

JDO Static Method in javax.jdo.spi.I18NHelper I18NHelper getInstance (   Class cls ) An instance bound to a bundle. This method figures out the bundle name for the class object's package and uses the class' class loader to find the bundle. Note, the specified class object must not

javax.jdo.Query

interface imported by method declareImports , or denote a class or interface from the same package as