ObjectDB ObjectDB

Internal Website Search

1-10 of 186 resultsRefresh
156

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
63

Database Replication and Clustering

-files" />     <replication url="objectdb://localhost:6000/my.odb;user=a;password=a" /> </server> The url attribute of the <replication> 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
52

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
48

Server Configuration

" />   <!--   <replication url="objectdb://localhost/my.odb;user=admin;password=admin" />   --> </server ... 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
41

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
31

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
28

General Settings and Logging

" />   <url-history size="50" user="true" password="true" /> <log path="$objectdb/log/" max="8mb ... for ObjectDB to avoid using sockets that are expired by the firewall. The <url-history> element   <url ... database URLs for use by the Explorer. The size attribute specifies the maximum size of this list
8

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
8

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
8

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

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