Home » Search

About class

121-130 of 200Refresh
Forum
12

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
12

Delete class from DB - through Explorer

Hi! I was looking for ways to delete a class (entity/embedded) from a database through Explorer, but I couldn't find any. Is there any way for doing that? If not, why? The only way I see right now ... . However, it only affects the list of classes in the Explorer, so you may just ignore the deleted class
Forum
12

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
12

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
12

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
12

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
12

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

Support of modifying an ObjectDB Entity class (Schema Change)

If you modify an ObjectDB Entity class will it be supported by a database set up using the old class? I already have an idea to iterate through a database, getting each record and then creating ... if ObjectDB can already handle changes to Entity classes. Please see my StackOverflow question
Issue
11

Allow removal of entity class from ObjectDB & Explorer

Hi. It would be very useful to be able to delete an entire entity class from ObjectDB, but especially from Explorer. This is very useful for everyone, but also for clients that don't own a license ... to its data structure. When an entity class becomes unnecessary, we should be able to remove
Issue
11

Explorer bug ? Objects seem to be missing from database in Class view, but are present as references

[]: involveValueOfEntityClassWithinListelInParsel: : valuePropertyName(floatQuantity) from entityClass(class com.greensoft.entity.test ... ) We see that 2 Project objects were created, however in the database Explorer it lists size=0 for Project class