ObjectDB Database Search

101-150 of 200 results

NoSuchFieldError: __odbTracker on NetBeans 7.3 + JBoss 7.1.1

When using inheritance throw exception java.lang.NoSuchFieldError: __odbTracker on NetBeans 7. 3 ... ) if remove the inheritance works fine. On GlassFish 3 .1 with inheritance also works fine. Why "person ... _ This must be invoked before the application server loads any relevant class. The error message may indicate

Annotations not supported in -source1.3 (use -source 5 or higher ..)

and other files: Annotations not supported in -source1. 3 (use -source 5 or higher ..) Generics not supported in -source1. 3 (use -source 5 or higher ..) (Note that the version of Java I ran Maven as ... did not find a setting for the Java version there, so I created a fresh basic Java Application in

Retrieving JPA Entities

entity and returns it to the application . The construction of a new managed object during retrieval ... that the application is working with the most up-to-date version of an entity, in case it was changed ... , which is also refreshed. Cascading can continue recursively if applicable , for example, to entities that the Address object references.

What are the main benefits of using ObjectDB?

By using ObjectDB you can reduce development time and costs and improve your application ... the execution time of object oriented applications significantly. For instance, collection and map ... , eliminating the intermediate ORM layer further accelerates applications . For instance, ObjectDB

Is ObjectDB better than Object Relational Mapping (ORM)?

of a relational database is mandatory (e.g. as a result of a customer request or when a new application ... ), you can develop portable applications that can use both ObjectDB and relational databases. This way you have the best of both worlds - use ObjectDB when applicable for faster development and better

JPA Shared (L2) Entity Cache

all its EntityManager instances. The broader scope of this cache makes it useful in applications ... . This can be useful when other applications or other EntityManagerFactory instances might update ... (); In most applications , you do not need to use the Cache interface and its methods directly.

Online Backup

it is not open in an ObjectDB server or in use by any application . ObjectDB also supports online backups, which let you back up a database while it is in use. This feature is useful for applications that require continuous service (24/7), such as most web applications . Starting an online backup

ObjectDB 2.3.5

parameters display in the Explorer schema window. Fixed merging a new entity object with application set primary key.

jakarta.persistence.JoinColumn

: "" Since: Jakarta Persistence (JPA) 3 .2 String table (Optional) The name of the table that contains the column. If a table is not specified, the column is assumed to be in the primary table of the applicable ... if table generation is in effect. Default: {} Since: Jakarta Persistence (JPA) 3 .2 String comment

Numbers in JPQL and Criteria Queries

. For example: MOD(11, 3 ) evaluates to 2 . MOD(8, 4) evaluates to 0 . The MOD function takes two integer ... function returns the square root of a specified argument. For example: SQRT(9) is evaluated to 3 SQRT(2

jakarta.persistence.criteria.CriteriaQuery

) 3 .2 boolean isDistinct () Return whether duplicate query results must be eliminated or retained ... : Applications using the string-based API may need to specify the type of the select item when it results ... more restriction predicates Returns: the modified query. Since: Jakarta Persistence (JPA) 3 .2

jakarta.persistence.PersistenceConfiguration

) Since: Jakarta Persistence (JPA) 3 .2 Public Static Fields CACHE_MODE String specifying a SharedCacheMode ... query timeout hint. Since: Jakarta Persistence (JPA) 1.0 SCHEMAGEN_CREATE_SCRIPT_SOURCE An application ... _SOURCE An application -provided SQL script to be executed when the schema is dropped. Since: Jakarta

JPA Persistable Types

only in applications that use an ORM-based JPA provider, such as Hibernate, TopLink, EclipseLink, OpenJPA ... , which is a subclass of the original java.util.ArrayList . Most applications are not affected by this, because proxy

Schema Update

when you rename or move persistable classes to another package. If you run the application with persistable ... these changes, the application runs only with a configuration that matches them exactly. The default

Is ObjectDB better than competing object databases?

