ObjectDB ObjectDB

Internal Website Search

1-10 of 200 resultsRefresh
178

JPA / JDO Class Enhancer

classes on the fly during load, even if a Java Agent is not specified explicitly. This enhancement ... ObjectDB Enhancer is a post compilation tool that improves performance by modifying the byte code of compiled classes after compilation. Enhancement is mainly for user-defined persistable classes
85

Post-compilation enhancement vs Automatic Run-time enhancement

on the fly runtime enhancement is applied only to entity classes, where post compilation enhancement ... enhancement and automatic run-time enhancement. Testing exactly where and when the results are different ... depending on the enhancement stragegy). Can you please explain how this could possibly
55

Entity Management Settings

") specifies whether the Enhancer Agent should be loaded to enhance persistable types on the fly ... : <entities> <enhancement agent="true" reflection="warning" /> <cache ref="weak" level2="0mb ... > The <enhancement> element <enhancement agent="true" reflection="warning" /> The <enhancement> element
27

ObjectDB Object Database Features

are also supported (by using reflection). On the fly enhancement by using a Java agent. Replication (Cluster ... other managed objects. Transparent update - changes are detected automatically. Code enhancement ... icon. Can also be managed (started, restarted, stopped) from the command line. Class Enhancer Boosts
11

Step 3: Add a Context Listener Class

GuestListener implements ServletContextListener { // Prepare the EntityManagerFactory & Enhance: public void contextInitialized(ServletContextEvent e) { com.objectdb.Enhancer.enhance ... ().getAttribute("emf"); emf.close(); } } The code above: Invokes the Enhancer to enhance
11

Step 3: Add a Context Listener Class

{ // Prepare the EntityManagerFactory & Enhance: public void contextInitialized(ServletContextEvent e) { com.objectdb.Enhancer.enhance("guest.*"); EntityManagerFactory emf ... (); } } The code above: Invokes the Enhancer to enhance the entity class, creates an EntityManagerFactory
7

[ODB1] Chapter 3 - Persistent Classes

.* On the Fly JDO Enhancement Command line enhancement is useful for testing and for build scripts (like ... enhancement: package test; /** Additional main - On the Fly JDO Enhancer */ public class eMain ... the PersistenceCapable interface, and have the JDO Enhancer add the interface implementation
6

Step 7: Run the Spring Web App

. Right click the server node and select Restart. When using GlassFish - on the fly enhancement (weaving ... . You can stop the Tomcat server and open the database file in ObjectDB Explorer: To enable on the fly enhancement (weaving) in Tomcat: Find the Tomcat server in the [Services window] under Servers. Right
6

Step 7: Run the Spring Web App

the persistence.xml file - instead of RESOURCE_LOCAL you will have to specify JTA. To enable on the fly automatic enhancement (weaving) in Tomcat it has to be run with ObjectDB as a Java agent (javaagent:objectdb.jar). When using GlassFish - on the fly enhancement (weaving) is automatically enabled
5

[ODB1] Chapter 2 - A Quick Tour

enhancement. 2.4 On The Fly JDO Enhancement On the fly JDO enhancement is the easiest way to use the JDO ... , and a special tool, the JDO enhancer, adds the implementation automatically. The Person Persistent Class ... , it can easily become persistent using the JDO enhancer. JDO Metadata Every persistent class must be declared

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