ObjectDB Database Search

101-150 of 200 results

Get multiple entities by Id

I'm trying to fetch a list of entities, by their Id. I Use this query: SELECT c FROM User c WHERE c.id IN :ids This querey works as long as I don't set the property "id" as @Id. If i set @Id to any other member, this query works, if I set id as @Id, it stops working and gives zero results

Internal ObjectDB error by read the primary key

covered by the fix of 2.6.6_05. Build 2.6.6_06 should fix it. Unfortunately it is difficult to cover

Retrieval by Access bug?

of objectC, and I cant find any reason for that. Could be any bug in ObjectDB when I retrieve by navigation

Will Entire JPQL Supported by ObjectDb?

JPQL features are not supported yet by ObjectDB. The main missing feature is subqueries

Finding an object by its datetime

. I want to search for objects by exact timestamps.   takada Takumi Adachi It should work

java.sql.Time field off by 30 minutes

java.sql.Time field off by 30 minutes

getting "Unexpected total page count" error when diagnosis mu db by ObjectDB doctor.

getting "Unexpected total page count" error when diagnosis mu db by ObjectDB doctor.

Can you implement fastest Native JPA for MySQL by ClusterJ like?

Can you implement fastest Native JPA for MySQL by ClusterJ like?

Incorrect entity returned by query

Incorrect entity returned by query

combined index not used

.properties.name = 'scheduledSlot') GROUP BY a.endDate, a.objectsInCharge.nodePath, a.objectsInCharge ... --------------------- Group the results of step 5 by : a.endDate,v$1.nodePath,v$3.doubleValue. Step 7: Apply ... .type = 1) and (a.objectsInCharge.properties.name = 'scheduledSlot') GROUP BY a.endDate

JPA Criteria Query Expressions

expression handling by using a minimal set of reusable interfaces, so many different types of expressions are represented by the same Expression interface.  Core expressions The following interfaces

JPA Lifecycle Events

annotation. By default, callback methods in a superclass are also invoked for entities of its subclasses ... attached to an entity class are inherited by its subclasses. To prevent this inheritance, add

Server Configuration

The configuration element specifies settings for running an ObjectDB Server . The server is also affected by other elements in the configuration file, such as the and elements. The default ... server. Every database file in the data directory and its subdirectories can be accessed by the server

Schema Update

the original name (specified by the required name attribute) to the new name. All classes in ... , the class name changes from the original name (specified by the required name attribute) to the new name

JPA Metamodel Attributes

are represented by : Represents single-valued attributes. This includes basic types (primitives ... ) with "To-One" cardinality. Plural (collection) attributes Collection-valued attributes are represented by

JPA Fetch Plan Graphs

Jakarta Persistence (JPA) Entity Graphs optimize query performance by specifying which attributes should be loaded eagerly. Graph definitions Use the following interfaces to define ... Individual components within a graph are represented by the following interface: Represents a specific

JPA Queries

these core interfaces: The base interface for executing queries in JPA. It is often replaced by ... the query clauses. Elements used to define the SELECT and ORDER BY clauses. Elements for the FROM

What are the main benefits of using ObjectDB?

By using ObjectDB you can reduce development time and costs and improve your application performance. Reducing Development Time and Costs ObjectDB makes database programming easier and faster ... fields can be stored by ObjectDB simply as part of the containing object. Relational databases lack

Defining a JPA Entity Class

. Only the persistent state of the object, which is represented by its persistent fields , is stored. By default, any

Obtaining a JPA Database Connection

In JPA, a database connection is represented by the EntityManager interface. Therefore, to manipulate an ObjectDB database, you need an EntityManager instance. Operations that modify database ... directory, which by default is the directory where ObjectDB is installed. If a database file does not

Database Schema Evolution

to the new schema on a field- by -field basis: For every field in the new schema that has a matching field in ... ) The automatic schema evolution mechanism, as described above, is based on matching fields by

jakarta.persistence.criteria.AbstractQuery.getGroupRestriction()

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.AbstractQuery Predicate getGroupRestriction() Return the predicate that corresponds to the restriction(s) over the grouping items, or null if no restrictions have been specified. Returns: having clause predicate. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.AbstractQuery.having(Expression)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.AbstractQuery AbstractQuery having (    Expression restriction ) Specify a restriction over the groups of the query. Replaces the previous having restriction(s), if any. Parameters: restriction - a simple or compound

jakarta.persistence.criteria.AbstractQuery.having(Predicate...)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.AbstractQuery AbstractQuery having (    Predicate... restrictions ) Specify restrictions over the groups of the query according the conjunction of the specified restriction predicates. Replaces the previously having added

jakarta.persistence.criteria.AbstractQuery.having(List)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.AbstractQuery AbstractQuery having (    List restrictions ) Specify restrictions over the groups of the query according the conjunction of the specified restriction predicates. Replaces the previously added having

jakarta.persistence.criteria.Subquery.having(Expression)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.Subquery Subquery having (    Expression restriction ) Specify a restriction over the groups of the subquery. Replaces the previous having restriction(s), if any. This method only overrides the return type

jakarta.persistence.criteria.Subquery.having(Predicate...)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.Subquery Subquery having (    Predicate... restrictions ) Specify restrictions over the groups of the subquery according the conjunction of the specified restriction predicates. Replaces the previously added having

jakarta.persistence.criteria.Subquery.having(List)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.Subquery Subquery having (    List restrictions ) Specify restrictions over the groups of the query according the conjunction of the specified restriction predicates. Replaces the previously added having restriction(s

jakarta.persistence.metamodel.IdentifiableType

name ) Return the attribute declared by the managed type that corresponds to the specified name ... the attributes declared by the managed type. Returns empty set if the managed type has no declared attributes ... the Collection-valued attribute declared by the managed type that corresponds to the specified name

