ObjectDB ObjectDB

Internal Website Search

121-130 of 200 resultsRefresh
7

javax.persistence.spi.PersistenceUnitInfo

-unlisted-classes element in the persistence.xml file. Returns: whether classes in the root ... files or exploded jar file directories that the persistence provider must examine for managed classes of the persistence unit. Returns a list of URLs for the jar files or exploded jar file directories
7

Schema Update

refactoring. Only these schema changes are specified in the configuration file. As explained in ... your database files before renaming or moving persistable classes and you must verify ... . The default configuration file contains an empty <schema> element. If the <schema> element is not empty
1

Step 5: Add a JSP Page

In this step we will add the JSP that generates the guestbook HTML output: Open the [New JSP File ... ) and selecting New > JSP... Enter guest as the jsp file name - use exactly that case sensitive class ... Finish to create the new JSP file. Now replace the content of the new jsp file with the following
1

Step 7: Run the Spring Web App

the content of the index.jsp file (which serves as the default front page) with the following redirection ... change in the persistence.xml file - instead of RESOURCE_LOCAL you will have to specify JTA. Since we are using ObjectDB in embedded mode - the database file is created under the Tomcat directory
1

Step 5: Add a JSP Page

In this step we will add the JSP that generates the guestbook page output: Open the [New JSP File ... ... Enter guest as the jsp file name - use exactly that case sensitive class name. Click Finish to create the new JSP file. Now replace the content of the new jsp file with the following content
1

Step 7: Run the Spring Web App

the content of the index.jsp file (which serves as the default front page) with the following redirection ... the persistence.xml file - instead of RESOURCE_LOCAL you will have to specify JTA. To enable on the fly automatic ... without specifying a Java agent. Since we are using ObjectDB in embedded mode - the database file is created
1

Spring MVC JPA Tutorial - IntelliJ Project

To open and run the Spring MVC JPA tutorial project in Download and extract the project zip file: Spring MVC JPA - Maven Project (8KB) Open the project in IntelliJ IDEA: Select File > Open Project.... Select the guestbook-spring directory and click OK. Define the Server: Select File > Settings
1

Spring MVC JPA Tutorial - NetBeans Project

To open and run the Spring MVC JPA tutorial project in NetBeans: Download and extract the project zip file: Spring MVC JPA - Maven Project (8KB) Open the Maven project in NetBeans: Select File > Open ... the persistence.xml file. If a browser is not opened - open it at http://localhost:8080/Guestbook/.
1

Step 1: Create a Web Project

We start by creating a new Eclipse Dynamic Web Project: 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 ... file from the file system and dropping it on the WEB-INF/lib node in the Eclipse Project Explorer
1

Step 6: Run the Java EE 6 Application

), 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 GlassFish directory (e.g ... the database file in ObjectDB Explorer: This is the end of the tutorial. Learn more about ObjectDB and JPA by reading the Manual.

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