About SECOND

manual

Query Parameters in JPA

Explains how to use parameters (named parameters and ordinal parameters) in JPA queries.... a cached compiled query program , if available. Second, embedding strings in queries is unsafe and can expose the application ...

 
manual

[ODB1] Chapter 1 - About ObjectDB

Describes the main features and editions of ObjectDB 1.0 for Java/JDO.... It can store and retrieve thousands of objects per second. Even queries on millions of objects are very fast, when proper indexes ...

 
forum_thread

Spring 4 setup

Can someone provide an example of setup ObjectDB embeded to be used with Spring4? Existing examples is like for Spring3 and I can't figure how to use ObjecDB in Spring tutorial: http://spring.io/guides/gs/accessing-data-jpa/   Thanx. ... Framework that uses Hibernate + H2. Regarding your second question, it is indeed unrelated to this thread, so good that you moved ...

 
issue

Schema-Update: Deactivation of automatic entity class removing and introduction of a new class remove in the schema config

Hello, in our application we use ObjectDB in embedded mode as part of the Profile that can be stored and opened by our customers. Our application is an eclipse RCP application with a domain-driven design. The product can be installed in different configurations (in other words with more or less PlugIns). This presents us with further challenges when we have made changes to DB schema for new versions. ... and tried to access entities they are not part of the second (reduced) schema and it wasn't possible. Therefore our adoption that ...

 
forum_thread

New to Product & Having An Issue

Greetings ObjectDB Users! I'm new to the product, and I've setup a simple test after reading the tutorial, and I'm running into some issues with queries, specifically querying by primary key.   I have a domain object class Called Department, which has a member of type DomainId.  DomainId has two member fields:  String accountId and String objectId.  The following code shows these two classes.... out with the random UUID strings I generated. However, the second test findDepartment fails to find any results and returns NULL, but does ...

 
forum_thread

query on calendar class

Hello!   I'm looking for help to build query on calendar class. I need to get objects where Calendar.DAY_OF_WEEK is FRIDAY or any other. My class: @Entity public class Cdr {     private static final long serialVersionUID = 1L;        @Id @GeneratedValue     private long serialID;     private String A;     @Temporal(TemporalType.TIMESTAMP) private Calendar start; I tested: ... Could i get some example code of that? And second part of my question - how to build query on that same class but results ...

 
forum_thread

Failed to commit transaction: Attempt to commit a rollback only transaction

Anyone know what this means?? Suddenly cropped up.   Failed to commit transaction: Attempt to commit a rollback only transaction (error 613) at com.objectdb.jpa.EMImpl.commit(EMImpl.java:271) at javax.jdo.Transaction$commit.call(Unknown Source) #1 2011-05-24 22:22 Anyone know what this means?? Suddenly cropped up. Failed to commit transaction: Attempt to commit ...

 
manual

SELECT clause (JPQL / Criteria API)

Explains how to use the SELECT clause and projections in a JPA/JPQL query.... array cell contains the country name ( c.name ) and the second array cell contains the capital city name ( c.capital.name ). ...

 
forum_thread

Criteria query error: Unexpected query token

Using JPA2, I can save entities now in JBoss, and also fetch them uniquely by id. However, if I try to fetch it by getting back all instances (e.g. findAll, I get the following error:   #1 2011-04-09 10:27 Using JPA2, I can save entities now in JBoss, and also fetch them uniquely by id. However, if I try to fetch it b ...

 
release

2.3.2

... ( YEAR , MONTH , DAY , HOUR , MINUTE , SECOND ). Added support of  bypassing no arg ...