Home » Search

About new

61-70 of 200Refresh
Tutorial
9

Step 1: Create a Java EE 6 Web Project

We start by creating a new Java EE 6 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 ... the Target runtime. Note: You may have to add GlassFish 3 as a new server by clicking the New Runtime
Tutorial
9

Step 1: Create a Java Project

We start by creating a new Eclipse Project, using: File > New > Project... If you are using Eclipse IDE for Java EE Developers, you can see in the [New] menu a command for creating a [JPA Project ... the [New Project] dialog box: Select Java Project and click Next. Choose a Project Name (e.g. Tutorial
Tutorial
9

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 ... to create the project. The configuration of the new created project is contained in a pom.xml file
Tutorial
9

Step 2: Define a JPA Entity Class

To store objects in an ObjectDB database using JPA we need to define an entity class: Open the [New ... ) and selecting New > Class. Enter tutorial as the package name - use exactly that case sensitive ... to create the new class. Use copy and paste to fill the new source file with the following content
Tutorial
9

Step 2: Define a JPA Entity Class

To store objects in an ObjectDB database using JPA we need to define an entity class: Open the [New ... ) and selecting New > Java Class... Enter Point as the class name - use exactly that case sensitive class name. The package name should be tutorial. Click Finish to create the new class. Use copy
Result
9

Eclipse Public License - v 1.0

reserves the right to publish new versions (including revisions) of this Agreement from time to time ... the Agreement Steward to a suitable separate entity. Each new version of the Agreement will be given ... subject to the version of the Agreement under which it was received. In addition, after a new version
Result
9

How to upgrade from ObjectDB 1.0?

: Replace the old ObjectDB and JDO jar files with the new objectdb.jar file. Make sure that the old jar ... ). Refresh your IDE cache. Rebuild your project using the new jar file and enhance your classes using the new Enhancer. Convert old database files using the ObjectDB converter: > java -jar converter.jar
Manual
8

Locking in JPA

object. The initial version of a new entity object (when it is stored in the database for the first time ... > properties = new HashMap();   properties.put("javax.persistence.lock.timeout", 2000 ...  - using the createEntityManager method:   Map properties = new HashMap
Tutorial
8

Step 1: Create a Java Project

We start by creating a new NetBeans Project: Open the [New Project] dialog box, e.g. by using File > New Project... Select Java > Java Application and click Next. Choose a Project Name (e.g. Tutorial ... of the ObjectDB installation directory and click Open. Now you should have a new NetBeans project
Tutorial
8

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 ... . The configuration of the new created project is contained in a pom.xml file that was created