About identifier

manual

JPA Lifecycle Events

Explains how to use JPA lifecycle events (client side triggers) with callback methods and listener classes. Callback methods are user defined methods that are attached to entity lifecycle events and are invoked automatically by JPA when these events occur. This page covers the following topics: Internal Callback Methods ...

 
forum_thread

License Activation Change and Checking Activation

Hello! How does ObjectDB determine the machine ID? Yesterday I activated our license on my development laptop and today I tried to persist more than 1M objects. ObjectDB told me that it cant't do that because of the evaluation restrictions. Now I activated it again on the same machine and got a different activation code. With this code it works. The only difference I can think of is that my WiFi was disabled yesterday and today it's not. ... your computer MAC address. Using MAC address as a machine identifier is a common practice in software protection, but this technique is ...

 
api-jdo

Query.SQL

The string constant used as the first argument to PersistenceManager.newQuery(String,Object) to identify that the created query should use SQL semantics.(Static Field of javax.jdo.Query)

 
manual

JPA Persistence Unit

Explains how to define a JPA persistence unit in the persistence.xml file. A JPA Persistence Unit is a logical grouping of user defined persistable classes (entity classes, embeddable classes and mapped superclasses) with related settings. Defining a persistence unit is optional when using ObjectDB, but required by JPA. ...

 
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: #1 2016-11-18 14:34 Hi support team, I have a problem when using DELETE query to delete Entity instances. We use the foll ...

 
forum_thread

Problem with 'where' and date()

Hi, Today I was playing with some date-range queries in explorer and found a small problem. When you try to use queries like this: SELECT o from TestObject o where o.date > :someDate where o.date is java.util.Date, 'where' doesn't work as it should. Results are not filtered by date. There is no such problem in code because we can set Date() object as parameter. However this is hard in explorer. You can find UTC attached to this post.   #1 2012-01-23 16:14 Hi, Today I was playing with some date-range queries in explorer and found a small problem. When you try ...

 
forum_thread

JPQL keyword in entity - what to do?

Hi, I have a problem with entity that is using one of JPQL keywords as one of the fields. It's a 'type' field. When I try to build a query that looks for example like this: select new ResultData(p.type.name, count(p.id)) from Product as p group by p.type.name I got this exception: ... Unexpected query token 'type': Identifier is expected at com.objectdb.o.JPE.g(JPE.java:132) ...

 
api-jdo

javax.jdo.annotations.IdGeneratorStrategy

Enumeration of the id generator strategy values.(Enum of JDO)

 
api-jpa

valueOf(name)

Returns the enum constant of this type with the specified name.(Static Method of javax.persistence.metamodel.PluralAttribute.CollectionType)

 
api-jpa

javax.persistence.PessimisticLockScope

Defines the values of the javax.persistence.lock.scope property for pessimistic locking.(Enum of JPA)