you can keep your application portable. If necessary, you will always be able to switch to any ... almost every application . ObjectDB supports user defined primary keys including composite primary keys

Is ObjectDB scalable? What are its limitations?

ObjectDB is highly scalable and can manage efficiently databases in a wide range of sizes, from a few Kilobytes to hundreds of Gigabytes and even Terabytes. ObjectDB can be used in small embedded single user applications as well as in heavy loaded multi threaded multi user applications . ObjectDB

JPA Queries

TypedQuery in modern applications to ensure compile-time type safety. A sub-interface of Query used ... because it eliminates the need for casting results. Controls the execution of stored procedures (not applicable

Obtaining a JPA Database Connection

a multithreaded application , each thread usually has its own EntityManager instance while sharing a single, application -wide EntityManagerFactory . When the connection to the database is no longer needed

ObjectDB Overview

processing, etc.) but in a way that makes development easier and applications faster. ObjectDB Database Key ... . Can easily be embedded in applications of any type and size. Tested with Tomcat, Jetty, GlassFish

Database Explorer

in client-server mode, other applications can access it simultaneously. If another process modifies ... only the Explorer. In your applications , retrieved String instances always have the same encoding

jakarta.persistence.Convert

Temporal . Applications that depend on such conversions are not portable. The Convert annotation ... ; } Example 3 : Disable conversion in the presence of an autoapply converter @Convert

jakarta.persistence.OrderColumn

and maintained by the application . The OrderBy annotation is not used when OrderColumn is specified. The order ... . Default: "" Since: Jakarta Persistence (JPA) 3 .2 Additional JDK methods inherited from java.lang

jakarta.persistence.EntityManager.getReference(T)

when getReference() is called.) This operation allows the application to create an association to an entity without loading its state from the database. The application should not expect the instance state to be available upon detachment, unless it was accessed by the application while the entity manager

ObjectDB 2.3.3

ObjectDB 2.3.3

jakarta.persistence.Graph

to EntityGraph and Subgraph . See Also: EntityGraph Subgraph Since: Jakarta Persistence (JPA) 3 .2 Public ... is not an attribute of this entity.. Since: Jakarta Persistence (JPA) 3 .2 AttributeNode ... Persistence (JPA) 3 .2 void addAttributeNodes ( String... attributeName ) Add one or more attribute

jakarta.persistence.criteria.CriteriaBuilder

more restriction predicates Returns: and predicate. Since: Jakarta Persistence (JPA) 3 .2 Expression ... . Since: Jakarta Persistence (JPA) 3 .2 Order asc ( Expression expression ) Create an ordering by ... . Since: Jakarta Persistence (JPA) 3 .2 Expression avg ( Expression x ) Create an aggregate expression applying

jakarta.persistence.EntityGraph

.. Since: Jakarta Persistence (JPA) 3 .2 AttributeNode addAttributeNode ( Attribute attribute ) Get an existing ... : IllegalStateException - if the EntityGraph has been statically defined. Since: Jakarta Persistence (JPA) 3 .2 void ... . Since: Jakarta Persistence (JPA) 3 .2 Subgraph addElementSubgraph ( String attributeName ) Add

jakarta.persistence.Subgraph

