About map

forum_thread

Question about roadmap

Hello ObjectDB community! I am new to ObjectDB, already read about it, but never really got my hands on it. I was reading through some forum posts, issues and the documentation to see if ObjectDB would be an option for me and in the end I came to the result "not yet". Here are my requirements to ObjectDB that does not seam to be fulfilled yet: ... Other issues in your list are in the road map, but frankly, it would be unrealistic to expect all these feature requests ...

 
forum_thread

String representation of a query

Hi, Is it possible to get a JPQL string having a Query object instance? JpaQuery class doesn't have any method like "getQueryString" or "getDatabaseQuery", maybe it's going to be added in near future? It would be very helpfull to have something similiar to Hibernate etc : findAllBooks.unwrap(org.hibernate.Query.class).getQueryString() I would like to measure time of query execution and log that information with JPQL string and parameters map to find and optimize the most ineffective cases. ... and log that information with JPQL string and parameters map to find and optimize the most ineffective cases. ...

 
api-jpa

javax.persistence.Id

Specifies the primary key of an entity.(Annotation of JPA)

 
forum_thread

LAZY @ManyToOne field functions as EAGER

In the code example below (also attached) I would like to understand why I am able to print to console a lazy @ManyToOne field after the entity manager closes. There is a switch DO_VIEW_BEFORE_CLOSE, and when it is true the fields are accessed and output before the finding entity manager closes and as expected both a LAZY @ManyToOne field and an EAGER @ManyToOne field are viewable: b.cLazy:{C}[2]"cLazy"
 b.cEager:{C}[3]"cEager" #1 2012-03-14 01:19 In the code example below (also attached) I would like to understand why I am able to print to console a laz ...

 
forum_thread

KEY() / VALUE() not recognized in JPQL??

Hi! Explorer says "unexpected token" on KEY(..: SELECT FROM individual.IndividualContact $1 LEFT OUTER JOIN $1.profile.title.name m WHERE (KEY(m) = 'deu' AND VALUE(m) LIKE '%Dr%') profile = embedded entity title = referenced entity name = Map<String, String>   thanks, Alex ... entity title = referenced entity name = Map<String, String>   thanks, Alex ...

 
api-jpa

OneToMany.cascade

(Optional) The operations that must be cascaded to the target of the association.(Annotation Element of javax.persistence.OneToMany)

 
api-jpa

javax.persistence.TypedQuery

Interface used to control the execution of typed queries.(Interface of JPA)

 
faq

What are the main benefits of using ObjectDB?

... applications significantly. For instance, collection and map fields can be stored by ObjectDB simply as part of the containing object. ...

 
api-jpa

javax.persistence.PostUpdate

Is used to specify callback methods for the corresponding lifecycle event.(Annotation of JPA)

 
api-jdo

Constants.PMF_ATTRIBUTE_MAPPING

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