About class

111-120 of 200Refresh
Forum
20

Recommendation - concurrent access multiple class v

of a class. Let's take the following scenario: The same app is running on 5 machines. A change is required in one of the persistent classes, thus it's implemented. (Let's say a new field was added) 3 ... , where the previous version of a class is used by some servers, then others come with the new version
Forum
20

Determining if Persistable Classes Have Trial Limitation

Hi,  I want to make our build automatically fail if classes are limited by the trial limitations ... was that the Enhancer would not Enhance or sign the specified persistable classes without a valid key ... below which would seem to indicate success (classes not affected by trial limitations): [ObjectDB 2.7.6 Enhancer] 7
Forum
20

10 classes limit

hey. i am a student. and we are learnning inheritance in JPA for my assiment i have 1 base class and 20 subclass in some kind of hierarchy (with all kind of mappings: SINGLE_TABLE, TABLE_PER_CLASS and JOINED). can i use the free version (it will count as 1 class?) or the 10 entity class limit won't
Issue
20

Enhanced classes problem

machine activation code, everything works fine. But when we enhanced our classes with OEM licence ... only when classes are enhanced. As a workaround, please try to disable this lazy loading by setting ... ")  // relation is unidirectional     private CacheableJobAccountingInfo[] jais; The class
Forum
20

Extended HashMap as Embeddable class

Hi, Should it be possible to create an Embeddable class that extends HashMap (or Set etc.)? I ... annotation - I get an error. @Embeddable public class A extends HashMap { (...) }     User defined persistable classes that extend Java collection classes are not supported. kborkowski
Forum
20

Does run time enhancer due to GlassFish/Payara do anything that would affect loaded compile-time entity classes ?

do anything that would affect loaded compile-time enhanced entity classes (other than just logging, typically just info and warn level).     If the entity classes are already enhanced (build time enhancement) then the enhancer agent is not expected to make any further changes to classes. webel
Forum
20

Enhancer failure: Failed to process class file of type

Stack trace below:   [ObjectDB 2.7.1_02] Failed to process class file of type 'app.model.ClientSession' (error 422) com.objectdb.o.UserException: Failed to process class file of type 'app.model ... )         ... 28 more Caused by: java.lang.IllegalAccessError: class jdk.internal.reflect.ConstructorAccessorImpl
Issue
20

Error 990 when querying a class with persistence-capable-superclass

(Long) query.execute(); All queries (eg ones with parameters) on the same class fail with the same error. The code was working with the class in this case until I added a persistence-capable-superclass ... . If you can make your application available to us (just jar/class files, no java files are needed
Forum
20

Getting a list of all the entity class names

, there is a simpler way to get the class names (in one line of code). It requires a JDO' s PersistenceManager ... .getClassNames(em.unwrap(PersistenceManager.class)); This method remained from ObjectDB 1.x, but in JPA 2 ... functionality (for example you can use it to get entity names or class names - which is not the same). dmoshal
Forum
20

makeTransient() not working on Embedded class

Hi, I am using JDO and calling PMimpl.makeTransient(object) on an object which has a class of type @EmbeddedOnly in ObjectDB version 2.5.5.b05. I get then the following error: com.objectdb.o ... only on instances of persistence capable classes (in JDO, or entity classes in JPA). Embedded objects are not