ObjectDB ObjectDB

Internal Website Search

11-20 of 200 resultsRefresh
41

Cascading (persist) with a mix of enhanced and not enhanced entities

We find out that it is actual not possible to use enhanced and not enhanced entities together. Exist any limitations regarding the use of enhanced and non-enhanced entities? We work based feature and want to load other bundles as an artifact from the Nexus. These are always enhanced. To enhance
40

Pre-detach loading: retrieval by navigation not working in if statement

difference between build time enhancement and on the fly javaagent enhancement is that the later ... classes). support Support > the main difference between build time enhancement and on the fly javaagent ... on the fly runtime enhancement is applied only to entity classes, where post compilation enhancement
39

objectdb-2.6.9_02 (with "objectdb.temp.no-enhancement-crc-check") vs. generic classes with interfaces: detailed investigation

objectdb-2.6.9_02 (with "objectdb.temp.no-enhancement-crc-check" system property) The following ... value of field property Element.id using reflection - Possible cause for "Enhancement of type ... -compile, pre-deployment Ant script invoked using Clean and Build that enhances every entity class in
39

enhanced object .. NOT enhanced

Hi I think I have found a bug : - I have enhanced a class but when I tried to persitst it I got ... we get an OutOfMemory expeption. b bolo Boguslaw Fraszko > I have enhanced a class but when I tried to persitst ... serialization is not the result of no enhancement but of a missing @Entity / @PersistenceCapable
36

Dependency from enhanced classes to the objectDB library

Hello, we have a Question to the dependency from enhanced classes (required for license ... and to all domains, because there are the entities. Now we get an error when we have enhanced ... only if we allow the usage of not enhanced classes. <entities> <enhancement agent="false" reflection
34

Possible cause for "Enhancement of type ... is old and cannot be used"

We get the following log: [2015-06-08 13:07:02 #1 type.user] Enhancement of type com.btc.ep ... .ScopeRequirementContainerImpl is not enhanced. [2015-06-08 13:07:02 #3 type.user] Enhancement of type ... .internal.RequirementReferenceImpl is not enhanced. We understand the reason of the messages #2 and #4 "Type
34

com.objectdb.o.TEX: Type ... is not found, for a class that's already been enhanced successfully.

to implement Enhancement (because the log always says that the classes are not enhanced). The main class ... [] args) { Enhancer.enhance(   "common.app.Model,common.model.*,mr.model.*", Model.class.getClassLoader()); Here is the output, it seems like the above code does manage to enhance
1

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
1

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
0

[ODB1] Chapter 6 - Persistent Objects

by the JDO enhancer. Non persistent classes that directly access persistent fields of other classes ... enhancer, which enhances them to include the code needed for transparent persistence. But, because these classes are not described in the JDO metadata files, the enhancer identifies them as not

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