ObjectDB ObjectDB

Internal Website Search

1-10 of 192 resultsRefresh
57

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
52

Database connection url

="$objectdb/db-files" /> </server> 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: https://www
13

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
11

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
10

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
9

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
3

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
3

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
3

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

[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