Internal Website Search

51-100 of 200 results

ObjectDB is opening too many sockets

total) 02_firstdb closed connection (File-Close connection) 22 sockets open 03_firstdb open second ... created during socket creation. Those are created with 2 seconds interval ... and nothing prevents the JVM from removing them. Actually it seems that during these 4-5 seconds the JVM

Query becomes slower on moving from ObjectDB 1.x to ObjectDB 2.x

, with object 1.x, the same query was getting executed within an seconds and now the same is taking around 40 seconds in object db 2.x I have build the query using the follwoing Query query = persistanceManager ... query.execute(param1, param2); This takes 1 second to execute using objectdb1.x, but the same takes

Insertion Speed Rate and Batch Load

1. I got about 10K inserts / second , is it normal? I would expect more than that, like close to 100K/ second . I can definitely do 80K inserts/ seconds on Oracle with batch insert on table ... Device instances per second . But Device is a large object with an array of 100 strings (by the way

Occasionally slow requests in load testing

response times from the DB, around 10 - 15 seconds . Looking at the DB server process with AppDynamics ... is large - execution time may also be much longer than 10-15 seconds . The other stack trace (com ... are so slow (around 10-15 seconds ), this is really visible in our test results. We are running quite

General Performance Issues Illustrated with a Specific Method

: listPatientsByIDsWithBasicData Duration: Takes around 3 seconds to search   Search Method public List ... of Health Sri Lanka You should be able to get the results in milliseconds rather than 3 seconds ... to get the results in milliseconds rather than 3 seconds " was that the execution time should be much faster

virtual servers and one file

), there is a massive drop in performance. We have already seen that queries take more than 20 seconds ... to up to 20 seconds is extreme and requires further investigation. Your suggestion that partial ... gigabytes per second . So actually an absolute overkill for the 7 employees on the Windows Terminal

javax.persistence.Query

or hint Return: the same query instance Throws: IllegalArgumentException - if the second argument

CriteriaBuilder.le(x,y) - JPA Method

JPA Method in javax.persistence.criteria.CriteriaBuilder Predicate le (    Expression  x,    Number y ) Create a predicate for testing whether the first argument is less than or equal to the second . Parameters: x - expression y - value Return: less-than-or-equal predicate Since: JPA 2.0

CriteriaBuilder.le(x,y) - JPA Method

JPA Method in javax.persistence.criteria.CriteriaBuilder Predicate le (    Expression  x,     Expression  y ) Create a predicate for testing whether the first argument is less than or equal to the second . Parameters: x - expression y - expression Return: less-than-or-equal predicate Since: JPA 2.0

TypedQuery.setHint(hintName,value) - JPA Method

instance Throws: IllegalArgumentException - if the second argument is not valid for the implementation Since: JPA 2.0

CriteriaBuilder.lt(x,y) - JPA Method

JPA Method in javax.persistence.criteria.CriteriaBuilder Predicate lt (    Expression  x,     Expression  y ) Create a predicate for testing whether the first argument is less than the second . Parameters: x - expression y - expression Return: less-than predicate Since: JPA 2.0

CriteriaBuilder.lt(x,y) - JPA Method

JPA Method in javax.persistence.criteria.CriteriaBuilder Predicate lt (    Expression  x,    Number y ) Create a predicate for testing whether the first argument is less than the second . Parameters: x - expression y - value Return: less-than predicate Since: JPA 2.0

CriteriaBuilder.ge(x,y) - JPA Method

JPA Method in javax.persistence.criteria.CriteriaBuilder Predicate ge (    Expression  x,    Number y ) Create a predicate for testing whether the first argument is greater than or equal to the second . Parameters: x - expression y - value Return: greater-than-or-equal predicate Since: JPA 2.0

javax.persistence.SharedCacheMode

JPA Enum SharedCacheMode java.lang.Object ∟  java.lang.Enum ∟  javax.persistence.SharedCacheMode Specifies how the provider must use a second -level cache for the persistence unit. Corresponds to the value of the persistence.xml shared-cache-mode element, and returned as the result

javax.persistence.TypedQuery

: the same query instance Throws: IllegalArgumentException - if the second argument is not valid

CriteriaBuilder.lessThanOrEqualTo(x,y) - JPA Method

JPA Method in javax.persistence.criteria.CriteriaBuilder Predicate lessThanOrEqualTo (    Expression  x,    Y y ) Create a predicate for testing whether the first argument is less than or equal to the second . Parameters: x - expression y - value Return: less-than-or-equal predicate Since: JPA 2.0

EntityManager.find(entityClass,primaryKey) - JPA Method

argument does not denote an entity type or the second argument is is not a valid type for that entity's primary key or is null Since: JPA 1.0

CriteriaBuilder.lessThanOrEqualTo(x,y) - JPA Method

JPA Method in javax.persistence.criteria.CriteriaBuilder Predicate lessThanOrEqualTo (    Expression  x,     Expression  y ) Create a predicate for testing whether the first argument is less than or equal to the second . Parameters: x - expression y - expression Return: less-than-or-equal predicate Since: JPA 2.0

CriteriaBuilder.lessThan(x,y) - JPA Method

JPA Method in javax.persistence.criteria.CriteriaBuilder Predicate lessThan (    Expression  x,    Y y ) Create a predicate for testing whether the first argument is less than the second . Parameters: x - expression y - value Return: less-than predicate Since: JPA 2.0

CriteriaBuilder.greaterThanOrEqualTo(x,y) - JPA Method

JPA Method in javax.persistence.criteria.CriteriaBuilder Predicate greaterThanOrEqualTo (    Expression  x,    Y y ) Create a predicate for testing whether the first argument is greater than or equal to the second . Parameters: x - expression y - value Return: greater-than-or-equal predicate Since: JPA 2.0

CriteriaBuilder.lessThan(x,y) - JPA Method

JPA Method in javax.persistence.criteria.CriteriaBuilder Predicate lessThan (    Expression  x,     Expression  y ) Create a predicate for testing whether the first argument is less than the second . Parameters: x - expression y - expression Return: less-than predicate Since: JPA 2.0

CriteriaBuilder.ge(x,y) - JPA Method

JPA Method in javax.persistence.criteria.CriteriaBuilder Predicate ge (    Expression  x,     Expression  y ) Create a predicate for testing whether the first argument is greater than or equal to the second . Parameters: x - expression y - expression Return: greater-than-or-equal predicate Since: JPA 2.0

CriteriaBuilder.gt(x,y) - JPA Method

JPA Method in javax.persistence.criteria.CriteriaBuilder Predicate gt (    Expression  x,     Expression  y ) Create a predicate for testing whether the first argument is greater than the second . Parameters: x - expression y - expression Return: greater-than predicate Since: JPA 2.0

CriteriaBuilder.gt(x,y) - JPA Method

JPA Method in javax.persistence.criteria.CriteriaBuilder Predicate gt (    Expression  x,    Number y ) Create a predicate for testing whether the first argument is greater than the second . Parameters: x - expression y - value Return: greater-than predicate Since: JPA 2.0

CriteriaBuilder.between(v,x,y) - JPA Method

JPA Method in javax.persistence.criteria.CriteriaBuilder Predicate between (    Expression  v,    Y x,    Y y ) Create a predicate for testing whether the first argument is between the second and third arguments in value. Parameters: v

CriteriaBuilder.between(v,x,y) - JPA Method

JPA Method in javax.persistence.criteria.CriteriaBuilder Predicate between (    Expression  v,     Expression  x,     Expression  y ) Create a predicate for testing whether the first argument is between the second and third arguments in value

CriteriaBuilder.greaterThanOrEqualTo(x,y) - JPA Method

JPA Method in javax.persistence.criteria.CriteriaBuilder Predicate greaterThanOrEqualTo (    Expression  x,     Expression  y ) Create a predicate for testing whether the first argument is greater than or equal to the second . Parameters: x - expression y

CriteriaBuilder.greaterThan(x,y) - JPA Method

JPA Method in javax.persistence.criteria.CriteriaBuilder Predicate greaterThan (    Expression  x,    Y y ) Create a predicate for testing whether the first argument is greater than the second . Parameters: x - expression y - value Return: greater-than predicate Since: JPA 2.0

CriteriaBuilder.greaterThan(x,y) - JPA Method

JPA Method in javax.persistence.criteria.CriteriaBuilder Predicate greaterThan (    Expression  x,     Expression  y ) Create a predicate for testing whether the first argument is greater than the second . Parameters: x - expression y - expression Return: greater-than predicate Since: JPA 2.0

javax.persistence.StoredProcedureQuery

- if the second argument is not valid for the implementation Since: JPA 2.1 Query setLockMode

EntityManager.setProperty(propertyName,value) - JPA Method

of property or hint value - value for property or hint Throws: IllegalArgumentException - if the second

StoredProcedureQuery.setHint(hintName,value) - JPA Method

: IllegalArgumentException - if the second argument is not valid for the implementation Since: JPA 2.1

EntityManager.find(entityClass,primaryKey,lockMode) - JPA Method

: IllegalArgumentException - if the first argument does not denote an entity type or the second argument is not

EntityManager.find(entityClass,primaryKey,properties) - JPA Method

- if the first argument does not denote an entity type or the second argument is is not a valid type for that entity's primary key or is null Since: JPA 2.0

EntityManager.getReference(entityClass,primaryKey) - JPA Method

type or the second argument is not a valid type for that entity's primary key or is null

EntityManager.find(entityClass,primaryKey,lockMode,properties) - JPA Method

: IllegalArgumentException - if the first argument does not denote an entity type or the second argument

javax.persistence.Cache

JPA Interface Cache Interface used to interact with the second -level cache. If a cache is not in use, the methods of this interface have no effect, except for contains , which returns false. Since: JPA 2.0 The Shared (L2) Entity Cache article explains how to use Cache . Public Methods boolean

each 1-2 days objects on some objectdb level lock/block each other

(0x00000000b6681e10) by one thread. The second thread dump (0x00000000bc88c318) is related ... to time that a query that normally takes a second does take minutes hgzwicker Hans-Georg Zwicker The first ... (and a few seconds could also be considered by users as slow), e.g. by using additional indexes, to prevent

retrieval again and again started

seconds ? In this case an exception is expected, but the log lines should be improved, as reader ... seconds timeout set. At the times when the timeout happens the system is very slow hgzpincher Hans ... info that should be removed). Obviously queries that need more than 100 seconds slow

