ObjectDB ObjectDB

Internal Website Search

81-90 of 200 resultsRefresh
10

javax.persistence.criteria.Subquery

>, Selection<T>, TupleElement<T> The Subquery interface defines functionality that is specific to subqueries. A subquery has an expression as its selection item. Since: JPA 2.0 Selection<X> alias(String name) Assigns an alias to the selection item. Assigns an alias to the selection item. Once assigned
9

javax.persistence.criteria.CriteriaBuilder

selections, expressions, predicates, orderings. Note that Predicate is used instead of Expression in ... CompoundSelection<Object[]> array( Selection... selections) Create an array-valued selection item. Create an array-valued selection item. Parameters: selections - selection items Returns: array-valued
1

Step 6: Set the Spring XML

right clicking and selecting Open With > Text Editor or by double click and then moving to the Source ... that file: Right click the WEB-INF node in the [Package Explorer] window, select New > Other... > XML > XML
1

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 ... the list of guests: List<Guest> guestList = em.createQuery( "SELECT g
1

Step 3: Add a Context Listener Class

box by right clicking the guest package node (in the [Package Explorer] window), selecting New ... as the class name - use exactly that case sensitive class name. Click Next and then Select
1

Step 1: Create a Maven Web Project

We start by creating a new Maven-WTP dynamic web project in Eclipse: Open the [New Project] dialog box, e.g. by using File > New > Project... Select Maven > Maven Project and click Next. Verify ... a filter, select maven-archetype-webapp in the artifact list and click Next. Enter Group Id (e.g
1

Step 6: Set the Spring XML

clicking and selecting Edit or by double click and then moving to the XML tab in the editor window ... node in the [Projects] window, select New > Other... and then choose the XML category, XML Document
1

Step 1: Create a Maven Web Project

We start by creating a new Maven web project in NetBeans: Open the [New Project] dialog box, e.g. by using File > New Project... Select Maven > Maven Web Application and click Next. Choose a Project Name (e.g. Guestbook) and select Java EE 5. Enter Maven Group Id (e.g. com.objectdb.tutorial.spring
1

Step 1: Create a Java EE 6 Web Project

We start by creating a new Java EE dynamic web project in Eclipse: Open the [New Project] dialog box, e.g. by using File > New > Project... Select Web > Dynamic Web Project and click Next. Choose a Project Name (e.g. Guestbook). Select GlassFish Server Open Source Edition 3 (Java EE 6) as
1

Step 2: Entity Class and Persistence Unit

) and selecting New > Entity Class... (or New > Other... > Persistence > Entity Class and clicking ... a text editor (by right clicking and selecting Edit or by double click and then moving to the Source

Getting Started

ObjectDB is very easy to use. Follow the Getting Started Tutorial and the Quick Tour manual chapter and in minutes you may be able to write and run first Java programs against ObjectDB.

Prior knowledge or experience in database programming (SQL, JDBC, ORM, JPA, etc.) is not required, but some background in using the Java language is essential.

Need Help?

  1. Search ObjectDB website
  2. Read the FAQ
  3. Follow the Tutorials
  4. View or post in the forum
  5. Search or file an issue
  6. Contact support