. IllegalArgumentException - if the attribute is not an attribute of this entity.. Since: Jakarta Persistence (JPA) 3 .2 ... has been statically defined. Since: Jakarta Persistence (JPA) 3 .2 void addAttributeNodes ( String ... Persistence (JPA) 3 .2 Subgraph addElementSubgraph ( String attributeName ) Add a node to the graph

ObjectDB License Agreement [ver. 2.0.4]

by this agreement. 3 . The free edition of the Software includes restrictions on the number of classes

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

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 Jakarta Persistence (JPA) 3 .2 Base type definitions The core abstractions of model types

JPA Extended API Reference Guide

Jakarta Persistence API (JPA) 3 .2 documentation, generated from the official JavaDoc and enriched with practical notes. It groups the API types into logical sections to help you locate core concepts, query facilities, metamodel details, configuration options, annotations, and exception information

JPA Criteria Queries

queries: Criteria Queries Hierarchy in Jakarta Persistence (JPA) 3 .2  Instances of 

CRUD Database Operations with JPA

is greater than or equal to 100 are deleted. All other Point objects are updated. Chapter 3

JPA Criteria FROM and JOIN

is structured as follows: Criteria Query From Components in Jakarta Persistence (JPA) 3 .2 

Step 1: Create a Web Project

We start by creating a new NetBeans Web Application Project: Open the [New Project] dialog box, e.g. by using File New Project... Select Java Web Web Application and click Next . Choose a Project ... installation directory and click Open . Now you should have a NetBeans Web Application project

Step 6: Set the Spring XML

To integrate the Spring Framework into a web application we have to add the definition of the Spring dispatcher servlet to the  web.xml configuration file and to configure that servlet using ... the WEB-INF directory. The next step (and the last in this tutorial) is  running the Spring web application .

Step 6: Set the Spring XML

To integrate the Spring Framework into a web application we have to add the definition of the Spring dispatcher servlet to the web.xml configuration file and to configure that servlet using ... for JSP pages in the WEB-INF directory. The next step (and the last in this tutorial) is running the Spring web application .

Step 5: Add a JSP Page

Guest Book Web Application Tutorial Name: The JSP generates the guestbook page output, which contains ... the previous step). The next step (and the last in this tutorial) is running the web application .

NetBeans/JPA Spring MVC Web Tutorial

This is the NetBeans version of the Spring MVC and JPA tutorial. It demonstrates how to create and run a full Java Spring MVC (Model View Controller) web application in NetBeans - using JPA, ObjectDB, Tomcat (or GlassFish) and Maven. The demo web application

Step 5: Add a JSP Page

Guest Book Web Application Tutorial Name: The JSP generates the guestbook page output, which contains ... the previous step). The next step (and the last in this tutorial) is running the web application .

Step 5: Add a JSP Page

replace the content of the new jsp file with the following content: JPA Guest Book Web Application ... (and the last in this tutorial) is running the web application .

Step 4: Add a Servlet Class

bean, which is instantiated and injected by the application server into the  guestDao field ... page that will serve as the application view and will produce the guestbook output.

JPA Web App Tutorial - IntelliJ Project

To open and run the  JPA Web Application tutorial project in IntelliJ IDEA: Download and extract the project zip file: JPA Web App - Maven Project (6KB) Open the project in IntelliJ IDEA ... : Select File Settings Application Servers . Add Tomcat 6 Server if not set already (Tomcat

Step 5: Add a JSP Page

of the new jsp file with the following content: JPA Guest Book Web Application Tutorial Name: The JSP ... " attribute that is set by the servlet in the previous step). The next step (and the last one in this tutorial) is running the web application .

Step 4: Add a Servlet Class

on the database are carried on by the GuestDao session bean, which is instantiated and injected by the application ... ). The next step is adding a JSP page that will serve as the application view and will produce the guestbook output.

Getting Started with JPA and NetBeans

This is the NetBeans version of the  Quick Start with JPA tutorial. It demonstrates how to create and run a simple JPA application in NetBeans. The demonstrated application uses JPA to store and retrieve simple  Point entities, where each  Point has two persistent fields - 

Java EE 6 JPA Tutorial - IntelliJ Project

To open and run the  Java EE 6 Web Application tutorial project in IntelliJ IDEA: Download and extract the project zip file: Java EE JPA Web App - Maven Project (7KB) Open ... directory and click  OK . Define the Server: Select  File Settings Application Servers . Add

Step 5: Add a JSP Page

content: JPA Guestbook Web Application Tutorial Name: The JSP generates the guestbook page output

Which API should I use - JPA or JDO?

is more commonly used. Therefore, it might be the first choice for most new applications . You can use JPA as ... that are supported only by JDO. Selecting the more popular API leads to more portable application