ObjectDB ObjectDB

Internal Website Search

1-10 of 200 resultsRefresh
153

Schema update: package, class and field

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

Primary key generation problem after changing entity package

Hi, I changed package name for some of my entities in database. I added info in <schema><package ... the following test: package com.objectdb.test.forum; import javax.persistence.*; public class T719 ... update to the configuration:     <schema>       <package name="com.objectdb.test.forum
145

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
145

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

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 ... access to the NamedCoreObj class. Also package datamodel.core.base was set in my primary plugin as ... provide an API for locating all the classes in a package. ObjectDB can still locate classes
143

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
57

Schema Update

The <schema> 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: <schema> <package name="com.example.old1" new-name="com.example.new1" /> <package
6

[ODB1] Chapter 4 - JDO Metadata

system. Therefore, at deployment, .jdo metadata files must be packaged with an application's .class files and the other resources ... , the class is persistent, and if not, the class is transient. Metadata for class a.b.X (a.b is the package ... the order shown): META-INF/package.jdo WEB-INF/package.jdo package.jdo a/package.jdo a/b/package.jdo
3

[ODB1] Chapter 2 - A Quick Tour

must be declared in a metadata file named either package.jdo (generic name) or Person.jdo (name of the class ... , which is devoted to JDO metadata. The following package.jdo file is located in the same directory ... .com/dtd/jdo_1_0.dtd"> 3 4 <jdo> 5 <package name=""> 6 <class name="Person
3

[ODB1] Chapter 7 - JDOQL Queries

a package name can always be used. The package name can be omitted only for classes in the java.lang package (e.g. String instead of java.lang.String), for classes that are in the same package as ... neither package java.lang nor the package of the candidate class. Using a short class name

Getting Started

ObjectDB is very easy to use. Follow the Getting Started Tutorial and the Quick Tour manual chapter and in minutes you may be able to write and run first Java programs against ObjectDB.

Prior knowledge or experience in database programming (SQL, JDBC, ORM, JPA, etc.) is not required, but some background in using the Java language is essential.

Need Help?

  1. Search ObjectDB website
  2. Read the FAQ
  3. Follow the Tutorials
  4. View or post in the forum
  5. Search or file an issue
  6. Contact support