About Date


Is 2 level cache in use?

Hi, Is there any way to check, if 2 level cache is in use? Right now I've done two things: 1. objectdb.conf with cache size is placed in WEB-INF directory of my web application. 2. persistence.xml was modified with: ... application because of the overhead in keeping it up to date and the memory that it consumes. Therefore, it is disabled in the  ...


JPA Query language support in OBjectDB / Sub query or nested Query

Hi Wanted to check with you on the exact level of support of JPA QL within the ObjectDB world. I have given a sample typed query below which fails to work with ObjectDB and it runs very well with the Hibernate/MySQL JPA. We are using Spring Data here. It looks like a problem with Sub query or nested queries where I am using IN clause like below. ... yet. The issue tracking system contains an up to date list of unsupported JPA features . ObjectDB ...


ObjectDB as JDBC resource or custom realm

Hi everyone, I want to implement HTTP Basic Authentication for my web services, but I also want to use ObjectDB to store credentials. Therefore I'm in the need of a custom realm for GlassFish 3.1. My guess is somebody already did this before, so if yes please raise your hands. Otherwise please help me with the implementation and please share your thoughts on the matter. Thanks in advance, Daniel ... Yes, but currently there is no target date for this feature. ObjectDB Support ObjectDB ...


TemporalType injection with Calendar using JPA

I have ObjectDB  JPA  comsummed by a RESTful web service deployed on Tomcat. I am using an embedded object as a primary key, which has time fields which I have annotated with TemporalType.TIMESTAMP When I use a java.util.Date as a field on this object there is no problem. However, if I use a java.util.Calendar it encounters an exception.   Calendar is what I need.  Is there something obvious here that I am failing to see?   ... TemporalType.TIMESTAMP When I use a java.util.Date as a field on this object there is no problem. However, if I use a ... for primary keys . JPA supports only java.sql.Date (or java.util.Date that is annotated as DATE ). ObjectDB ...


Online Backup

Online Backup enables backing up an ObjectDB database while it is in active use by applications. The ability to create a backup while the system is running is essential in applications and services that have to be available 24/7/365.... A new subdirectory with a name that reflects the current date and time (e.g.  201012312359 ) is created under the backup root ...



Release date: 2011-02-06 Download (3.4 MB) Binary:  ...


@AttributeOverrides , and postgresql + own TYPE

Hello,  first of all i want to thank for this is site. I'm begginer in Java and also in JPA and this site is very helpful for me. Now What is my problem. Unfortunately  i have to work with postgresql + JPA + eclipselink, because is my school project. Database is final and i can't do any changes even if i wanted to. In structure of DB  is this. -- -- Name: address; Type: TYPE; Schema: artio; Owner: facman --   ... is exactly in the column address because is not typical date type but user defined. I found some example in your sites here  ...



FetchGroup represents a named fetch group for a specific class or interface.(Interface of JDO)



Register a DateFormat instance for use with constructing Date instances.(Method of javax.jdo.spi.JDOImplHelper)


Index Definition

Describes how to define indexes in JPA entity classes and explains how indexes are used in JPQL queries.... JavaDoc Reference Page... = "u2" ) Date indexedField5 ; // unique } @Unique ... java.lang.String. java.util.Date , java.sql.Date , java.sql.Time , java.sql.Timestamp. Any enum type. ...