About step by step

tutorial

Getting Started with JPA

Getting started tutorial for step by step quick start with using Java Persistence API (JPA).... the  ObjectDB Manual , but if you prefer to start by running a live sample application in your IDE, you should be able to follow ...

 
issue

Issue with UPPER ?

Hi, Assuming those queries which are all the same except the UPPER calls: ... Case (1) Query Plan Description ====================== Step 1: Process Mitglied ($1) instances --------------------------------------- [Step 1a] Scan type ... Avoid overflow of published source code examples by breaking long lines . You may mark in paragraph code words ...

 
tutorial

Step 1: Create a Web Project

Explains how to create an Eclipse Dynamic Web Project with ObjectDB/JPA support. We start by creating a new Eclipse Dynamic Web Project: Open the [New Project] dialog box, e.g. by using File > New > Project... Select Web > Dynamic Web ... Web project with ObjectDB/JPA support. The next step is creating a JPA Entity class . ...

 
tutorial

Step 4: Add a Servlet Class

Explains how to define an EJB session bean in a NetBeans Java EE 6 web application. In this step we will add a servlet to manage guestbook web requests: Open the [New Servlet] dialog box by right clicking the guest package node (in the [Projects] window) and ... (using a JSP form that will be added in the next tutorial step) - a new Guest entity object is constructed and stored in the ...

 
issue

Different behavior for two equal queries

Hi, I've got two equal queries though they behave differently: SELECT FROM com.quasado.foundation.communication.contact.individual.IndividualContact $1 WHERE (($1.organisation.name LIKE '%Q%')) This correctly returns one entry from my database ... Query Plan Description ====================== Step 1: Process IndividualContact ($1) ... 1a] Scan type ... all the IndividualContact ($1) instances. [Step 1b] Evaluate fields in IndividualContact ($1) instances. Step 2: Process ... 2011-12-09 09:02 By the way, the second query also has way too many executions in it.. because ...

 
forum_thread

composite index not used in query

we defined a composite index for class Action: @Index(name="ssst",members={"startDate","state","subType","type"}) and an index for the OneToMany @OneToMany(fetch=FetchType.LAZY) @Index  public List<ObjectNode> objectsInCharge = new ArrayList<ObjectNode>(); on running a query like ... the composite index is not used, query plan:  Step 1: Process Action ( a ) instances ------------------------------------ [ Step 1a ] Scan index com.agile.hummingbird.Action [ startDate ... Avoid overflow of published source code examples by breaking long lines . You may mark in paragraph code words ...

 
tutorial

Step 4: Add a Servlet Class

Explains how to define an EJB session bean in an Eclipse Java EE 6 web application. 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), ... (using a JSP form that will be added in the next tutorial step) - a new Guest entity object is constructed and stored in the ...

 
tutorial

Step 3: Add a Context Listener Class

Explains how to add a servlet context listener (to manage an application scope EntityManagerFactory) in an Eclipse Web Application.... stored in an ObjectDB database, which will be represented by a JPA's EntityManagerFactory ... if not exists yet) when the web application starts, by instantiating an EntityManagerFactory . The database will be closed ... application stops ( contextDestroyed ). The next step is adding a servlet class that will manage the guestbook page. ...

 
tutorial

Step 2: Entity Class and Persistence Unit

Explains how to define a JPA entity class and a persistence unit (persistence.xml) in an Eclipse Spring MVC web application project.... Open the [New Java Class] dialog box, e.g. by right clicking the new source directory node (in the [Package Explorer] ... provider with the specified database url. The next step is adding a Spring  DAO Component class that will manage Guest ...

 
page

How to upgrade from ObjectDB 1.0?

Explains how to upgrade from ObjectDB 1.0 to ObjectDB 2.0. Upgrade - Step By Step To upgrade an existing application that uses ObjectDB 1.0 to ObjectDB ...