ObjectDB ObjectDB

Internal Website Search

71-80 of 200 resultsRefresh

Exceeding max connections and crashing

down and database lost connection with the JBOSS AS, several restarts got it up and running finally ... to implement closing of connection after every commit we make by the user? Q2. Our JBOSS AS frequently ... hype size to 6GB and since that we haven’t have any crashes of JBOSS. Important to note is that JBOSS

ObjectDB-2.6.9: Failed to commit transaction: Failed to set numeric value of field property Element.id using reflection

console app for NetBeans8.1 provided, as explained below). To reproduce download the app and unpack ... as owner project.addOwnedElement(model); Element example = new Element ... .jboss.weld.ejb.AbstractEJBRequestScopeActivationInterceptor.aroundInvoke

Database Connection using JPA

instance obtained from the EntityManager. An EntityManager instance also functions as a factory ... of the createEntityManagerFactory method takes a map of persistence unit properties as a second parameter: Map<String ... the database file. Connection URL The createEntityManagerFactory method takes as an argument a name

JPA Criteria API Queries

JPQL queries are defined as strings, similarly to SQL. JPA criteria queries, on the other hand ... .g. as named queries) may be preferred. For dynamic queries that are built at runtime - the criteria ... An equivalent query can be built using the JPA criteria API as follows: CriteriaBuilder cb = em

SSL Configuration

") specifies if SSL is used. As shown above, SSL is disabled by default. It could be enabled when accessing remote ObjectDB databases over an insecure network such as the Internet. SSL Keystore and Truststore Files To use SSL you have to generate at least two files: A Keystore file that functions as

Date and Time in JPQL and Criteria Queries

Date and time expressions may appear in JPQL queries: as date and time literals - e.g. {d '2011-12-31'}, {t '23:59:59'}. as parameters - when date and time values are assigned as arguments. as path expressions - in navigation to persistent date and time fields. as results of predefined JPQL current

Collections in JPQL and Criteria Queries

Collections may appear in JPQL queries: as parameters - when collections are assigned as arguments. as path expressions - in navigation to persistent collection fields. IS [NOT] EMPTY The IS [NOT ... , which should be used for checking other collections, such as a collection that is passed to the query

Logical Operators in JPQL and Criteria API

of logical operators, as shown in the following table: Set 1 - JPQL / SQL Set 2 - Java / JDO AND && OR ... /JDO && operator as a synonym of AND as part of its JDO support. Binary OR (||) Operator ... || operator as a synonym for OR as part of its JDO support. Unary NOT (!) Operator The following query

Index Definition

; } When indexed fields are specified explicitly in the members attribute, as shown ... , the @Uniques annotation can wrap multiple @Unique annotations. As shown above, the members attribute ... to values that are stored as part of the entity. Therefore, indexes on multi part paths

Defining a JPA Entity Class

(annotated) as having the ability to represent objects in the database. Conceptually this is similar to serializable classes, which are marked as having the ability to be serialized. The Point Entity Class The following Point class, which represents points in the plane, is marked as an entity class

Getting Started

ObjectDB is very easy to use. Follow the Getting Started Tutorial and the Quick Tour manual chapter and in minutes you may be able to write and run first Java programs against ObjectDB.

Prior knowledge or experience in database programming (SQL, JDBC, ORM, JPA, etc.) is not required, but some background in using the Java language is essential.

Need Help?

  1. Search ObjectDB website
  2. Read the FAQ
  3. Follow the Tutorials
  4. View or post in the forum
  5. Search or file an issue
  6. Contact support