ObjectDB ObjectDB

Internal Website Search

101-110 of 199 resultsRefresh
19

How to resolve 404 errors with Eclipse/Maven Spring MVC

I have created a project as guided by www.objectdb.com/tutorial/jpa/eclipse/spring/run. When I ... my browser to localhost:8080/Guestbook/ it works as your tutorial says! However, when I use Eclipse Juno ... so. Can someone help me! I've tried a lot of other tutorials and this is the only I can get to work
16

Saving custom list which implements java.util.List fails

) and encountered the following problem: I took the Point-example from the tutorial and added a list ... of a non persistable type tutorial.MyList - field tutorial.MyPoint.list (error 613) at com.objectdb.jpa.EMImpl.commit(EMImpl.java:290) at tutorial.TestMyList.main(TestMyList.java:21) Caused by: javax
16

EntityManagerFactory Fails To Swtich Over To Slave When Master Is Unavailable

.EMF.createEntityManager(EMF.java:253) at tutorial.Main.main(Main.java:22) Caused by: com.objectdb ... " />         </ssl> </objectdb> Test Code package tutorial; import javax.persistence.*; import java ... ");   System.out.println("Average X: " + q2.getSingleResult()); } } package tutorial; import java.io
13

Spring MVC Errors

I try to import the project from the tutorial but when doing so I get errors: 1. https://i.imgur ... MVC Tutorial GuestBook... 3.) I'm using Tomcat and I don't get the last part of the tutorial ... so I decided to search objectDB site to search for a solution and then I found that spring Tutorial
13

Failing in embedded mode, correct javax.persistance?

I'm trying to run the tutorial example as given in the tutorial on ObjectDB's net pages. I am using ... ) The tutorial is supposed to run embedded. If the file given does not exist, it should be created ... . Can anyone see the problem? Could the problem be the javax.persistance version? package tutorial
1

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.
1

Step 2: Entity Class and Persistence Unit

To store objects in an ObjectDB database using JPA we need to define an entity class:

1

Step 3: Define a Spring DAO Component

Explains how to define a JPA DAO component (bean) in an Eclipse Spring MVC JPA web application project.
1

Step 2: Define a JPA Entity Class

Explains how to define a JPA entity class in an Eclipse Web Application.
1

Step 1: Create a Java EE 6 Web Project

Explains how to create an Eclipse Java EE 6 (J2EE) project with ObjectDB/JPA support.

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