About types

91-100 of 200Refresh
Forum
12

Type xxx is not found (error 301)

The error: Type User is not found (error 301) occurs when I query the db for a type before any instances of that type have been persisted, e.g.: return em.createQuery ("SELECT a FROM User a").getResultList (); What I was expecting was an empty list, not an error. Is there some enhancement
Issue
12

Unlimited JPA Persistable Types

you can persist any Serializable type by setting the configuration. There is no point in persisting most of the non serializable types such as Thread, because when retrieved from the database it will not ... any collections either. If this feature was in place it wouldn't matter what the object type is, surely? ThreaT
Forum
12

Why can't we persist an object with a field of type EnumMap in ObjectDB?

Hi, Is there a reason why we can't persist an object with a field of type EnumMap in ObjectDB ... type if you enable this ability in the configuration. But using this feature is not recommended. ObjectDB provides better support (i.e. more efficient and portable) for specific types (including collections and maps), based on the JPA specification. EKK
JPA Doc
12

javax.persistence.criteria.Root

, Path, Selection, TupleElement A root type in the from clause. Query roots ... (Class type) Perform a typecast upon the expression, returning a new expression object. Perform a typecast upon the expression, returning a new expression object. This method does not cause type
Forum
12

Attempt to store an instance of a non persistable type java.net.URL

persisting serializable types, so it should also support URL. This ability is disabled by default ... versions of ObjectDB for .NET and for other platforms. It is less efficient than simple types
Forum
12

com.objectdb.o.UserException: Failed to generate dynamic type

.o.UserException: Failed to generate dynamic type Entities.AbstractLong at com.objectdb.o.MSG.d(MSG ... .loadClass(ClassLoader.java:357) ... 17 more [ObjectDB 2.6.1_05] Failed to generate dynamic type
Forum
12

Intermittent Exception "Attempt to update types in read only mode"

" [ObjectDB 2.4.1_06] javax.persistence.PersistenceException Attempt to update types in read only mode (error ... .java:48) Caused by: com.objectdb.o.UserException: Attempt to update types in read only mode
Forum
12

Invalid file type for enhancement (error 104)

Trying to run enhancement, I get:    [ObjectDB 2.5.5_05] Invalid file type for enhancement: /home/steve/java/spiffymap-svn/sealog-core/build/classes/com/spiffymap/sealog/model/Audit.java (error 104) com.objectdb.o.UserException: Invalid file type for enhancement: /home/steve/java/spiffymap-svn
Issue
12

Post-compile enhancement sometimes causes error in generic loops: incompatible types found: java.lang.Object: required: Entity

over an @entity type I get a generics error. The generic for loop is:  for (Steel s ... don't understand the circumstances) gives this error: incompatible types found: java.lang.Object
Forum
12

type.loader java.lang.ClassNotFoundException

classes: [2011-05-31 09:16:24 #5 type.loader] java.lang.ClassNotFoundException: com.greensoft ... .Thread.run(Thread.java:655) [2011-05-31 09:16:24 #6 type.loader] java.lang.ClassNotFoundException