About attribute

forum_thread

Using date in where clause

I am trying to build a SELECT query as follows. SELECT p FROM Persons p WHERE creationDate="07-25-2013" Here I have created Persons object as java.sql.Date attribute.   But in doing so I am getting following exception Operand type mismatch for operator '=' (error 757) (position 51) at com.objectdb.jpa.JpaQuery.getResultList(JpaQuery.java:695)   Can someone provide me that way to build a query with date in where clause. ... Here I have created Persons object as java.sql.Date attribute.   But in doing so I am getting following ...

 
api-jpa

join(set)

Create an inner join to the specified Set-valued attribute.(Method of javax.persistence.criteria.From)

 
api-jpa

join(list, jt)

Create a join to the specified List-valued attribute using the given join type.(Method of javax.persistence.criteria.From)

 
api-jpa

getModel()

Return the metamodel representation for the collection attribute.(Method of javax.persistence.criteria.CollectionJoin)

 
forum_thread

@SequenceGenerator and single id in whole database

Hi, I have a question about @SequenceGenerator. I have separate @SequenceGenerator in each of my model enitities, but it looks like id's are generated using only one, shared generator. Is there any other way to use separate generators for each entity, so that each entity uses its own sequence just like in RDBM? #1 2011-01-11 14:28 Hi, I have a question about @SequenceGenerator . I have separate @SequenceGenerator in each of my ...

 
api-jdo

Constants.PMF_ATTRIBUTE_IGNORE_CACHE

The name of the persistence manager factory element's "ignore-cache" attribute.(Static Field of javax.jdo.Constants)

 
api-jdo

Constants.PMF_ATTRIBUTE_PERSISTENCE_UNIT_NAME

The name of the persistence manager factory element's "persistence-unit-name" attribute.(Static Field of javax.jdo.Constants)

 
api-jdo

Constants.PMF_ATTRIBUTE_CONNECTION_FACTORY2_NAME

The name of the persistence manager factory element's "connection-factory2-name" attribute.(Static Field of javax.jdo.Constants)

 
forum_thread

"Unexpected query expression" using CriteriaQuery FetchParent Interface

Using the fetch over Root attribute, the exception is: com.objectdb.o._PersistenceException: Unexpected query expression end (non keyword identifier is expected) com.objectdb.o._PersistenceException.b(_PersistenceException.java:45) ... Using the fetch over Root attribute, the exception is: com.objectdb.o._PersistenceException: ...

 
api-jpa

find(entityClass, primaryKey, lockMode, properties)

Find by primary key and lock, using the specified properties.(Method of javax.persistence.EntityManager)