Internal Website Search

101-150 of 200 results

Delete object from collection versus delete from JPQL

Delete object from collection versus delete from JPQL

Dependency from enhanced classes to the objectDB library

Hello, we have a Question to the dependency from enhanced classes (required for license ... of post #1 In the example (Eclipse OSGi Example #2) I have the ObjectDB removed from the bundle "com.btc.ep.base.bl.impl". Now we get the error message from post #1. java.lang.NoClassDefFoundError: com

Failover from Master to Slave

to evaluate your tool I would like to know if your product has the ability to failover from ... down the application will still be able to read from the slaves but writes will not be allowed ... Currently automatic switching from a failed master database to a replicated database is indeed limited by

Finance data from SQL Server into ObjectDB daily

would like some feedback from the community to see if I'm thinking about it right.   We have a finance data mart that is appended to daily via an SSIS package. I would like to pull the data from SQL, add ... this make sense? Is there a way to map the structure of the table directly into ObjectDB from SQL Server

Query becomes slower on moving from ObjectDB 1.x to ObjectDB 2.x

to an existing database , but it could be also some issue with the conversion from 1.x to 2.x. To activate ... it and let you know. I will use the following command after i convert from 1.x to 2.x String ... step 4 from post #9 above. You may need to run the Doctor to build the index. support Support hmmm

Is there a function of "drop table" or "delete from table"?

Besides the em.remove() one by one, is there a function of "drop table" or "delete from table ... FROM MyEntity e").executeUpdate(); This is implemented since version 2.2.4 but the manual has not ... . I can not find "drop table" in this site BTW. gzdillon Lai Yang The code “createQuery("DELETE FROM

migration path from JPA / Hibernate

attention when using Entities previously geared towards JPA / Hibernate migrating data from existing ... objects from Hibernate, detaches them and then persists them using ObjectDB. A tool ... answers! retrieves entity objects from Hibernate, detaches them and then persists them using ObjectDB

Navigation through lazy loading from Detached Objects

) is: Retrieval by navigation from detached objects is not supported, so only persistent fields ... : on accessing lazy loaded relationships outside a transaction, after a query, from Glassfish forum thread ... a similar extension in ObjectDB would ease emigration of web applications from EclipseLink to ObjectDB

Storing JPA Entity Objects

of entity objects that are reachable from that object by navigation through persistent reference fields

Detached Entity Objects

). Retrieval by navigation from detached objects is not supported, so only persistent fields

JPA Query Expressions (JPQL / Criteria)

Query expressions are the foundations on which JPQL and criteria queries are built. Every query consists of clauses - SELECT, FROM , WHERE, GROUP BY, HAVING and ORDER BY, and each clause consists of JPQL / Criteria query expressions. Atomic Expressions The atomic query expressions are: JPQL

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 Reference (JavaDoc)

This reference contains the API documentation (similar to JavaDoc) of the Java Persistence API (JPA) 2.0. The content is derived from the original JPA documentation (in the EclipseLink JPA 2 RI) with some additions and notes. The JPA types are organized into the following sections: The purpose

Numbers in JPQL and Criteria Queries

function removes the minus sign from a specified argument and returns the absolute value

What is the Java Persistence API (JPA)?

The Java Persistence API (JPA) is a standard API for accessing databases  from within Java applications. The main advantage of JPA over JDBC (the older Java API for interacting with databases) is that in JPA data is represented by classes and objects rather than by tables and records as in

ObjectDB License

and laptops of employees in that workplace. Servers that are leased or rented from third party web

Database Doctor

. It can be run from the command line: java -cp objectdb.jar com.objectdb.Doctor my.odb If objectdb.jar

JPA Metamodel API

variables in the FROM clause: See the JPA Metamodel API page (in the ObjectDB manual) for more details and examples.

Eclipse Distribution License - v 1.0

, Inc. nor the names of its contributors may be used to endorse or promote products derived from

BIRT/ODA ObjectDB Driver

] window and selecting  New Data Source . Select ObjectDB Data Source from the list of available

