About @Id

issue

Internal exception on flush

Today I received the exception below on running the following code: Bug Version: 2.3.3 Priority: Critical Status: Fixed Replies: 3 Type:  Bug ...

 
forum_thread

Changes in detach behaviour?

Hello! Today i upgraded to 2.3.5_04. My program stopped working. After some debugging i found out that all fields of retrieved objects are on their default value till i first call a getter or detach them explicitly. Up to 2.3.4 they where initialized immediately. The problem in my case is that i have a Spring DAO. It does the following: I call for example getUserByName("blub). #1 2011-12-28 10:31 Hello! Today i upgraded to 2.3.5_04. My program stopped working. After some debugging i found out that al ...

 
forum_thread

JVM crash when using IBM JDK 1.6.0

The FAQ states in the system requirements only that a JDK/JRE 1.5 or 1.6(prefered) is required. When I try to use the IBM JDK 1.6.0 I get a GPF exception while creating the entity manager. Looks like a call to putInt on sun.misc.Unsafe object Does this mean there is a BUG in the IBM JDK or are not all JDK's supported? #1 2011-06-07 02:03 The FAQ states in the system requirements only that a JDK/JRE 1.5 or 1.6(prefered) is required. When I tr ...

 
forum_thread

java.lang.UnsupportedOperationException

com.objectdb.o.InternalException: java.lang.UnsupportedOperationException: Unsupported feature - Update queries are not supported yet java.lang.UnsupportedOperationException: Unsupported feature - Update queries are not supported yet. Used with this code: "DELETE l FROM License l WHERE l.id = ?1", License.class); query.setParameter(1, id); int changes = query.executeUpdate(); Is there a workaround? #1 2011-03-09 12:03 com.objectdb.o.InternalException: java.lang.UnsupportedOperationException: Unsupported feature - Update queries a ...

 
api-jdo

evict(oid)

Evict the parameter instance from the second-level cache.(Method of javax.jdo.datastore.DataStoreCache)

 
forum_thread

Use of sequences to generate field values in JDO

I'm trying to use sequences to set field values in JDO.  I want to do this in XML metadata to avoid use of annotations. This is an example of what I'm trying:   <package name="com.spiffymap.sealog.model">         <sequence name="audit_seq" factory-class="java.lang.Long" strategy="contiguous"/>         <class name="Audit" identity-type="application"> #1 2015-04-30 20:19 I'm trying to use sequences to set field values in JDO.  I want to do this in XML metadata to avoid use ...

 
forum_thread

License Activation Change and Checking Activation

Hello! How does ObjectDB determine the machine ID? Yesterday I activated our license on my development laptop and today I tried to persist more than 1M objects. ObjectDB told me that it cant't do that because of the evaluation restrictions. Now I activated it again on the same machine and got a different activation code. With this code it works. The only difference I can think of is that my WiFi was disabled yesterday and today it's not. #1 2014-04-23 15:12 Hello! How does ObjectDB determine the machine ID? Yesterday I activated our license on my development la ...

 
issue

NullPointer running multiple client against server

Hi, I'm running objectdb in server mode, config as it comes out of the box. In this case the database is being used as a queue with multiple seperate processes, each with multiple threads, writing messages. The message is split into a lightweight metadata message to allow fast searching and a more heavy weight data message. The put methods are shown below. The message is made up of an id, insert-time, priority and the payload is a large string. Bug Version: 2.2.7 Priority: Normal Status: Fixed Replies: 2 Type:  Bug ...

 
api-jdo

getObjectById(oid)

Looks up the instance corresponding to the specified oid.(Method of javax.jdo.PersistenceManager)

 
api-jdo

jdoCopyKeyFieldsToObjectId(fm, oid)

Copy fields from an outside source to the key fields in the ObjectId.(Method of javax.jdo.spi.PersistenceCapable)