About attribute

forum_thread

ODB with Netbeans

ODB2 allows JPA attributes to be public (which is great), but JPA does not. So, in Netbeans, with attributes like this: @Entity class A { public String name; } I get compile time errors "Instance variable for persistent attribute must not be public" How does one switch that off in Netbeans? ... get compile time errors "Instance variable for persistent attribute must not be public" How does one switch that off in ... in ObjectDB . "Instance variable for a persistent attribute must not be public." This is another JPA restriction, which is not ...

 
api-jpa

get(map)

Create a path corresponding to the referenced map-valued attribute.(Method of javax.persistence.criteria.Path)

 
manual

Index Definition

Describes how to define indexes in JPA entity classes and explains how indexes are used in JPQL queries.... (the default is false). The optional name attribute has no specific role but might be presented in the ObjectDB Explorer ... this index. See JavaDoc Reference Page... attribute of the the @Index javax.jdo.annotations.Index JDO ...

 
forum_thread

Some technical questions

Hi, ObjectDB looks interesting. Have two technical questions... (1) what locking model does ObjectDB use? I.e. 2PL or MVCC? Do writers block readers? Do readers block writers? (2) what's the recommended usage for SAAS? One ObjectDB database per customer, or one ObjectDB database for all? Thank you, Andrej ... use internally. E.g. in one transaction I change an attribute of an object, but don't commit yet. Can another transaction fetch this object without blocking, and will it see the old attribute? Or will the second transaction block until the first transaction ...

 
manual

ORDER BY clause (JPQL / Criteria API)

Explains how to use the ORDER BY clause in a JPA/JPQL query.... method Create a path corresponding to the referenced attribute. See JavaDoc Reference Page... ( "currency" ... method Create a path corresponding to the referenced attribute. See JavaDoc Reference Page... ( "population" ...

 
manual

Comparison in JPQL and Criteria API

Explains how comparison operators can be used in JPQL queries, including in comparing null values.... method Create a path corresponding to the referenced attribute. See JavaDoc Reference Page... ( "name" ) ... method Create a path corresponding to the referenced attribute. See JavaDoc Reference Page... ( "area" ) ...

 
manual

JPA Query Structure (JPQL / Criteria)

Explains the structure of a JPQL query, which consists of 6 clauses: SELECT, FROM, WHERE, GROUP BY, HAVING, ORDER BY.... From's method Create a join to the specified attribute using the given join type. See JavaDoc Reference Page... , ... method Create a fetch join to the specified attribute using an inner join. See JavaDoc Reference Page... ). ...

 
api-jpa

joinCollection(attributeName)

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

 
api-jpa

hasVersionAttribute()

Whether the identifiable type has a version attribute.(Method of javax.persistence.metamodel.IdentifiableType)