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 4: Run the Application

You can now run the application by right clicking the Main.java file (in the [Package Explorer ... ) When you run the application for the first time, a new ObjectDB database file is generated in ... will use the existing database file to store an additional 1000 objects. You can view the content
1

JPA Web App Tutorial - IntelliJ Project

the project zip file: JPA Web App - Maven Project (6KB) Open the project in IntelliJ IDEA: Select File > Open Project.... Select the guestbook-web directory and click OK. Define the Server: Select File ... and click the green run icon (or Shift+F10). If the browser fails to open check the settings at File > Settings > Web Browsers.
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/.

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