Internal Website Search

11-20 of 200 resultsRefresh

Dependency from enhanced classes to the objectDB library

Hello, we have a Question to the dependency from enhanced classes (required ... we get an error when we have enhanced the entities. java.lang ... only if we allow the usage of not enhanced classes. <entities>

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

:02 #1 type.user] Enhancement of type com.btc.ep.requirement.bl.internal ... type] Type com.btc.ep.requirement.bl.internal.ScopeRequirementContainerImpl is not enhanced. [2015-06-08 13:07:02 #3 type.user] Enhancement of type com.btc.ep.requirement.bl.internal

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

> Tried to implement Enhancement (because the log always says that the classes are not enhanced). static void main(String[] args) { Enhancer.enhance(   "common ... >Here is the output, it seems like the above code does manage to enhance. Then another process tries

UserException: Package com.example.model is not found by the enhancer

: Package com.example.model is not found by the enhancer It occurs on this line: com.objectdb.Enhancer.enhance("com.example.model" + ".*"); enhance() method looks up the model

enhancement issue

Hi, still struggling with the enhancement issue. So, this works fine in ... ; com.objectdb.Enhancer.enhance ( "app.model.*" ) ....   } } But in ... ="stacktrace"> [ObjectDB 2.7.1_02] Package app.model is not found by the enhancer (error 108) com

ObjectDB Object Database Features

> Code enhancer">enhancement is optional (recommended before ... > enhancer">Class Enhancer Boosts performance by

Updating JPA Entity Objects

automatically is described in the enhancer">Enhancer section in chapter 5.enhanced. Therefore, for efficiency purposes, the default behavior of ObjectDB ignores array changes when using enhanced entity classes: Employee employee = em.

Unexpected exception during query, if entity is not enhanced

Hello, the entity TCVector is not enhanced and the enhancement check in ... why? We had expected that the activated enhancement check would throw an exception. Enhancement of type com.btc.ep.vector.tc.internal.dmos.TCVector is old and cannot be used

Step 3: Add a Context Listener Class

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

Step 3: Add a Context Listener Class

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