Home » Search

About class

111-120 of 200Refresh
Forum
12

Does ObjectDB create one instance of each entity class on (web app) load ?

can also see that for Abstract bases of entities it is creating one instance with an instrumented class name. For example, if the abstract entity class is com.example.Common then there is exactly one instance in memory of class objectd.com.example.Common This is correct. ObjectDB keeps one delegate instance
Forum
12

How to check if the classes were enhanced correctly with valid OEM license?

Hello, is there a way/tool how to check whether build classes were enhanced with valid OEM license ... JAR containing enhanced classes from the build above. 3) Run some tool against picked JAR ... , etc.) Thank you. To check if class MyEntity is enhanced using the OEM Enhancer use the following boolean
Forum
12

Measurement of the test coverage of enhanced classes

to our customers. Therefore we think we need to test the enhanced classes. But that distorts our test ... "coverage" of our tests? Enhancement adds code to persistent classes so it would affect test coverage ... ) rather than on the class file and JVM instructions may not be affected by code that is added by enhancement
Issue
12

probable error in text of manual about embeddable classes

at http://www.objectdb.com/java/jpa/entity/types website in "Embeddable Classes" section ... . The complete paragraph: "Instances of embeddable classes are always embedded in other entity ... . Therefore, using embeddable classes can save space in the database and improve efficiency. Embeddable
Forum
12

Problem using Maven Repository - Enitiy Class will be ignored

I got follow Java Warning that tells me that Entity Class will be ignored. ../WEB-INF/lib/objectdb-2.6.2.jar' contains offending class: javax.persistence.Entity ... only the full ObjectDB jar with JPA classes and interfaces, and since these classes (including javax.persistence
Forum
12

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
Manual
12

Auto Generated Values

@GeneratedValue with the AUTO strategy: @Entity public class EntityWithAutoId1 { @Id @GeneratedValue ... definition is equivalent: @Entity public class EntityWithAutoId2 { @Id @GeneratedValue long ... is very similar to the AUTO strategy: @Entity public class EntityWithIdentityId { @Id
Manual
12

WHERE clause (JPQL / Criteria API)

the WHERE predicate. For entity classes with millions of objects in the database there is a huge ... as follows: CriteriaQuery q = cb.createQuery(Country.class); Root c = q.from(Country.class); q.select(c); ParameterExpression p = cb.parameter(Integer.class
Forum
12

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
12

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