connect with server


how to connect the data base on a remote server

and share odbc in object db


how to publish the JPA database on  server and make client in the network can share the data base

i want to know the right connection string.

i used

"Map<String, String> properties = new HashMap<String, String>();
  properties.put("javax.persistence.jdbc.user", "admin");
  properties.put("javax.persistence.jdbc.password", "admin");
  emf = Persistence.createEntityManagerFactory("objectdb://", properties);
  em = emf.createEntityManager();" where emf is my EntityManagerFactory & em is my EntityManager is my server IP



Just run the server. The database will be created automatically if it doesn't exist.

You can configure the location of the database files by setting the server configuration.


ObjectDB Support
ObjectDB - Fast Object Database for Java (JPA/JDO)

Post Reply

To post a reply and/or subscribe to update notifications - please login