DataStoreCache.pinAll(oids) - JDO Method

JDO Method in javax.jdo.datastore.DataStoreCache void pinAll (   Object... oids ) Pin the parameter instances in the second -level cache. Parameters: oids - the object ids of the instances to pin. Since: JDO 2.0

DataStoreCache.pinAll(oids) - JDO Method

JDO Method in javax.jdo.datastore.DataStoreCache void pinAll (   Collection oids ) Pin the parameter instances in the second -level cache. Parameters: oids - the object ids of the instances to pin. Since: JDO 2.0

DataStoreCache.evictAll(oids) - JDO Method

JDO Method in javax.jdo.datastore.DataStoreCache void evictAll (   Object... oids ) Evict the parameter instances from the second -level cache. Parameters: oids - the object ids of the instance to evict. Since: JDO 2.0

DataStoreCache.evictAll(pcClass,subclasses) - JDO Method

JDO Method in javax.jdo.datastore.DataStoreCache void evictAll (   Class pcClass,    boolean subclasses ) Evict the parameter instances from the second -level cache. Parameters: pcClass - the class of instances to evict subclasses - if true, evict instances of subclasses also Since: JDO 2.0

DataStoreCache.evictAll(oids) - JDO Method

JDO Method in javax.jdo.datastore.DataStoreCache void evictAll (   Collection oids ) Evict the parameter instances from the second -level cache. Parameters: oids - the object ids of the instance to evict. Since: JDO 2.0

