ObjectDB Database Search
1-50 of 169 resultsDatabase Management Settings The configuration element specifies back-end (database engine) settings for the server ... specifies the database file and page size settings : The initial attribute specifies the initial size ... the database. The element specifies the recovery file settings : The enabled attribute ( "true" or | |
Setting and Tuning of JPA Queries The Query and TypedQuery interfaces define various methods for setting and tuning query execution ... that EntityManager , or at the individual query level, which overrides the EntityManager setting ... . JPA adds support for pessimistic locking . The setLockMode method sets a lock mode to apply | |
JPA Entity Fields-persistent) fields and has no data to store in the database. Persistent fields Every non-static non ... , such as Hibernate, or for changing default field settings . For example: @Entity public class ... an exception if you try to store an entity with a null value in that field. Cascade and fetch settings | |
Import data from MySQL Hi, I tried the objectdb in my research, find it very easy to handle without setting up xml files ... mysql data into objectdb? gzdillon Lai Yang Currently to import data from other databases ... data from MySQL using JPA as entity objects, detach the retrieved entity objects and then persist | |
Pessimistic Lock Timeouts setting.objectdb.o._LockTimeoutException: Write lock cannot be granted for a.b.c.d.EE#150. irrespective if I set ... setting a shared lock in the EJB could get around this, but this would be global and impact all threads ... on stale updates. Willks William Support of pessimistic lock timeout setting ( javax.persistence | |
Set timeout for BatchQueryItr ( unknown source ) xirt Sylvain You can set a query execution timeout as a query hint . The many BatchQueryItr files may indicate a complex query on a lot of data with no sufficient indexes | |
Server Configuration The configuration element specifies settings for running an ObjectDB Server . The server ... directory . The data path of an ObjectDB server is similar to the document root directory of a web server. Every database file in the data directory and its subdirectories can be accessed by the server | |
Step 6: Set the Spring XML.DispatcherServlet 2 spring *.html 30 index.jsp The settings above routes web requests with .html suffix to the Spring dispatcher servlet. Additional spring configuration is set in another XML file ... content: The settings above guides Spring to support annotations (for components, controllers | |
SELECT clause (JPQL / Criteria API) in criteria queries The criteria query API provides several ways to set the SELECT clause. Single selection Setting a single-expression SELECT clause is straightforward. For example, the following ... . get ("currency")). distinct (true); The select method takes one argument of type Selection and sets | |
Exporting the data out of the ObjectDB system. However we want to work on one of the aspects that is the data should be able to pulled out of the ObjectDB to some sort of Big Data File system or Relation DB for reporting / analytics ... our OLTP to be affected by data intensive reporting and analytics requirements. This could be handled | |
Missing Data on Retrieval (0, null values) Table contains all necessary Data . Most of the others contains all Object-Rows ... More information is needed (e.g. about your method exportToCSV ). support Support The Data is even missing in ... ) then you must make sure that data is fetched from the database before you your first reflection operation | |
Data portability Hi, I've never used an OODB, I'm looking for a starting point but a recurrent concern is the Data Portability one. More clear: what options / strategies do I have to export / move my data ... Portability (based on JPA/JDO standards), but what about Data Portability? Regards, lorenzo.sm Lorenzo | |
Error with org.springframework.data.jpa.domain.AbstractPersistable I am working on a Spring Boot application. I want to integrate ObjectDB with Spring Data JPA. I refer to the http://www.objectdb.com/database/forum/860 to do the configuration. When I start ... org.springframework. data .jpa.domain.AbstractPersistable.id at com.objectdb.o.MSG.d(MSG.java:62 | |
Database Transaction Replayer of recording is data durability, you can keep the recording directory on a different physical device by setting the path attribute in the configuration . The recording directory contains two types | |
"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 | |
ManyToMany Set is null") private Set contracts = new HashSet (); ---------- @Entity public class Contract ... = "contracts") private Set persons = new HashSet (); [...] itsme Martin Petzold | |
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 | |
Storing JPA Entities setting up automatic cascading persist operations. Cascading persist Marking a reference field ... . Because of the CascadeType.PERSIST setting , when an Employee instance is persisted, the operation is automatically ... . You can do this either by setting the ObjectDB configuration or, in a JPA-portable way, by specifying the cascade-persist | |
Explorer in 2.3 data and Strings. After playing with it for a while, here is a list of additional features I'd love to have: 1. Export of selected data : a. Simple - Select a range of cells or a column header and copy ... for circular references) c. Binary - Select some objects, serialize the data to a binary file | |
jakarta.persistence.EntityManager . A persistence context is a set of entity instances in which for any given persistent entity identity ... flush . The timing of the flush process depends on the flush mode , which may be set explicitly by ... must also be flushed before execution of any query whose result set would be affected by unflushed modifications | |
jakarta.persistence.FetchType strategies for fetching data from the database. The EAGER strategy is a requirement on the persistence provider runtime that data must be eagerly fetched. The LAZY strategy is a hint to the persistence provider runtime that data should be fetched lazily when it is first accessed. The implementation | |
jakarta.persistence.LockModeType attempting to update the entity data . A lock with LockModeType.PESSIMISTIC_READ can be used to query data using repeatable-read semantics without the need to reread the data at the end of the transaction to obtain a lock, and without blocking other transactions reading the data . A lock | |
JPA Criteria Query Expressions expression handling by using a minimal set of reusable interfaces, so many different types of expressions | |
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.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 ... mode, result set mapping information, and information about stored procedure parameters. When the query is executed, information that can be set by means of the query APIs can be overridden | |
jakarta.persistence.EntityResult columns to related entities. The results obtained when insufficient data is available are undefined | |
Report Generation with BIRT and JPA This tutorial demonstrates how to create reports based on data in an ObjectDB database using the popular open source Business Intelligence and Reporting Tools (BIRT). In order to keep things as ... , 12), ..., (20, 20) The data will be presented in the BIRT report using a chart and a table: | |
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 | |
jakarta.persistence.EntityTransaction is false. Since: Jakarta Persistence (JPA) 1.0 void setTimeout ( Integer timeout ) Set the transaction ... that the database server should set the timeout Since: Jakarta Persistence (JPA) 3.2 | |
combined index not used.query-plan-text", "ObjectNode[ set ]"); This tells ObjectDB to prefer a query plan that uses the "ObjectNode[ set ]" element (included in the query plan XML representation). In the case ... , a.objectsInCharge.properties.doubleValue [[objectdb.query-plan-text=ObjectNode[ set ]]] You can also automate | |
Spring MVC JPA Tutorial - IntelliJ Project the Server: Select File Settings Application Servers . Add Tomcat 6 Server if not set already (Tomcat ... +F10 ). If the browser fails to open check the settings at File Settings Web Browsers . | |
jakarta.persistence.criteria.CommonAbstractCriteria.getParameters() Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CommonAbstractCriteria 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: the query parameters. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.Cache.evict(Class,Object) Jakarta Persistence (JPA) Method in jakarta.persistence.Cache void evict ( Class cls , Object primaryKey ) Remove the data for the given entity from the cache. Parameters: cls - entity class primaryKey - primary key Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.Cache.evict(Class) Jakarta Persistence (JPA) Method in jakarta.persistence.Cache void evict ( Class cls ) Remove the data for entities of the specified class (and its subclasses) from the cache. Parameters: cls - entity class Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.PersistenceConfiguration.transactionType() Jakarta Persistence (JPA) Method in jakarta.persistence.PersistenceConfiguration PersistenceUnitTransactionType transactionType() The transaction type . If PersistenceUnitTransactionType.JTA , a JTA data source must be provided via PersistenceConfiguration.jtaDataSource , or by the container | |
jakarta.persistence.metamodel.Metamodel.getEmbeddables() Jakarta Persistence (JPA) Method in jakarta.persistence.metamodel.Metamodel 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 | |
jakarta.persistence.metamodel.ManagedType.getSingularAttributes() Jakarta Persistence (JPA) Method in jakarta.persistence.metamodel.ManagedType Set getSingularAttributes() Return the single-valued attributes of the managed type. Returns empty set if the managed type has no single-valued attributes. Returns: single-valued attributes. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.metamodel.ManagedType.getDeclaredSingularAttributes() Jakarta Persistence (JPA) Method in jakarta.persistence.metamodel.ManagedType Set getDeclaredSingularAttributes() Return the single-valued attributes declared by the managed type. Returns empty set if the managed type has no declared single-valued attributes. Returns: declared single-valued attributes. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.metamodel.ManagedType.getDeclaredAttributes() Jakarta Persistence (JPA) Method in jakarta.persistence.metamodel.ManagedType Set getDeclaredAttributes() Return the attributes declared by the managed type. Returns empty set if the managed type has no declared attributes. Returns: declared attributes of the managed type. Since: Jakarta Persistence (JPA) 1.0 | |
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.PessimisticLockException(PrintStreamOrWriter,StackTraceElement~,String,String, Set ), java.lang.Throwable/printStackTrace(), java.lang | |
jakarta.persistence.JoinColumn public Set getOrders() { return orders; } See Also: ManyToOne OneToMany OneToOne JoinTable | |
jakarta.persistence.LockTimeoutException(PrintStreamOrWriter,StackTraceElement~,String,String, Set ), java.lang.Throwable/printStackTrace(), java | |
Step 5: Add a JSP Page that have already signed (which are retrieved from the request's guestDao attribute that is set by the controller in the previous step). The next step (and the last in this tutorial) is setting the Spring XML configuration . | |
[ODB1] Chapter 6 - Persistent Objects Persistence objects represent data in the database. 6.1 Making Objects Persistent In JDO applications, every object in memory is either a persistent object, i.e. represents some database ... more different PersistenceManager instances from modifying the same object at the same time. When using data | |
Step 2: Entity Class and Persistence Unit + ")"; } } The Guest entity class will represents guests in the database. We also need to configure JPA by setting | |
ObjectDB 1.0 Manual Welcome to the ObjectDB for Java/JDO Developer's Guide. Here you can learn how to develop database applications using ObjectDB and JDO (Java Data Objects), the revolutionary database programming technology by Sun Microsystems. The main purpose of this guide is to familiarise you with ObjectDB |