ObjectDB Database Search
101-150 of 200 resultsDoctor fails to run when running in parallel on more DB files. We've got this exception, when running DB Doctor in parallel on multiple DB files. com.objectdb.o.UserException: Attempt to open a non existing file './tmp.E3Mwf13d7o/objectdb_7666012114926572695 ... thread , and particularly the suggestion in #2, which you may find helpful. support Support | |
JPQL query to get entities that does not have a child entity in their child entities = "findFinishedJobsBetweenTimeIntervals", query = "SELECT J FROM JobEntity J, IN (J.statuses) JS WHERE " + "J | |
Problem with byte arrays in JDO - ClassCastException A bizarre ClassCastException is thrown if I attempt to obtain a byte array field as the result of a Query: Exception in thread "main" java.lang.ClassCastException: java.lang.Boolean cannot be cast to [B at spiffy.test.ObjectdbTest.main(ObjectdbTest.java:44) package spiffy.test; import java.util | |
OutOfMemory in Server(Thread.java:833) I was also checking the used heap size chart in JConsole while my test case caused | |
ClassNotFoundException messages in the log file In the ObjectDB log file, I still see one ClassNotFoundException. Is this to be expected, or do I have another issue I need to correct? [2017-11-03 13:52:01 #18 type.loader] java.lang.ClassNotFoundException: String at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass | |
ClassNotFoundException Stack Traces in the Log File If I turn the log level in objectdb.conf to debug I get a lot of ClassNotFoundException 's (see example below). My question is, is there a way to avoid these exceptions? [2013-02-05 10:52:30 #399 type.loader] java.lang.ClassNotFoundException: org.xxx.TConductingEquipment at org.eclipse.osgi | |
Getting Unexpected internal exception when updating entity in MEM dbGetting Unexpected internal exception when updating entity in MEM db | |
What algorithm in find()What algorithm in find() | |
Order in WHERE Clause affects behaviour on DATE/DATETIME columnsOrder in WHERE Clause affects behaviour on DATE/DATETIME columns | |
member visiting in jpqlmember visiting in jpql | |
selecting objects that have a particular key/value in persistant HashMapselecting objects that have a particular key/value in persistant HashMap | |
embed the .odb file in tomcat webapp containerembed the .odb file in tomcat webapp container | |
Many connections possible? and will it makes problem in future?Many connections possible? and will it makes problem in future? | |
InternalException in Database Doctor file... .Exception in thread "ODB IndexActivation" [ObjectDB 2.6.9_06] Unexpected exception (Error ... when the database is opened by the Doctor during diagnosis. This is disabled now in build 2.6.9_08 | |
@FetchGroup in JPA similar to JDO I was checking what's new in different JPA implementation on the market and found quite interesting two features. First of those features is described in this ticket. It's similar to FetchGroup from JDO. It works like this. First you specify attributes to fetch from database: @FetchGroup(name | |
ObjectDB tries to create a File in a localtion without write access which creates the file for example in %TEMP% btc_es BTC EmbeddedSystems Please try build 2.7.0_04. support | |
How to change properties in urls2.xml ? Hello, I am using objectdb in an embedded case with network private access to each database. I see it exists a file name "urls2.xml". /var/lib/tomcat7/db/myDb.odb;user=admin;password=admin objectdb://127.0.0.1:38059/;user=$code;password=a2e54ea3-d889-41a7-953c-dabc42877742 This file | |
Deleting a broken reference that was fixed to null in the ExplorerDeleting a broken reference that was fixed to null in the Explorer | |
NPE using AND TRUE in WHERE clauseNPE using AND TRUE in WHERE clause | |
JPA Named Queries Annotations the following annotations: Specifies a static, named query in the Jakarta Persistence Query Language (JPQL ... of the ObjectDB Manual. Query references Access named queries in the application by name or by using | |
JPA Attributes Annotations. The embedded state is stored in the same table as the owning entity. Specifies a collection field or ... . An enumeration defining the SQL type mapping: DATE , TIME , or TIMESTAMP . For more details, see the Persistent Classes chapter in the ObjectDB manual. | |
JPA Query Expressions (JPQL / Criteria) operators, listed in order of decreasing precedence: Navigation operator ( . ) Arithmetic operators ... : = , , = , IS [NOT] NULL , [NOT] BETWEEN Collection operators: [NOT] IN , IS [NOT] EMPTY , [NOT] MEMBER | |
JPA Metamodel Types The Jakarta Persistence (JPA) Metamodel API defines a structured hierarchy of interfaces and enumerations to represent the persistent types within a domain model. Metamodel Types Hierarchy in ... superclasses. Represents an @Entity class in the domain model, providing access to the entity's name | |
jakarta.persistence.JoinColumn() { return address; } Example: unidirectional one-to-many association using a foreign key mapping // In Customer class @OneToMany @JoinColumn(name = "CUST_ID") // join column is in the table for Order ... ) The name of the foreign key column. The table in which this column is found depends on the context | |
jakarta.persistence.MapKeyJoinColumn key join column is in the collection table, join table, or table of the target entity that is used ... = "STORE")) @Column(name = "COPIES_ IN _STOCK") @MapKeyJoinColumn(name = "MOVIE", referencedColumnName ... (Optional) The name of the foreign key column for the map key. The table in which it is found depends | |
jakarta.persistence.EntityManagerFactory the application, and which must be colocated in their mapping to a single database. If two entity types participate in an association, then they must belong to the same persistence unit. A persistence unit ... of the Persistence class: if the persistence unit is defined in persistence.xml , an entity manager | |
JPA Metamodel Attributes The Jakarta Persistence (JPA) Metamodel API defines a structured hierarchy of interfaces and enumerations to represent the attributes of managed persistent types (entities, embeddable and superclasses). Metamodel Attributes Hierarchy in Jakarta Persistence (JPA) 3. Base attribute definitions | |
jakarta.persistence.JoinTable. It is applied to the owning side of an association. A join table is typically used in the mapping ... , and one-to-one associations (both bidirectional and unidirectional). When a join table is used in mapping ... key constraint for the columns corresponding to the joinColumns element when table generation is in | |
jakarta.persistence.Convert may be applied to: a basic attribute, or a collection attribute of any type other than Map , in which case the converter is applied to the elements of the collection. In these cases, the attributeName ... , a collection attribute whose element type is an embeddable type, in which case the converter is applied | |
jakarta.persistence.MapKeyColumn) The name of the map key column. The table in which it is found depends upon the context. If the map key is for an element collection, the map key column is in the collection table for the map value ... table, the map key column is in a join table. If the map key is for a OneToMany entity relationship | |
jakarta.persistence.ManyToMany of the embeddable class. The dot ( . ) notation syntax must be used in the mappedBy element to indicate ... notation is the name of the respective embedded field or property. Example 1: // In Customer class: @ManyToMany @JoinTable(name = "CUST_PHONES") public Set getPhones() { return phones; } // In | |
jakarta.persistence.ConstructorResult Interfaces: Annotation Used in conjunction with the SqlResultSetMapping or NamedNativeQuery annotation ... , passing in as arguments values from the specified columns. All columns corresponding to arguments ... annotation in the same order as that of the argument list of the constructor. Any entities returned as | |
jakarta.persistence.Entity type maps to a single column in one of the tables mapped by the entity, a field of property of embeddable type has nested mappings to multiple columns in one of the tables mapped by the entity ... to a foreign key column or columns in one of the tables mapped by the entity | |
jakarta.persistence.ForeignKey: Annotation Specifies the handling of foreign key constraints when schema generation is in effect ... should be generated. The syntax used in the foreignKeyDefinition element should follow the SQL syntax used by ... constraint should be generated when schema generation is in effect. ConstraintMode.CONSTRAINT specifies | |
jakarta.persistence.NamedEntityGraph name (Optional) The name used to identify the entity graph in calls to EntityManager.getEntityGraph ... that are included in this graph. Default: {} Since: Jakarta Persistence (JPA) 1.0 boolean ... in the NamedEntityGraph without the need to explicitly list them. Included attributes | |
jakarta.persistence.ColumnResult: Annotation Used in conjunction with the SqlResultSetMapping , NamedNativeQuery , or ... the name of a column in the SELECT list — i.e., column alias, if applicable. Scalar result types can be included in the query result by specifying this annotation in the metadata. Example: Query q = em | |
jakarta.persistence.EntityTransaction (JPA) 3.2 boolean isActive () Indicate whether a resource transaction is in progress. Returns: boolean indicating whether transaction is in progress. Throws: PersistenceException - if an unexpected ... , in seconds. This is a hint. Parameters: timeout - the timeout, in seconds, or null to indicate | |
jakarta.persistence.Index Jakarta Persistence (JPA) Annotation Type jakarta.persistence.Index Implemented Interfaces: Annotation Used in schema generation to specify creation of an index. The syntax of the columnList element ... : "" Since: Jakarta Persistence (JPA) 1.0 String columnList (Required) The columns included in the index, in order | |
Eclipse/JPA Spring MVC Web Tutorial;how to create and run a full Java Spring MVC (Model View Controller) web application in ... are stored in an ObjectDB database. Required Software For this tutorial you will need the following ... ) including Maven Integration for WTP ( in m2eclipse extras). The tutorial was written for Eclipse 3 | |
JPA Web App Tutorial - Maven Project The JPA Web Application tutorial provides step by step instructions on how to build a simple Java/JPA database driven web application (for Tomcat / Jetty) in Eclipse or NetBeans ... /Guestbook/ You may also open and run the Maven project in your IDE: NetBeans IDE and IntelliJ IDEA have built in Maven support. | |
Spring MVC and JPA Tutorial that has signed the guestbook is represented as Guest JPA entity, and all Guest entities are stored in an ObjectDB database. This tutorial is available in the following versions: In addition, the demonstrated application is available as a Maven project: | |
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: | |
Step 2: Define a JPA Entity Class To store objects in an ObjectDB database using JPA we need to define an entity class: Right click on the project in the [Package Explorer] window and select New Class . Enter tutorial as the package ... should represent Point objects in the database. Apart from the @Entity annotation and the id field | |
Step 3: Add a Context Listener Class The Guest entities will be stored in an ObjectDB database, which will be represented by a JPA's ... by right clicking the guest package node ( in the [Package Explorer] window), selecting New ... an application scope attribute in the servlet context - when the web application starts | |
Step 1: Create a Maven Web Project We start by creating a new Maven web project in NetBeans: Open the [New Project] dialog box, e.g ... the project. The configuration of the new created project is contained in a pom.xml file that was created under Project Files in the [Project] window: To add dependency on the Spring MVC Framework and ObjectDB | |
Step 1: Create a Java EE 6 Web Project We start by creating a new Java EE dynamic web project in Eclipse: Open the [New Project] dialog box, e.g. by using File New Project... Select Web Dynamic Web Project and click Next . Choose ... the file system and drop it in the WebContent/WEB-INF/lib node in the Eclipse Project Explorer | |
JPA Web App Tutorial - NetBeans Project To open and run the JPA Web Application tutorial project in NetBeans: Download and extract the project zip file: JPA Web App - Maven Project (6KB) Open the Maven project in NetBeans: Select File Open Project... . Select the guestbook-web directory and click Open | |
NetBeans/JPA Web Application Tutorial This is the NetBeans version of the JPA Web App tutorial. It demonstrates how to create and run a database driven Java web application in NetBeans - using Tomcat 6 Apache Tomcat ... entities are stored in an ObjectDB database. Required Software For this tutorial you will need | |
Step 1: Create a Java Project the project. To add ObjectDB/JPA support for the project: Right click the Libraries folder in the [Projects | |
Getting Started with JPA and Eclipse This is the Eclipse version of the Quick Start with JPA tutorial. It demonstrates how to create and run a simple JPA application in Eclipse. The demonstrated application uses JPA to store and retrieve simple Point entities, where each Point has two persistent fields: x and y |