ObjectDB Database Search

51-100 of 200 results

Failed to create a new file 'target\objectdb\log\archive' (error 112)

(see below) fails because ODB can't create a new file in a non-existing folder hierarchy. The user ... "target\objectdb". The folder "target\objectdb\log" does not exist yet. Do we have to create ... .server:integration-test] Failed to create a new file 'target\objectdb\log\archive' (error 112) [11

Does ObjectDB create one instance of each entity class on (web app) load ?

reason create an   instance of each entity (and if so, under what circumstances ) ?   I can also see that for Abstract bases of entities it is creating one instance with an instrumented class ... this fully. I was scratching my head wondering whether I was inadvertently creating  the said instances

how to create only table structure.

hi, I want to create only a table without insertions of data. And also table contains constraints like not_null, unique, primary key etc. Ex: (In sql) create table emp (id int(5) primary key, name varchar2(20)); , so it will create  only table. when we want to see the table structure

Is there any GUI for creating/editing entity?

Hi, I'm new for JPA/JDO. How should I create /edit entity class? Is there any GUI?   In my searching easily, there is the jpa function of myeclipse, or Dail. http://www.myeclipseide.com ... for creating /editing entity and JPA/JDO things. I'm expecting the one like MySQL Workbench. 

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

Eclipse Public License - v 1.0

the Program in a commercial product offering should do so in a manner which does not create potential

Database Connection using JPA

. If the database does not yet exist a new database file is created . When the application is finished using

Working with JPA Entity Objects

: New, Managed, Removed and Detached. When an entity object is initially created its state is New

ObjectDB tries to create a File in a localtion without write access

: Failed to create a new file 'IndexManager_12.mrg_filter' at com.objectdb.o._PersistenceException.b ... :78) ... 25 more Caused by: com.objectdb.o.UserException: Failed to create a new file 'IndexManager ... which creates the file for example in %TEMP% btc_es BTC EmbeddedSystems Please try build 2.7.0_04. support

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

NetBeans/JPA Java EE Tutorial

This is the NetBeans 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 NetBeans - using GlassFish, ObjectDB and JPA. The demo web application manages a basic guestbook page

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 5: Add a JSP Page

- use  exactly that case sensitive class name. Click  Finish to create the new JSP file. Now

Step 5: Add a JSP Page

  exactly that case sensitive class name. Click  Finish to create the new JSP file. Now

Step 4: Add a Servlet Class

package name should be guest. Click Finish to create the new servlet class. Now replace the content

Step 2: Define a JPA Entity Class

to create the new class. Use copy and paste to replace the new source file content with the following

Step 3: Define an EJB Session Bean

to create the new session bean (EJB) class. Now replace the content of the new source file

Step 5: Add a JSP Page

that case sensitive class name. Click Finish to create the new JSP file. Now replace the content

Getting Started with JPA and NetBeans

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

Step 4: Add a Servlet Class

package name should be guest. Click Finish to create the new servlet class. Now replace the content

Step 7: Run the Spring Web App

in embedded mode - the database file is created under the Tomcat directory. You can stop the Tomcat