ObjectDB Database Search

151-200 of 200 results

Glassfish 4 AbstractMethodError: com.objectdb.jpa.EMF.createEntityManager

the samples as NetBeans projects, so that you could check easier. 1 for GF3 (6) and 1 for GF4 (7 ... .lang.reflect.Method.invoke(Method.java:601) at org. jboss .weld.util.reflection.Reflections.invokeAndUnwrap(Reflections.java:396) at org. jboss .weld.bean.proxy.EnterpriseBeanProxyMethodHandler.invoke

Deploy ObjectDB in WildFly 10

; [org. jboss . as .jpa] WFLYJPA0002: Read persistence.xml for TestPU 2017-10-23 09:23:31,722 ERROR [org ... "omd-in-memory-db.jar"         at org. jboss . as .server.deployment ... ' not found         at org. jboss . as .jpa.processor

JPA Relationships Annotations

which operations, such as PERSIST or REMOVE , propagate to associated entities. Determines ... in the target entity used as the map key for a Map-valued association. For more details, see the Persistent Classes chapter in the ObjectDB manual.

JPA Annotations

classes as entities, embeddables, or mapped superclasses while configuring caching and listener ... associations between entities, such as one-to-one or many-to-many, and specify cascade and fetch

JPA ORM Mapping Annotations

that a persistent property or field should be persisted as a large object (BLOB or CLOB). Specifies ... or unidirectional one-to-many relationship. Specifies a primary key column that is used as

Managing JPA Entities

the same in-memory object. You can also think of the persistence context as a local cache for a given ... and other caches, as explained in the Configuration chapter. By default, managed entities that have not

General Settings and Logging

constraints, ObjectDB can use temporary files when processing large amounts of data, such as query ... The elements specify logging levels. The   * logger , as shown in the default configuration

About Us

fortune 500 companies as well as smaller companies and start-ups, governments and defence forces

Enhanced classes problem

) at com.objectdb.o.MST.aT(MST.java:508) at com.objectdb.o.MST. aS (MST.java:434) at com.objectdb.o.MST ... , which is supported only when classes are enhanced. As a workaround, please try to disable this lazy ... : System.setProperty("objectdb.temp.no-lazy-o2o-inverse", "true"); or as a JVM parameter: java -Dobjectdb

jakarta.persistence.EntityManager

management of the EntityManager and its associated resource-local EntityTransaction is as follows ... under the control of the persistence provider. Any entity instance can be characterized as being in ... to its persistent fields and properties are automatically detected, as long as it is associated with an active

JPA Named Queries Annotations

to the persistence provider within a @NamedQuery . Hints can control behavior such as query timeouts

JPA Query Expressions (JPQL / Criteria)

JPQL and criteria queries are built on query expressions. Every query consists of clauses , such as SELECT , FROM , WHERE , GROUP BY , HAVING , and ORDER BY . Each clause is composed of JPQL or Criteria API expressions. Atomic expressions The atomic query expressions are: JPQL / Criteria Variables

JPA Metamodel Types

with a persistent identity (primary key), serving as the superinterface of entities and mapped

What are the system requirements for using ObjectDB?

ObjectDB requires Java 8 or later. As a pure Java application, ObjectDB should be able to run on any platform that supports the Java Standard Edition. Either the Java Development Kit (JDK) or the Java Runtime Environment (JRE) can be used. A version of ObjectDB for .NET is currently under development.

JPA Fetch Plan Graphs

as a template for a query or find operation, allowing you to override the default fetch strategies

ObjectDB - JPA Object Database for Java

  Boost your application database performance. Database performance is critical as it is the bottleneck in most applications. ObjectDB is extremely fast and much faster than any other JPA solution. Using a relational database management system (RDBMS) to store and retrieve Java objects

How to install ObjectDB?

ObjectDB is distributed as a zip file. Just download and extract the ObjectDB distribution zip file. No need to run any install or setup program. You can uninstall ObjectDB by deleting the ObjectDB directory. ObjectDB does not modify the registry or any other system file.

JPA Container Injection Annotations

such as services and DAOs. EntityManager injection Inject an EntityManager and configure its scope

Eclipse Distribution License - v 1.0

HOLDERS AND CONTRIBUTORS " AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED

Chapter 3 - Using JPA

This chapter explains how to manage ObjectDB databases by using Jakarta Persistence (JPA). The first two pages introduce basic JPA interfaces and concepts: The next section explains how to use JPA for database CRUD (create, read, update, and delete) operations: The final section discusses advanced topics, such as locking and events:

Step 1: Create a Web Project

.g. Guestbook ). Select Apache Tomcat v6.0 as the Target runtime. Note: You may have to add Tomcat 6 as a new server by clicking the New Runtime... button . Follow the instructions and specify the path

