ObjectDB Database Search

51-100 of 200 results

Is there an administration tool with which I could create extra indexes?

Hello, I have composite index, and it was working fine, but now I need to add more features to the software and I need to throw more indexes in there. I wanted to know what's the best way to do this. 1. Have some admin tool CREATE INDEX..... ON a.b or 2. add more @Index to the object entities. in

Create simple index for a Id field

, so you don't have to create an index for the id. zmirc Mircea Chirac The thing is that I noticed it's really

Does JPA have any configuration to create DDL's that are database specific

There some JPA classes who's names more that 30 character. This worked well in MySQL , Derby , PostgreSQL but when it was tried on oracle , we hit the constraint that oracle has of 30 characters.   So basically my question is that is there any JPA have any configuration to create DDL's

How to create a Unique constraint?

Hi, I'm trying to create a unique constraint. Here is a simple example: @Entity public class Account { @Id @GeneratedValue private long id; @Index(unique="true") private String name; } The code runs and my Account objects are persisted. But no exception is thrown if name is the same. What do I

JPA - ExceptionInInitializerError when creating EntityManager

Computer. Create a separate project & copy my original sources into it. I did the all configuration

ODBC - How to create a DSN connection in Window

ODBC - How to create a DSN connection in Window

Are indexes implicitly created for relationships?

Are indexes implicitly created for relationships?

How to creat a Query with Sql which returns a List marks

How to creat a Query with Sql which returns a List marks

Query execution creates a wrong result

Query execution creates a wrong result

Database Management Settings

When enabled, a recovery file is created by ObjectDB when a database is opened and deleted by ObjectDB

SELECT clause (JPQL / Criteria API)

objects are created in the NEW state , which means that they are not managed. Such entity objects

Database Transaction Replayer

exist, ObjectDB automatically creates a backup file as a copy of the existing ObjectDB database file

Setting and Tuning of JPA Queries

an EntityManager  affects all the queries that are created in that EntityManager (except queries with explicit setting of the same hint).

Strings in JPQL and Criteria Queries

, as shown in the following examples: // Create path and parameter expressions: Expression path

Schema Update

- will create new, separate persistable classes with no instances. Therefore, you should backup

Collections in JPQL and Criteria Queries

examples: // Create path and parameter expressions: Expression languages = country. get ("languages

Numbers in JPQL and Criteria Queries

Java numeric object: // Create path and parameter expressions: Expression path = country

Privacy Policy

For the purposes of this Privacy Policy: Account  means a unique account created for You to access

Database Doctor

of a corrupted ObjectDB database file Repairs a corrupted ObjectDB database file by creating a new

Obtaining a JPA Database Connection

). If no database file exists yet at the given path ObjectDB will try to create one. The EntityManagerFactory

What's next?

This chapter introduced the basic principles of JPA using ObjectDB. You can go into details by reading the other chapters of this manual. If you prefer to get started with ObjectDB right away you can follow one of the following tutorials to create and run the example program that was described in

Step 5: Add a JSP Page

Finish to create the new JSP file. Now replace the content of the new jsp file with the following

Eclipse/JPA Spring MVC Web Tutorial

This is the Eclipse 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 Eclipse - using ObjectDB, JPA, Tomcat (or GlassFish) and Maven. The demo web application manages

Spring MVC and JPA Tutorial

This tutorial demonstrates how to create and run a full Java Spring MVC (Model View Controller) web application using Tomcat (or GlassFish), JPA, ObjectDB and Maven. The demo web application manages a basic guestbook page. Every visitor can sign the guestbook by filling a simple form. All visitors

Step 4: Add a Controller Class

the class name - use  exactly that case sensitive class name. Click  Finish to create

Step 2: Define a JPA Entity Class

class name. The package name should be tutorial . Click Finish to create the new class. Use copy

Step 6: Set the Spring XML

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

Step 6: Set the Spring XML

to create the XML file. Now use copy and paste to replace the content of the spring-servlet.xml file

Getting Started with JPA and Eclipse

This is the Eclipse version of the Quick Start with JPA tutorial. It demonstrates how to create and run a simple JPA application in Eclipse. The demonstrated application uses JPA to store and retrieve simple Point entity objects, where each Point has two persistent fields: x and y

NetBeans/JPA Web Application Tutorial

This is the NetBeans version of the  JPA Web App tutorial. It demonstrates how to create and run a database driven Java web application in NetBeans - using Tomcat 6 Apache Tomcat Server 6.0 ( some modifications are needed for Tomcat 7.0 ), ObjectDB and JPA. The demo web

Step 7: Run the Spring Web App

is created under the Tomcat directory. You can stop the Tomcat server and open the database file in 

JPA Tutorials

by step instructions on how to create the sample applications. In addition, the sample applications

Step 1: Install BIRT and ObjectDB Driver

matching the driver version to the ObjectDB server version when using client-server mode. The next step is creating a BIRT Report project .

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 3: Define an EJB Session Bean

name. The Java package name should be guest. Click Finish to create the new session bean (EJB

Java EE Web Tutorial

This tutorial demonstrates how to create and run a full Java EE 6 MVC (Model View Controller) web application using GlassFish, ObjectDB and JPA. Since this web application uses Java EE 6 EJB (session beans) it requires a full Java EE 6 application server, such as GlassFish 3.0.1 or JBoss AS 6

Step 3: Define a Spring DAO Component

name. The Package should be guest. Click Finish to create the new DAO Spring component class. Now

Step 5: Add a JSP Page

to create the new JSP file. Now replace the content of the new jsp file with the following content: JPA

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

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 3: Add a Main Class

a database connection // ( create a new database if it doesn't exist yet): EntityManagerFactory emf

Step 4: Add a Controller Class

name. The Package should be guest. Click Finish to create the new Spring Controller class. Now

Eclipse/JPA Java EE Tutorial

This is the Eclipse version of the Java EE JPA tutorial. It demonstrates how to  create and run a full Java EE 6 MVC (Model View Controller) web application in Eclipse - using GlassFish, ObjectDB and JPA. The demo web application manages a basic guestbook page. Every visitor

Eclipse/JPA Web Application Tutorial

This is the Eclipse version of the JPA Web App tutorial. It demonstrates how to create and run a database driven Java web application in Eclipse - using Tomcat 6, ObjectDB and JPA. The demo web application manages a basic guestbook page. Every visitor can sign the guestbook by

JPA Web Application Tutorial

This tutorial demonstrates how to create and run a database driven Java web application using Tomcat 6, ObjectDB and JPA. The demo web application manages a basic guestbook page. Every visitor can sign the guestbook by filling a simple form. The visitors that have already signed are listed

Step 2: Define a JPA Entity Class

to create the new class. The new class should represent Guest objects in the database. Use copy

Getting Started with JPA

This tutorial demonstrates how to create and run a simple JPA application. The demonstrated application uses JPA to store and retrieve simple  Point entity objects, where each  Point has two persistent fields -  x and  y . If you already know JPA - the source code will be straightforward

Step 3: Define a Spring DAO Component

that case sensitive class name. Click  Finish to create the new DAO Spring component class. Now

Step 6: Run the Java EE 6 Application

You can run the application now by right clicking the  GuestServlet node (in the [Projects] window), selecting  Run File , and then clicking  OK (no need to change the servlet execution URI). Since we are using ObjectDB in embedded mode - the database file is created

Step 6: Run the Web Application

You can run the application now by right clicking the GuestServlet node (in the [Projects] window), selecting Run File , and then clicking  OK (no need to change the servlet execution URI). Since we are using ObjectDB in embedded mode - the database file is created under the Tomcat directory