Internal Website Search

71-80 of 200 resultsRefresh

Exceeding max connections and crashing

when network went down and database lost connection with the JBOSS AS, several restarts got it up and running ... after every commit we make by the user? Q2. Our JBOSS AS frequently exceeds heap memory limit ... and since that we haven’t have any crashes of JBOSS. Important to note is that JBOSS is not on the same server as ObjectDB

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

_04 (which one can easily test and compare in the test console app for NetBeans8.1 provided, as ... and no owner Element model = new Element(project, project, "model");//NB: model has Project as ... ) at com.sun.ejb.EjbInvocation.proceed(EjbInvocation.java:608) at org.jboss.weld.ejb

Database Connection using JPA

also functions as a factory for Query instances, which are needed ... -unit#persistence.xml">persistence unit properties as a second parameter: createEntityManagerFactory method takes as an argument a name of a

JPA Criteria API Queries

> JPA Criteria API vs JPQL JPQL queries are defined as ... to use and understand. For simple static queries - string based JPQL queries (e.g. as ... c An equivalent query can be built using the JPA criteria API as follows:

SSL Configuration

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. A Keystore file that functions as a unique signature

Date and Time in JPQL and Criteria Queries

Date and time expressions may appear in JPQL queries: as , {t '23:59:59'}. as parameters - when date and time values are assigned as arguments. as 

Collections in JPQL and Criteria Queries

Collections may appear in JPQL queries: as parameters - when collections are assigned as arguments. as  ... , 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

> Logical Operators ObjectDB supports 2 sets of logical operators, as shown in ... > ObjectDB supports the Java/JDO && operator as a synonym of AND as part of its JDO support. Binary OR (||) Operator The following query

Index Definition

>When indexed fields are specified explicitly in the members attribute, as shown ... > annotations. As shown above, the members attribute can also be used ... must always refer to values that are stored as part of the entity. Therefore, indexes on multi part paths

Defining a JPA Entity Class

. an ordinary Java class that is marked (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 ... > class, which represents points in the plane, is marked as an entity class, and accordingly, provides