About Data Set

api-jdo

setRange(fromInclToExcl)

Set the range of results to return.(Method of javax.jdo.Query)

 
api-jdo

setRange(fromIncl, toExcl)

Set the range of results to return.(Method of javax.jdo.Query)

 
forum_thread

Database Inconsistency or corruption

Hi, since a week I have been trying to find a solution to a strange problem. We are using ObjectDB 2.6.8_02 im embedded mode. The problem is that data gets lost when updating an entity. 1-) Background Consider Three entities: ObjectValue, Attribute and Value. ObjectValue has a one to many relationship to Attribute and Attribute has a one to one relationship to Value. ... 2.6.8_02 im embedded mode. The problem is that data gets lost when updating an entity. 1-) Background Consider ... Values) works fine. But, update does not work. The data gets lost. I attached a formatted log file. In the following, I ... referencedColumnName = "id"))   private java.util.Set<metamodel.Attribute> attributes = new ...

 
forum_thread

How Should I Configure objectdb.conf to Obtain 256KB Disk IO Requests and Maximize Shared PersistenceManager Entity Cache?

These are questions asked in the context of the proposed architecture described in the forum thread titled, "Sample JDO Architecture for Follow Up Questions".   I tried to configure my objectdb.conf to give 256KB disk accesses and use PersistenceManager L1 ref=soft caching and datastore pagefile caching 1 MB (4 256KB sized pages).  The goal is to have frequent PersistenceManager L1 cache hit, then less frequent datastore pagefile cache hit, then when absolutely necessary, read/write from/to the disk, but in a 256 KB sized IO packets. ... What is stored in a datastore pagefile cache page?  Data that was collocated by a datafile access?  Arbitrary data pulled from all accesses over a datastore file?  Are the cache ...

 
forum_thread

Mismatch client-server protocol prefix

Hello! We migrated one of our legacy webservices to Spring Boot/Spring MVC. Now i have a strange problem. At first the app runs perfectly for a couple of hours. After that it stops working and I get the following exception: ... ) throws at. co . pjm . tracker . data . exceptions . NoResultException { Query q ... new instance of LoginEvent. The Id field is not explicitly set and the field is annotated with: @ Id @ ...

 
forum_thread

Storing Images

What is the best way to store images? As external files? In the database as blobs? Are blobs supported?... Image class could be useful. Maybe as part of a set of common entity classes for general use. ... { private byte [ ] data ;   public PersistentImage ( BufferedImage image ...

 
forum_thread

Error using query with MAX() function

I have a class that is persisting a Entity that holds remarks and a time. Then when I query for the latest remark I get a internal error when the remark is larger than 1966 chars. Here is a test class and entity that reproduces the problem on my system. ... It works better but not completly. When my remarks data has null remarks interspersed in the data I get the another error. ... is my log output at the time of the error with log level set to debug. [2011-05-02 21:10:36 #150 query.manager] <queryRequest ...

 
forum_thread

Jboss 6 persistence.xml startup error

Hi,   I'm trying to migrate a small EJB 3.1 project from Postgres to ObjectDb to test out feasibility, but I keep getting stuck on setting up the persistence.xml on JBoss 6 AS.   Here is my setup: ------- Start persistence.xml ------- ... [EJB3 JPA 6.2.1.2] - You have not defined a jta-data-source for a JTA enabled persistence context named: testUnit at ... want to use the API as I much rather declarative-ly set it up. Thanks edit ...

 
forum_thread

Date field Index is corrupted due to time change

Hi, can you shed some light on why we cannot delete data from the attached DB file. A delete attempt with DB explorer results in the following exception: ... can you shed some light on why we cannot delete data from the attached DB file. A delete attempt with DB explorer results in ... ( rondedDate ) ;   calendar. set ( Calendar. YEAR , 1970 ) ; calendar. set ...

 
forum_thread

Handling deleted references

Hi support team, I have a problem when using DELETE query to delete Entity instances. We use the following hierarchy: ... ... } Whenever the profile of a user is set to null we create a new (default) one to achieve that each user has a ... That object is expected to be filled with real Profile data from the database (e.g. when accessing the Profile ), but if the ...