Home » Search

About URL connection

1-10 of 200Refresh
Manual
220

Database Connection using JPA

. Connection URL The createEntityManagerFactory method takes as an argument a name of a persistence ... 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 - for specifying
Manual
129

Obtaining a JPA Database Connection

In JPA a database connection is represented by the EntityManager interface. Therefore, in order ... string that ends with .odb or .objectdb is considered by ObjectDB to be a database url ... (); The EntityManager instance represents a connection to the database. When using JPA
Manual
103

Database Replication and Clustering

becomes unavailable the connection will automatically switch (temporarily) to the next available url (i.e ... the configuration:     <connection port="6001" max="100" />          url="objectdb://localhost:6000/test.odb;user=a;password=a" />
Manual
101

Server Configuration

is specified it also has to be specified by clients in the url connection string when connecting ... the url connection is resolved relative to the data path. For example, "objectdb://localhost/my/db.odb ... : <connection port="6136" max="0" />
JDO Doc
93

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
JDO Doc
91

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()
Manual
71

JPA Persistence Unit

>
JDO Doc
63

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
Tutorial
57

Step 3: Create an ObjectDB Data Source

connection url: Download and save the points.odb database file (from the Quick Start tutorial). Specify an ObjectDB connection url - either embedded (e.g. c:\points.odb) or client-server (e.g ... to check the connection url: Click the Finish button to complete the creation of the ObjectDB data source
Forum
31

Database connection url

. I left the conf file set as:     <connection port="6136" max="100" />      However, I'm not sure about the connection url for the code ... code, and from explorer? You have to fix the connection url. See: http://www.objectdb.com/java/jpa