About package

1-10 of 200Refresh
Manual
44

Schema Update

The configuration element supports renaming packages, classes and fields in ObjectDB ... is required when persistable classes are renamed or moved to another package. Running the application ... abilities: <package name="com.example.old1" new-name="com.example.new1" /> <package name
Forum
43

Schema update: package, class and field

Hello, how can it be specified in the schema, that an entity is moved to another package? Package ... the schema?   I found in the manual only how a whole packet can be renamed: <package name="com ... we can specify it like this: <package name="com.btc" new-name="com.btc" >
Forum
42

Primary key generation problem after changing entity package

Hi, I changed package name for some of my entities in database. I added info in <package ... initialValue setting. Regarding #1 - I tried the following test: package com.objectdb.test.forum ... ;    } } Then I renamed A to B and added schema update to the configuration:            <package
Forum
41

Class loading problem with private packages in OSGi environment

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 also load ... , global” dependent: Allows access to all packages (also private) of a bundle which itself has a dependency
Forum
41

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 classes
Forum
41

package not found running ObjectDB under OSGi

my classes (using Ehancer from that new bundle), however I got an error :  [ObjectDB 2.2.8_02] Package ... );   The classLoader I pass has definitely access to the NamedCoreObj class. Also package datamodel.core ... but a limitation. Java doesn't provide an API for locating all the classes in a package. ObjectDB
Forum
41

package.jdo validation error (Connection timed out)

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

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
Forum
40

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

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

JPA Persistable Types [2019-08-10]

, package or private) and it can be either concrete or abstract. Entity Class Names Entity classes ... of the entity class (i.e. the short class name excluding the package name). A different entity name can be set ... class MyEntity { } Entity names must be unique. When two entity classes in different packages