ObjectDB ObjectDB

Internal Website Search

31-40 of 200 resultsRefresh
111

setting activation code in persistence.xml or env file or system properties

Wondering if it's possible to add the activation code either: - in persistence.xml - or in a .env file - or system properties dmoshal David Moshal These options are not supported. However, you can embed the configuration file with the activation code as a resource, e.g. by replacing the objectdb
111

Compress ODB file with XML content

is used by field value in entity class LogVolatileEntityImpl, which contains XML with a very high
13

JPA Named Queries

can be defined in JPA XML mapping files instead of using the @NamedQuery annotation. ObjectDB supports JPA XML
13

Obtaining a JPA Database Connection

to get an EntityManager instance. JPA requires the definition of a persistence unit in an XML file in order ... persistence unit in an XML file or you can simply provide the file path of the ObjectDB database
13

ObjectDB Object Database Features

) - no external dependencies. Simple (codeless) configuration using XML and annotations. Zero administration ... ) in annotations (@NamedQuery) and XML. Query parameters for efficient reuse of one query in multiple
11

javax.persistence.spi.PersistenceUnitInfo

-unlisted-classes element in the persistence.xml file. Returns: whether classes in the root ... corresponds to a jar-file element in the persistence.xml file. A URL will either be a file: URL ... .xml file or is provided at deployment or by the container. Returns: the JTA-enabled data source
3

Step 1: Create a Maven Web Project

to create the project. The configuration of the new created project is contained in a pom.xml file ... all the required JAR files from Maven repositories - open the pom.xml file and in the pom.xml tab use
2

Step 1: Create a Maven Web Project

. The configuration of the new created project is contained in a pom.xml file that was created ... and to automatically download the required JAR files from Maven repositories - open the pom.xml file
1

[ODB1] Chapter 2 - A Quick Tour

. To become persistent, a class has to: be declared in a JDO metadata file in XML format. include ... as persistent in a special XML file, called the JDO metadata file. The Person class ... as person.class: 1 <?xml version="1.0" encoding="UTF-8"?> 2 <!DOCTYPE jdo SYSTEM "http://java.sun
1

javax.jdo.Constants

of the standard JDO configuration resource file(s). Constant value is META-INF/jdoconfig.xml. Since: JDO 2.1 ... configuration schema namespace. Constant value is http://java.sun.com/xml/ns/jdo/jdoconfig. Since: JDO 2.1 String JDOCONFIG_XSD_RESOURCE The name of the resource for the XML schema of the standard JDO

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