Fast Object Database for Java - with JPA/JDO support

Internal Website Search

1-10 of 188 resultsRefresh
91

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
90

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
88

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()
62

Database Replication and Clustering

-files" />     url="objectdb://localhost:6000/my.odb;user=a;password=a" /> The url attribute of the element defines a master database. As demonstrated above, a full url has to be specified including user and password attributes. The slave server uses these details
51

Database Connection using JPA

the database file. Connection URL The createEntityManagerFactory method takes as an argument a name of a persistence unit. As an extension, ObjectDB enables specifying a database url (or path) directly ... .objectdb is considered by ObjectDB to be a database url rather than as a persistence unit name. To use
47

Server Configuration

" /> url connection string when connecting ... operations of the server process. When connecting to the server the path that is specified in the url
40

JPA Persistence Unit

>
32

Attempt to store an instance of a non persistable type java.net.URL

, String $url) //throws MalformedURLException { this.name = name; try { url = new URL($url); } catch (MalformedURLException ex) { log_error(ex); } }     private URL url; public URL getUrl() { return url
32

javax.persistence.PersistenceException Attempt to store an instance of a non persistable type java.net.URL

(String name, String $url) //throws MalformedURLException { this.name = name; try { url = new URL($url); } catch (MalformedURLException ex) { log_error(ex); } } private URL url; public URL getUrl() { return url; } public void setUrl(URL url) { this.url = url; } I can rewrite this to simply check
30

Database connection url

="$objectdb/db-files" /> However, I'm not sure about the connection url for the code ... code, and from explorer? dmoshal David Moshal You have to fix the connection url. See: http://www

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