ObjectDB Database Search
101-150 of 200 resultsSetting temp directory location in ObjectDB.conf file. I am using JDO and setting the persistenceManager as follow properties.setProperty("javax ... , how can i set the temp directory using my java class e.g setting through  ... directory where fileName.odb is located. But i want to set the tempority folder location | |
Understanding Database max-threads objectdb.conf Settings Option (attached to forum thread mentioned above), I set Database max-threads. In the documentation, it was not completely clear to me if this setting controlled how many internal threads ObjectDB uses, or if ObjectDB is doing some sort of queue/locking whose depth is determined by this setting | |
Can a Set | |
"Failed to serialize instance" of Set problem, mappedBy="parent") private Set abstractContainers = com.google.common.collect. Sets ... of com.google.common.collect. Sets $SetFromMap - field xxx.AbstractContainer.abstractContainers at com ... Vladimir Tsichevski Maybe the set contains objects that cannot be serialized. Check the full stack trace | |
JPA query of a Set of terms. ie. Set terms; // the set is filled with SearchTerm objects ... any term should be simpler: Set terms; // the set is filled with SearchTerm objects | |
JPA and handling large data sets. But exporting large binary data sets is very slow. To avoid memory problems the binary data type is read step ... data sets the way is slow. We have an own entity for storing binary data (pictures, documents). Hint ... , which will retrieve only objects with larger primary key as the next set of objects. Usually the problem | |
best practice for configuration settings setting ? synchronized there is no documentation about this setting , what does it do/mean ? hgzwicker Hans ... settings under the real conditions. If synchronized is true requests to the database are synchronized | |
Safe Settings Hi, I am trying to set up ObjectDb in a safe way that allows turning the machine ... with both configuration settings with the debugger and I put a breakpoint in FileDescriptor#sync(). It never got triggered with no setting that I could come up with. How come? Thanks in advance | |
@ElementCollection Set | |
ManyToMany Set is null") private Set contracts = new HashSet (); ---------- @Entity public class Contract ... = "contracts") private Set persons = new HashSet (); [...] itsme Martin Petzold | |
-XMX settings recommendation The default is 256M what is the recommended settings based on? It is the size of the DB? number of connections? If the DB has over 200GB of data and max connection of 400 then will I need to make this settings higher? Thanks. Trianglehead Json Error There is no magic | |
Fetch Set from DB only works on debug mode I have a class A, that contains a LinkedHashSet of another class named B. When I try to fetch that hash set , it returns a null pointer. BUT, when I run the program in debug mode, it works fine ... the EntityManager . In debug mode, by examining the set you load the data before closing the EntityManager | |
Objectdb Server Mode set up with glassfish Hi I'm new to Java, glassfish and objectdb, so please forgive my ignorance. I have a glassfish server working with the embeded mode of objectdb. I now want to set up objectdb in server mode. I ... my project ? How do I configure my persitence.xml file ? Do I need to set up something in Glassfish | |
NullPointerException while setting a new property value to entities from 2 threads: 1. Creating a list of entities, default values are set from imported file 2 ... and re- setting some properties to entities from the collection. NPE is thrown at some point | |
Is there a way to set EAGER fetch on all "ToMany" collection relationships Given that the default seems to be FetchType.LAZY for all collections @OneToMany and @ManyToMany. Such as a configuration option. Instead of having to explicitly set fetch in annotation code in every relationship. webel Dr Darren Kelly No. There is no such configuration option, since having EAGER | |
Set timeout for BatchQueryItr ( unknown source ) xirt Sylvain You can set a query execution timeout as a query hint . The many | |
UPDATE query to set a new field after schema change I've added a new property/field to one of my objects and want to set the value of this (boolean) property to false for all existing entities in the DB. I tried to execute an update statement with the Explorer tool. The statement ends and tells me that 1000 entities have been updated. I then save | |
Global way to set Lazy-loading fetch functionality for all the fields if neither objectdb nor JPA offers it). ouba64 Ouba Mahamane Lazy / Eager can only be set locally | |
client server set up and load is less affected by number of users and more by the actual activity, how indexes are set , etc. support Support | |
Unexpected internal exception during set field of an Embeddable to null that. But the setting of "original value" for Class IntegerSignalValueImpl works once on a attched | |
Unable to update a OneToMany SetUnable to update a OneToMany Set | |
setting activation code in persistence.xml or env file or system propertiessetting activation code in persistence.xml or env file or system properties | |
Iterating over large result setIterating over large result set | |
com.objectdb.o._PersistenceException: Failed to locate set method for field property using reflection. set (platformConnector); } ... } I get an exception thrown when trying to create an entity ... ._PersistenceException: Failed to locate set method for field property domain.PlatformTicker.platformConnector using ... ObjectDB's. However the error message Failed to locate set method for field property... is misleading | |
jakarta.persistence.criteria.CriteriaUpdate Set getParameters () Return the parameters of the query. Returns empty set if there are no parameters. Modifications to the set do not affect the query. Inherited from CommonAbstractCriteria Returns ... Persistence (JPA) 1.0 CriteriaUpdate set ( SingularAttribute attribute , X value ) Update the value | |
jakarta.persistence.criteria.CriteriaQuery. Since: Jakarta Persistence (JPA) 1.0 Set getParameters () Return the parameters of the query. Returns empty set if there are no parameters. Modifications to the set do not affect the query. Inherited from ... . Since: Jakarta Persistence (JPA) 1.0 Set getRoots () Return the query roots. These are the roots | |
Enum fields are set to null and embeddable enum class does not show in explorer I switched to version 2.8.2 and now it seems that my enum types are not recognized and the field in the related objects is set to null. This is highly critical because it will cause data loss! The enum type is also not listed in the explorer. I am talking about an enum class, which implements | |
ObjectDb Doctor : Failed to locate set method for field property com.test.Video$VideoId.sourceId using reflection (error 316) Hello everyone ! I have just launched the ObjectDb Doctor for testing purposes. But while inspecting my base, the Doctor throws me a strange error : [ObjectDB 2.4.6] Invalid ID class com.test.Video$VideoId for type com.test.Video (Failed to locate set method for field property com.test.Video | |
Object creation in the Explorer requires automatically set primary keys The feature of creating new objects in the Explorer is currently supported only for entity classes that have primary keys that are set automatically. support Support | |
UPDATE query cannot set a new field after schema change I've added a new property/field to one of my objects and want to set the value of this (boolean) property to false for all existing entities in the DB. I tried to execute an update statement with the Explorer tool. The statement ends and tells me that 1000 entities have been updated. I then save | |
After using the enhancer, Lazy loaded collections are no longer loading. They are set as nullAfter using the enhancer, Lazy loaded collections are no longer loading. They are set as null | |
jakarta.persistence.ManyToMany: @ManyToMany @JoinTable(name = "CUST_PHONES") public Set getPhones() { return phones; } // In PhoneNumber class: @ManyToMany(mappedBy = "phones") public Set getCustomers() { return customers; } Example 2: // In Customer class: @ManyToMany(targetEntity = com.acme.PhoneNumber.class) public Set | |
jakarta.persistence.SqlResultSetMapping Interfaces: Annotation Target: Type Specifies a mapping of the columns of a result set of a native SQL ... Since: Jakarta Persistence (JPA) 1.0 Annotation Elements String name The name given to the result set ... . Since: Jakarta Persistence (JPA) 1.0 EntityResult[] entities Specifies the result set mapping to entities | |
jakarta.persistence.PersistenceConfiguration.persistence.schema-generation.scripts.action" is set . Since: Jakarta Persistence (JPA) 1.0 SCHEMAGEN ... when "jakarta.persistence.schema-generation.scripts.action" is set . Since: Jakarta Persistence (JPA) 1 ... . Since: Jakarta Persistence (JPA) 1.0 PersistenceConfiguration properties ( Map properties ) Set multiple | |
jakarta.persistence.FlushModeType within a transaction, if AUTO is set on the Query or TypedQuery object, or if the flush mode setting for the persistence context is AUTO (the default) and a flush mode setting has not been specified for the Query or ... , if COMMIT is set , the effect of updates made to entities in the persistence context on queries | |
jakarta.persistence.EntityManagerFactory of EntityManager . A persistence unit defines the set of all classes that are related or grouped by ... . This includes configuration information such as max results, hints, flush mode, lock mode, result set ... , information that can be set by means of the query APIs can be overridden. Information | |
jakarta.persistence.metamodel.SetAttribute: - The type the represented Set belongs to - The element type of the represented Set Super Interfaces: PluralAttribute , Attribute , Bindable Instances of the type SetAttribute represent persistent Set ... a Collection , Set , List , or Map ). Inherited from Attribute Returns: boolean indicating | |
jakarta.persistence.metamodel.Metamodel. Since: Jakarta Persistence (JPA) 1.0 Set getEmbeddables () Return the metamodel embeddable types. Returns am empty set if there are no embeddable types. Returns: the metamodel embeddable types. Since: Jakarta Persistence (JPA) 1.0 Set getEntities () Return the metamodel entity types. Returns | |
jakarta.persistence.StoredProcedureQuery.getSingleResult() getSingleResult() Retrieve a single result from the next result set . The provider will call execute on the query if needed. A REF_CURSOR result set , if any, is retrieved in the order the REF_CURSOR parameter was registered with the query. Returns: the result or null if the next item is not a result set . Throws | |
jakarta.persistence.StoredProcedureQuery.getSingleResultOrNull() getSingleResultOrNull() Retrieve a single result from the next result set . The provider will call execute on the query if needed. A REF_CURSOR result set , if any, is retrieved in the order the REF_CURSOR parameter was registered with the query. Returns: the result or null if the next item is not a result set or | |
jakarta.persistence.criteria.Nulls Specifies the precedence of null values within query result sets . See Also: CriteriaBuilder::asc ... Constants FIRST Null values occur at the beginning of the result set . Since: Jakarta Persistence (JPA) 1.0 LAST Null values occur at the end of the result set . Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.criteria.CommonAbstractCriteria (JPA) 2.1 Public Instance Methods Set getParameters () Return the parameters of the query. Returns empty set if there are no parameters. Modifications to the set do not affect the query. Returns | |
jakarta.persistence.criteria.Fetch attribute for the join. Since: Jakarta Persistence (JPA) 1.0 Set getFetches () Return the fetch joins that have been made from this type. Returns empty set if no fetch joins have been made from this type. Modifications to the set do not affect the query. Inherited from FetchParent Returns: fetch | |
jakarta.persistence.criteria.CriteriaDelete corresponding to the given entity. Since: Jakarta Persistence (JPA) 1.0 Set getParameters () Return the parameters of the query. Returns empty set if there are no parameters. Modifications to the set | |
jakarta.persistence.criteria.FetchParent Persistence (JPA) 1.0 Set getFetches () Return the fetch joins that have been made from this type. Returns empty set if no fetch joins have been made from this type. Modifications to the set do not affect | |
jakarta.persistence.OneToMany Set getOrders() { return orders; } // In Order class: @ManyToOne @JoinColumn(name = "CUST_ID ... = ALL, mappedBy = "customer") public Set getOrders() { return orders; } // In Order class ... for Order public Set getOrders() { return orders; } Since: Jakarta Persistence (JPA) 1.0 Annotation Elements | |
jakarta.persistence.StoredProcedureQuery.getResultList()() Retrieve the list of results from the next result set . The provider will call execute on the query if needed. A REF_CURSOR result set , if any, is retrieved in the order the REF_CURSOR parameter was registered with the query. Returns: a list of the results or null is the next item is not a result set | |
jakarta.persistence.metamodel.ManagedType.getPluralAttributes() Jakarta Persistence (JPA) Method in jakarta.persistence.metamodel.ManagedType Set getPluralAttributes() Return all multi-valued attributes (Collection-, Set -, List-, and Map-valued attributes) of the managed type. Returns empty set if the managed type has no multi-valued attributes. Returns | |
jakarta.persistence.metamodel.ManagedType.getDeclaredPluralAttributes() Jakarta Persistence (JPA) Method in jakarta.persistence.metamodel.ManagedType Set getDeclaredPluralAttributes() Return all multi-valued attributes (Collection-, Set -, List-, and Map-valued attributes) declared by the managed type. Returns empty set if the managed type has no declared multivalued | |
jakarta.persistence.criteria.AbstractQuery.getRoots() Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.AbstractQuery Set getRoots ... itself, including any subquery roots defined as a result of correlation. Returns an empty set if no roots have been defined. Modifications to the set do not affect the query. Returns: the set of query roots. Since: Jakarta Persistence (JPA) 1.0 |