About url

manual

BIRT/ODA ObjectDB Driver

Explains how to use the ObjectDB/JPA data source BIRT driver.... In the [Work with] field enter the ObjectDB update site url: http://www.objectdb.com/eclipse and press ENTER. Select ... Specify an ObjectDB connection url - either embedded (e.g. c:\points.odb ) or client-server (e.g.  ...

 
forum_thread

Changing from client server to embedded mode

Hi, I have created a java web application and used ObjectDB in client Server mmode. It worked as per my expection. In Client server mode I used Persistence.createEntityManagerFactory("objectdb://localhost/myDB.odb;user=admin;password=admin"); Now to switch to embedded mode, I have tried following things ... move between the two modes. Your last connection url ( "$objectdb/db/myDB.odb" ) is valid in embedded mode. But you should be ... can also use an absolute path to that file as a connection url. ObjectDB Support ObjectDB - Fast Object ...

 
forum_thread

Login Error (bad username 'admin' or password)

I am getting following error when i am trying to connect to server: [com.objectdb.o._PersistenceException: Login Error (bad username 'admin' or password)] with root cause com.objectdb.o.UserException: Login Error (bad username 'admin' or password) at com.objectdb.o.MSG.d(MSG.java:61) at com.objectdb.o.HND.K(HND.java:210) at com.objectdb.o.SHN.K(SHN.java:208) at com.objectdb.o.HND.run(HND.java:132) at java.lang.Thread.run(Thread.java:662) Here is my connection string: ... In addition, you should remove blanks from the connection url. ObjectDB Support ObjectDB - Fast Object ... Also, i tried with removing blanks from the connection url and result is still the same. Client side is running on Windows and ...

 
forum_thread

Replication failed

Dear support members, I am trying to set up a replication url in objectdb.conf and have the the following error in the log files: [ObjectDB 2.3.4] javax.persistence.PersistenceException Failed to connect to server 127.0.0.1:6136 (Connection refused) (error 522) at com.objectdb.jpa.EMF.createEntityManager(EMF.java:176) My objectdb.conf: ... members, I am trying to set up a replication url in objectdb.conf and have the the following error in the log files: ... "$objectdb/db-files" /> <replication url = "objectdb://127.0.0.1:6000/cp.odb;user=admin;password=admin" /> ...

 
forum_thread

Modifier operations

Hi, Today I was reading about different NoSQL databases. One of those database - MongoDB - has a very nice feature, especially for web applications - modifier operations. The whole trick for those operations is to change some value in object without pulling this object from database. So for example we have class: public class WebVisit { public String url; // key public int visitsCount; } As for now I have to pull this class from database: ... class WebVisit { public String url ; // key public int visitsCount ; } ... visit = em. find ( WebVisit. class , url ) ; and increment counter: visit. visitsCount ...

 
forum_thread

JPA 2.1 and AttributeConverter

Hello :-). Are there any plans to support JPA 2.1? I would wish to have a support for @AttributeConverter. ... make own adapter for storing property, which is File and URL class. edit ... You can use a transient field for the File or URL and convert it from/to byte[] or String in JPA lifecycle events ...

 
forum_thread

Missing atificat for ObjectDB?

Hello! I am testing the Spring MVC and JPA tutorial, and always got an error in the POM file: <dependency>             <groupId>com.objectdb</groupId>             <artifactId>objectdb</artifactId>             <version>2.0.4</version>         </dependency>   ... > ObjectDB Repository </name > <url > http://m2.objectdb.com </url > </repository > </repositories > ...

 
forum_thread

BIRT plugin: Trouble with Client/Server connection

I am having trouble setting up the birt points.odb sample with a client/server connection. I can connect to points.odb with the explorer.  I added a "Data Source" that works fine with local file.  The connection using the url fails the ping test.  I get (Failed to connect to server localhost:6136) The following is my setup: Dev Versions:     MyEclipse Enterprise Workbench - 12.0.0.me201311281640         -Eclipse platform - 4.3.1.v20130911 ... with local file.  The connection using the server url fails the ping test.  I get (Failed to connect to server ... Configurations:     connection URL: objectdb://localhost:6136/points.odb;user=admin;password=admin ...

 
forum_thread

problem with lazy loading - unittest project attached

hi, i'm still testing objectdb together with spring-data-jpa. i made a test which should simulate 4 requests 1. save entity 2. read an existing entity, add onetomany relation 3. read an existing entity, add another onetomany relation 4. read entity, get relations. i have the feeling this is not the optional way to test this, because of the differnt transaction behavior. the test is not transactional, but the spring repository methods are. ... </id > <url > http://maven.springframework.org/milestone </url > </repository > </repositories > ...

 
forum_thread

JSON serialization and __odbHidden members

Hi.. Building a REST API (Jersey-based one) I noticed that object object I serialize to JSON has a clone field with "__odbHidden" suffix, e.g.there's  "id" and "id__odbHidden" is also (unwantenly) present with the same value. In general, we can annotate fields to include/exclude them from JSON serialization, but since these fields are not declared in my classes, I have no idea how to tell marshaller to avoid them. ... NT 5.1; rv:15.0) Gecko/20100101 Firefox/15.0", "url": "user/reguser" }, "lastActivity__odbHidden": { "IP": ... NT 5.1; rv:15.0) Gecko/20100101 Firefox/15.0", "url": "user/reguser" }, "loginInfo": { "eMail": ... NT 5.1; rv:15.0) Gecko/20100101 Firefox/15.0", "url": "user/reguser" }, // and so on So the problem is clear I ...