jakarta.persistence.metamodel.EntityType

( String name ) Return the attribute declared by the managed type that corresponds to the specified ... () Return the attributes declared by the managed type. Returns empty set if the managed type has no declared ... elementType ) Return the Collection-valued attribute declared by the managed type that corresponds

jakarta.persistence.metamodel.MappedSuperclassType

( String name ) Return the attribute declared by the managed type that corresponds to the specified name ... the attributes declared by the managed type. Returns empty set if the managed type has no declared ... ) Return the Collection-valued attribute declared by the managed type that corresponds to the specified

jakarta.persistence.metamodel.ManagedType

) 1.0 Attribute getDeclaredAttribute ( String name ) Return the attribute declared by the managed ... getDeclaredAttributes () Return the attributes declared by the managed type. Returns empty set if the managed type ... the Collection-valued attribute declared by the managed type that corresponds to the specified name

jakarta.persistence.metamodel.EmbeddableType

(JPA) 1.0 Attribute getDeclaredAttribute ( String name ) Return the attribute declared by ... (JPA) 1.0 Set getDeclaredAttributes () Return the attributes declared by the managed type. Returns ... getDeclaredCollection ( String name , Class elementType ) Return the Collection-valued attribute declared by

jakarta.persistence.criteria.CriteriaBuilder

. Since: Jakarta Persistence (JPA) 3.2 Order asc ( Expression expression ) Create an ordering by ... asc ( Expression expression , Nulls nullPrecedence ) Create an ordering by the ascending value ... an ordering by the descending value of the expression. Parameters: expression - expression used

Spring MVC and JPA Tutorial

a basic guestbook page. Every visitor can sign the guestbook by filling a simple form. All visitors that have already signed are listed below the form: Persistence is managed by JPA. Every visitor

Step 4: Add a Controller Class

In this step we will add a Spring Controller to manage guestbook web requests: Open the [New Java Class] dialog box by right clicking the guest package node (in the [Package Explorer] window ... . A GuestDao component is automatically constructed and injected by Spring into the guestDao field

Step 6: Set the Spring XML

editor ( by right clicking and selecting  Open With Text Editor or by double click

Step 1: Create a Java Project

We start by creating a new NetBeans Project: Open the [New Project] dialog box, e.g. by using File New Project... Select Java Java Application and click Next . Choose a Project Name (e.g. Tutorial ). The name of the Main class should be tutorial.Main . Verify that exactly this case sensitive fully

Step 6: Set the Spring XML

another xml configuration file. Open the web.xml file (under Web Pages WEB-INF) in a text editor ( by right clicking and selecting Edit or by double click and then moving to the XML tab in the editor window

Step 7: Run the Spring Web App

;you can run the application now by right clicking the project node (in the [Project Explorer] window ... ; ObjectDB Explorer : This is the end of the tutorial. Learn more about ObjectDB and JPA by reading the  Manual .

Java EE JPA Tutorial - Maven Project

The  Java EE Web Application tutorial provides step by step instructions on how to build a simple Java/JPA database driven web application (for GlassFish 3/ JBoss 6) in  Eclipse or  NetBeans . Building a new application step by step is an effective way to learn - but 

Step 6: Run the Java EE 6 Application

You can run the application now by right clicking the GuestServlet node (in the [Project Explorer] window) and selecting Run As Run on Server Finish : Since we are using ObjectDB in embedded mode ... : This is the end of the tutorial. Learn more about ObjectDB and JPA by reading the Manual .

Step 6: Run the Web Application

You can run the application now by right clicking the GuestServlet node (in the [Project Explorer] window) and selecting Run As Run on Server Finish : Since we are using ObjectDB in embedded mode ... the database file in ObjectDB Explorer : This is the end of the tutorial. Learn more about ObjectDB and JPA by reading the Manual .

Step 2: Entity Class and Persistence Unit

, enter src/main/java as Folder Name and click Finish . Open the [New Java Class] dialog box, e.g. by ... by setting a  META-INF/persistence.xml file: Right click the src/main/resources node (in

Step 4: Add a Controller Class

In this step we will add a Spring Controller to manage guestbook web requests: Open the [New Java Class] dialog box by right clicking the guest package node (in the [Projects] window) and selecting ... is automatically constructed and injected by Spring into the guestDao field (because it is annotated

Spring MVC JPA Tutorial - Maven Project

The  Spring MVC JPA tutorial provides step by step instructions on how to build a simple Java/JPA Spring MVC database driven web application in  Eclipse or  NetBeans . Building a new application step by step is an effective way to learn - but if you prefer

Step 6: Run the Java EE 6 Application

You can run the application now by right clicking the  GuestServlet node (in the [Projects] window), selecting  Run File , and then clicking  OK (no need to change the servlet ... server and open the database file in ObjectDB Explorer : This is the end of the tutorial. Learn more about ObjectDB and JPA by reading the Manual .

Step 6: Run the Web Application

You can run the application now by right clicking the GuestServlet node (in the [Projects] window), selecting Run File , and then clicking  OK (no need to change the servlet execution URI ... of the tutorial. Learn more about ObjectDB and JPA by reading the Manual .

Step 2: Define a JPA Entity Class

To store objects in an ObjectDB database using JPA we need to define an entity class: Open the [New Java Class] dialog box, e.g. by right clicking the tutorial package node (in the [Projects] window) and selecting New Java Class ... Enter Point as the class name - use exactly that case sensitive

Step 4: Add a Servlet Class

In this step we will add a servlet to manage guestbook web requests: Open the [Create Servlet] dialog box by right clicking the guest package node (in the [Package Explorer] window), selecting  New Other... Web Servlet and clicking  Next . The Java package name should be guest