ObjectDB ObjectDB

Internal Website Search

101-110 of 200 resultsRefresh
68

Wrong data stored in date only fileds

Wrong data stored in date only fileds
13

Database Connection using JPA

not yet exist a new database file is created. When the application is finished using ... the database file. Connection URL The createEntityManagerFactory method takes as an argument a name ... of a local database file has to be specified (e.g. "my.odb"). Specifying the objectdb: protocol as
13

JPA / JDO Class Enhancer

file. You can run it from the command line as follows: > java -cp objectdb.jar com.objectdb ... .jar file and to the JVM. A usage message is displayed if no arguments are specified on the command ... of a class (without .class suffix) in the CLASSPATH <filename> - path to class or jar file(s
13

Apache License, Version 2.0, January 2004

to software source code, documentation source, and configuration files. "Object" form shall mean any form ... to You under this License for that Work shall terminate as of the date such litigation is filed. 4. Redistribution ... ; and You must cause any modified files to carry prominent notices stating that You changed the files
10

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 ... unit name as an argument, but when using ObjectDB, any valid database file path (absolute or relative
2

Step 2: Entity Class and Persistence Unit

: src/main/java > guest). Use copy and paste to replace the new source file content ... guests in the database. We also need to configure JPA by setting a META-INF/persistence.xml file ... the new META-INF folder in the [Project Explorer] window, select New > File, enter persistence.xml as
2

Step 2: Entity Class and Persistence Unit

the [Provider and Database] step just click Finish to generate a default persistence.xml file ... to replace the new source file content with the following code: package guest; import java.io ... file that was added to the project (under Configuration Files). Open the persistence.xml file in
2

Step 2: Entity Class and Persistence Unit

the project (under Java Resources: src > guest). Use copy and paste to replace the new source file ... /persistence.xml file: Open the [New Folder] dialog box, e.g. by right clicking the project node (in ... > File, enter persistence.xml as file name and click Finish. Verify that a new persistence.xml file
1

Step 2: Entity Class and Persistence Unit

the [Provider and Database] step click Finish to generate a default persistence.xml file ... the new source file content with the following code: package guest; import java.io.Serializable ... + ")"; } } A default JPA persistence unit (with default settings) was generated in a persistence.xml file
1

[ODB1] Chapter 1 - About ObjectDB

and JDO jar files with you. You can even run your application on small devices like PocketPC ... ObjectDB as a class library, so no server process is needed in another JVM. The database file is accessed directly by the application's process, using JDO and ObjectDB jar files that are added

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