Step 3: Add a Context Listener Class

Other... Select Web Web Application Listener and click Next . Enter GuestListener as the class name - use ... and creates an EntityManagerFactory instance and stores it as an application scope attribute in

Getting Started with JPA - Eclipse Project

directory as Root Directory and press ENTER . Select the project and click  Finish . Run the project in Eclipse: Right click the project node and select Run As Java Application . Select Main - point and click OK .

Step 4: Add a Servlet Class

GuestServlet as the class name - use exactly that case sensitive class name. Click Finish to create ... ). The next step is adding a JSP page that will serve as the application view and will produce the guestbook output.

Step 1: Create a Web Project

Name (e.g. Guestbook ) and click Next . Select Apache Tomcat 6 as the Server. Note: You may have to add Tomcat 6 as a new server by clicking the Add... button . Follow the instructions and specify

Step 7: Run the Spring Web App

At this stage your project should have the following structure: Use copy and paste to replace the content of the index.jsp file (which serves as the default front page) with the following redirection to the controller path: Assuming that Tomcat 6.0 is installed as a server in your NetBeans

Step 5: Add a JSP Page

In this step we will add the JSP that generates the guestbook HTML output: Open the [New JSP File] dialog box by right clicking the WEB-INF node under the Web Pages node (in the [Projects] window) and selecting New JSP ... Enter guest as the jsp file name - use exactly that case sensitive class

Eclipse/JPA Spring MVC Web Tutorial

.6.1 but it should work with other Eclipse versions as well (dialog boxes and menus might look

JPA Web App Tutorial - Maven Project

, you may download and run the result application as a Maven project: JPA Web App - Maven Project (6KB

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 6: Set the Spring XML

  spring-servlet as the File Name. Click  Finish to create the XML file. Now use 

Step 4: Add a Servlet Class

. Enter GuestServlet as the class name - use exactly that case sensitive class name. Click Finish

Step 6: Set the Spring XML

-servlet as the File Name. The Folder should be src\main\webapp\WEB-INF. Click Next and then Finish

Getting Started with JPA and Eclipse

). This tutorial was written for Eclipse 3.6.1 but it should work with other Eclipse versions as

NetBeans/JPA Web Application Tutorial

with other NetBeans versions as well (dialog boxes and menus might look slightly different but the code

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 - the database file is created under the GlassFish directory (e.g. at domains\domain1\eclipseApps

Step 5: Add a JSP Page

In this step we will add the JSP that generates the guestbook page output: Open the [New JSP File] dialog box by right clicking the Web Pages node (in the [Projects] window) and selecting New JSP ... Enter guest as the jsp file name - use exactly that case sensitive class name. Click Finish

Step 3: Create an ObjectDB Data Source

Connections to the database are represented in BIRT as data sources. To create an ObjectDB data source: Open the [New Data Source] dialog box by right clicking the Data Sources node in the [Data Explorer] window and selecting  New Data Source . Select ObjectDB Data Source from the list

Step 4: Run the Application

You can now run the application by right clicking the Main.java file (in the [ Package Explorer ] window) and selecting Run As Java Application . The expected output in the Eclipse [Console] window, is: Total Points: 1000 Average X: 499.5 (0,0) (1,1) (2,2) (3,3) : : (998,998) (999,999

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 is created under the Tomcat directory. You can stop the Tomcat server and open

NetBeans/JPA Spring MVC Web Tutorial

for NetBeans 6.9.1 but it should work with other NetBeans versions as well (dialog boxes and menus might look

Step 3: Add a Main Class

In this step we will add a main class to the project to store and retrieve Point objects from the database: Right click the tutorial package in the [Package Explorer] window and select New Class . The package name should be tutorial . Enter Main as the class name (case sensitive). Click Finish

Eclipse/JPA Java EE Tutorial

as well (dialog boxes and menus might look slightly different but the code would be the same). Note

Eclipse/JPA Web Application Tutorial

with other Eclipse versions as well (dialog boxes and menus might look slightly different but the code

Getting Started with JPA - Maven Project

application as a Maven project:      Getting Started with JPA - Maven Project (3KB

JPA Web Application Tutorial

. This tutorial is available in the following versions: In addition the demonstrated application is available as a Maven project:

Getting Started with JPA

versions: In addition the demonstrated application is available as a Maven project:

Spring MVC JPA Tutorial - Maven Project

, you may download and run the finished application as a Maven project: Spring MVC JPA - Maven Project (8KB) If 

NetBeans/JPA Java EE Tutorial

was written for NetBeans 6.9.1 but it should work with other NetBeans versions as well (dialog boxes

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 the primary API, and if necessary, switch to JDO as a secondary API for special additional features