DataStoreCache.evict(oid) - JDO Method

JDO Method in javax.jdo.datastore.DataStoreCache void evict (   Object oid ) Evict the parameter instance from the second -level cache. Parameters: oid - the object id of the instance to evict. Since: JDO 2.0

I18NHelper.msg(messageKey,arg1,arg2,arg3) - JDO Method

- the second argument arg3 - the third argument Return: the resolved message text Since: JDO 1.0

I18NHelper.msg(messageKey,arg1,arg2) - JDO Method

JDO Method in javax.jdo.spi.I18NHelper String msg (   String messageKey,    Object arg1,    Object arg2 ) Message formatter Parameters: messageKey - the message key arg1 - the first argument arg2 - the second argument Return: the resolved message text Since: JDO 1.0

Query.setResultClass(cls) - JDO Method

expression and the second argument is the value from the query result. Portable result classes do not

Query.execute(p1,p2,p3) - JDO Method

JDO Method in javax.jdo.Query Object execute (   Object p1,    Object p2,    Object p3 ) Execute the query and return the filtered Collection . Parameters: p1 - the value of the first parameter declared. p2 - the value of the second parameter

Query.execute(p1,p2) - JDO Method

JDO Method in javax.jdo.Query Object execute (   Object p1,    Object p2 ) Execute the query and return the filtered Collection . Parameters: p1 - the value of the first parameter declared. p2 - the value of the second parameter declared. Return: the filtered