ObjectDB ObjectDB

Internal Website Search

1-10 of 200 resultsRefresh
210

Database Connection using JPA

the database file. Connection URL The createEntityManagerFactory method takes as an argument a name ... the location of the database file on the server, relative to the server data root path. Connection URL Parameters The following parameters are supported as part of an ObjectDB connection URL: user
162

Obtaining a JPA Database Connection

In JPA a database connection is represented by the EntityManager interface. Therefore, in order ... is considered by ObjectDB to be a database URL rather than a persistence unit name. The $objectdb ... a connection to the database. When using JPA, every operation on a database is associated
79

Database Replication and Clustering

becomes unavailable the connection will automatically switch (temporarily) to the next available URL (i.e. in ... the configuration: <server>     <connection port="6001" max="100" />     <data path="$objectdb/db-files" />     <replication url="objectdb://localhost:6000/my.odb;user=a;password=a" /> </server
76

Server Configuration

is specified it also has to be specified by clients in the URL connection string when connecting ... operations of the server process. When connecting to the server the path that is specified in the URL ... : <server> <connection port="6136" max="0" /> <data path="$objectdb/db-files
49

JPA Persistence Unit

> <properties> <property name="javax.persistence.jdbc.url" value="objectdb ... elements specify general properties. JPA 2 defines standard properties for specifying database url
17

[ODB1] Chapter 5 - JDO Connections

PersistenceManager instance. The PersistenceManagerFactory's connection url specifies the location of the database ... one. If a database file is not found at the specified connection url, ObjectDB tries to create a new ... The PersistenceManagerFactory interface represents a factory of database connections. Its main role
10

Constants.PMF_ATTRIBUTE_CONNECTION_URL

Static Field javax.jdo.Constants String PMF_ATTRIBUTE_CONNECTION_URL The name of the persistence manager factory element's "connection-url" attribute. Since: JDO 2.1
10

Constants.PROPERTY_CONNECTION_URL

Static Field javax.jdo.Constants String PROPERTY_CONNECTION_URL "javax.jdo.option.ConnectionURL" Since: JDO 2.1 See Also: PersistenceManagerFactory.getConnectionURL()
7

setConnectionURL(url)

Method javax.jdo.PersistenceManagerFactory void setConnectionURL( String url ) Set the URL for the data store connection. Parameters: url - the URL for the data store connection. Since: JDO 1.0
5

[ODB1] Chapter 8 - ObjectDB Server

the connection URL string. 8.1 Running an ObjectDB Server The ObjectDB server is a pure Java application ... in the url connection string (as explained in section 5.1) when connecting to the database ... . When connecting to the server, the path specified in the url connection is resolved relative

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