ObjectDB ObjectDB

Internal Website Search

41-50 of 200 resultsRefresh


the new ObjectDB build load time weaving (enhancement) by Spring is currently disabled ... know i'm not using loadtime weaving but compile time weaving with aspectj) anyway, i got a spring ... ) to gain performance. I wonder what would happen if you would enable Spring load time weaving

Java 8 Enhancer Problem

weaving. Unluckily the LTW option of Spring is global. If it's enabled it also tries to find other class ... an exception which causes Spring to stop weaving. Caused by: com.objectdb.o.InternalException at com ... would be pretty easy. Just catch the exception and output a log message like "Java 8 weaving currently not

Schema Update

The <schema> configuration element supports renaming packages, classes and fields in ObjectDB databases as a complementary operation to renaming or moving these elements in the IDE during source code refactoring. Only these schema changes are specified in the configuration file. As explained in

Is ObjectDB better than Object Relational Mapping (ORM)?

a JPA ORM provider (Hibernate, TopLink, EclipseLink or DataNucleus) to access relational databases when necessary - with exactly the same code.

Step 3: Add a Main Class

to create the class. Copy and paste the following code to the newly created class file: package ... of the code can be found in the Quick Tour chapter of the ObjectDB Manual. The next (and last) step in this tutorial is running the project.

Step 3: Add a Context Listener Class

the new listener class. Now replace the content of the new source file with the following code ... ().getAttribute("emf"); emf.close(); } } The code above: Invokes the Enhancer to enhance

Step 3: Add a Context Listener Class

of the new source file with the following code: package guest; import javax.persistence.*; import ... (); } } The code above: Invokes the Enhancer to enhance the entity class, creates an EntityManagerFactory

Step 2: Entity Class and Persistence Unit

with the following code: package guest; import java.io.Serializable; import java.sql.Date; import javax

Eclipse/JPA Java EE Tutorial

well (dialog boxes and menus might look slightly different but the code would be the same). Note

[ODB1] Chapter 4 - JDO Metadata

specified in the Java code. <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE jdo SYSTEM "http://java.sun ... , null, null); The first argument to Utilities.startIndexBuilder(...) (pm in the code

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