ObjectDB Database Search

101-129 of 129 results

JPA inheritance issue with ObjectDB - Field not found in type error

abstract facade. public List findByJpql(String temSQL, Map parameters ) { System.out.println("findByJpql"); System.out.println("JPQL: " + temSQL); System.out.println(" Parameters : " + parameters ); TypedQuery qry = getEntityManager().createQuery(temSQL, entityClass); Set s = parameters .entrySet(); Iterator

jakarta.persistence.TypedQuery.setCacheRetrieveMode(CacheRetrieveMode)

the entity manager. Parameters : cacheRetrieveMode - cache retrieval mode Returns: the same query instance. Since: Jakarta Persistence (JPA) 3.2

jakarta.persistence.TypedQuery.setCacheStoreMode(CacheStoreMode)

. Parameters : cacheStoreMode - cache storage mode Returns: the same query instance. Since: Jakarta Persistence (JPA) 3.2

jakarta.persistence.TypedQuery.setTimeout(Integer)

Jakarta Persistence (JPA) Method in jakarta.persistence.TypedQuery TypedQuery setTimeout (    Integer timeout ) Set the query timeout, in milliseconds. This is a hint, and is an alternative to setting the hint jakarta.persistence.query.timeout . Parameters : timeout - the timeout, in

jakarta.persistence.ParameterMode.IN

Jakarta Persistence (JPA) Enum Constant in jakarta.persistence.ParameterMode IN Stored procedure input parameter Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.metamodel.ManagedType.getList(String,Class)

Jakarta Persistence (JPA) Method in jakarta.persistence.metamodel.ManagedType ListAttribute getList (    String name ,    Class elementType ) Return the List-valued attribute of the managed type that corresponds to the specified name and Java element type. Parameters : name

jakarta.persistence.ParameterMode.INOUT

Jakarta Persistence (JPA) Enum Constant in jakarta.persistence.ParameterMode INOUT Stored procedure input/output parameter Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.metamodel.ManagedType.getDeclaredList(String,Class)

. Parameters : name - the name of the represented attribute elementType - the element type

jakarta.persistence.ParameterMode.OUT

Jakarta Persistence (JPA) Enum Constant in jakarta.persistence.ParameterMode OUT Stored procedure output parameter Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.metamodel.ManagedType.getMap(String,Class,Class)

and value types. Parameters : name - the name of the represented attribute keyType - the key type

jakarta.persistence.metamodel.ManagedType.getDeclaredMap(String,Class,Class)

and Java key and value types. Parameters : name - the name of the represented attribute keyType

jakarta.persistence.TypedQuery.setFlushMode(FlushModeType)

. Parameters : flushMode - flush mode Returns: the same query instance. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.metamodel.ManagedType.getCollection(String,Class)

. Parameters : name - the name of the represented attribute elementType - the element type

jakarta.persistence.metamodel.ManagedType.getDeclaredCollection(String,Class)

element type. Parameters : name - the name of the represented attribute elementType - the element

Database is locked when in use

. binitbhaskar Binit Bhaskar There is an undocumented parameter that you may try:     ... ")); which works so far. binitbhaskar Binit Bhaskar OK. This is preferred anyway, since it is a documented parameter . support Support

Cascading makeTransient

of this method states that:  If the useFetchPlan parameter is true, then the current FetchPlan is applied to the pc parameter , as if detachCopy(Object) had been called. After the graph of instances

General Performance Issues Illustrated with a Specific Method

Method in Abstract Facade public List findLightsByJpql(String jpql, Map parameters ) { Query qry = getEntityManager().createQuery(jpql); Set entries = parameters .entrySet(); for (Map.Entry entry

Extended HashMap as Embeddable class

Hi, Should it be possible to create an Embeddable class that extends HashMap (or Set etc.)? I can user HashMaps  as parameter type in entities, but when I extend it and annotate it with @Embeddable annotation - I get an error. @Embeddable public class A extends HashMap { (...) }    

Online backup problem

. support Support The "dummy" parameter works with my version (2.2.5_04) - thanks! kborkowski Karol Borkowski

query on calendar class

is for literals, so it cannot contain variables or parameters . In comparison the operand types must match. Not

Explorer in 2.3

more information about the database health a. Show actual running values for all parameters in objectdb.conf (size

Missing Data on Retrieval (0, null values)

, using one entity class with various parameters (including map of attributes) to represent similar

connection pooling

read that section carefully, thank you. The connection parameter : is for any JPA, and not just

zip file or JAR manifest missing

classes in a persistence unit . Specify the type as a parameter to the createQuery method. Access

package not found running ObjectDB under OSGi

Exported during Runtime. So what is wrong ?? Do you really use that second parameter ?? Don't

combined index not used

that it is indeed very slow. Could you please provide a typical value for the ?1 (end date) parameter ... ? If it is, then any unique substring from that query plan that doesn't depend on parameters should work ... ? with which query and parameters exactly? support Support Yes you can use this db hgzwicker Hans-Georg Zwicker

InternalException caused by OOM: Metaspace

) If the JVM MaxMetaspaceSize parameter is set you may want to try increasing the limit. In addition

JPQL Subqueries (JPA 1.0)

The JPQL (Java Persistence Query Language) supports defining subqueries, which are nested queries that are embedded in other queries. Subqueries are currently not supported by ObjectDB, and as a workaround, you can use a sequence of two or more queries, where the results of one query serves as a parameter in the next queries. support Support

javax.servlet.ServletException: Annotated methods must follow the JavaBeans naming convention. __odbHidden_getPropertyName

;   } It appears in part of a JSF template with dynamic CSS style parameters : style="min