Posting Sample Code

("SELECT e FROM MyEntity e");         List resultList = query

Step 5: Add a JSP Page

that have already signed (which are retrieved from the request's guestDao attribute that is set by

Eclipse/JPA Spring MVC Web Tutorial

during build from Maven repositories. The Tutorial Steps This tutorial consists of the following steps:

JPA Web App Tutorial - Maven Project

) If  Maven is installed - extract the zip and run the application from the command line by

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 simple as possible - we will use the basic  points.odb ObjectDB database file from the Getting

Step 2: Define a JPA Entity Class

should represent Point objects in the database. Apart from the @Entity annotation and the id field

Step 6: Set the Spring XML

(whose name is derived from the name of the Spring dispatcher servlet in  web.xml ). To generate

Step 3: Add a Context Listener Class

( contextInitialized ). Retrieves the EntityManagerFactory from the application scope attribute and closes

Step 1: Create a Maven Web Project

files from Maven repositories - open the  pom.xml file and in the pom.xml tab  use 

Step 1: Create a Java Project

] window and select Add Jar/Folder... Select the objectdb.jar file from the bin subdirectory

Step 6: Set the Spring XML

configuration is set in another XML file (whose name is derived from the name of the Spring dispatcher

Step 1: Create a Maven Web Project

and to automatically download the required JAR files from Maven repositories - open the pom.xml

Step 1: Create a Java EE 6 Web Project

dynamic web project. To add ObjectDB/JPA support to the project, drag the objectdb.jar file from

Java EE JPA Tutorial - Maven Project

App - Maven Project (7KB) If  Maven is installed - extract the zip and run the application from

Step 5: Add a JSP Page

that have already signed (which are retrieved from the request's "guests" attribute that is set by the servlet in

NetBeans/JPA Spring MVC Web Tutorial

automatically during build from Maven repositories. The Tutorial Steps This tutorial consists of the following steps:

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

Step 3: Add a Main Class

In this step we will add code to the Main class (that was generated with the project) in order to store Point objects in the database and then retrieve them from the database. Use copy and paste to replace the content of the Main class with the following content: package tutorial; import javax

Step 5: Design a BIRT Report Chart

In this step we will add a simple chart to the report: Open the [New Chart] dialog box by dragging a  Chart from the [Palette] window and dropping it on the report design (.rptdesign) layout. In the [Select Chart Type] tab select Tube as the chart type and click Next . In the [Select Data

Getting Started with JPA - Maven Project

) If Maven is installed - extract the zip and run the application from the command line by: mvn test

Spring MVC JPA Tutorial - Maven Project

; Maven is installed - extract the zip and run the application from the command line: mvn package

Step 5: Add a JSP Page

that have already signed (which are retrieved from the request's "guests" attribute that is set by the servlet in

Step 5: Add a JSP Page

from the request's "guests" attribute that is set by the servlet in the previous step). The next step

Step 1: Create a Java EE Web Project

] window and select Add Jar/Folder... Select the objectdb.jar file from the bin subdirectory

Step 5: Add a JSP Page

the guestbook, followed by a list of all the guests that have already signed (which are retrieved from

Step 4: Add a Servlet Class

from the database and stored in the request's "guest" attribute. Then the processing is forwarded

Step 1: Create a Web Project

.jar file from the file system and dropping it on the WEB-INF/lib node in the Eclipse Project Explorer

Step 3: Add a Context Listener Class

the EntityManagerFactory from the application scope attribute and closes the EntityManagerFactory and the database

Step 1: Create a Java Project

) and click Next . In the Libraries tab, click Add External JARs... and select the objectdb.jar file from

[ODB1] Chapter 1 - About ObjectDB

ObjectDB for Java/JDO is a powerful Object Database Management System (ODBMS) written entirely in Java. It can efficiently handle a wide range of database sizes, from a few KBs to hundreds of GBs ... . Moving from one mode to the other can be done simply by changing a single string (the connection