About Entity

131-140 of 200Refresh
Forum
19

Update more than 10000 entities by an update query fails

Hello, following example tries to update more than 10000 entities by an update query ... (AccessType.FIELD) @Entity public static class MyModelElement { @Id int id ... .getTransaction().begin(); EntityA entity = new EntityA(1); em.persist(entity
Forum
19

@Entity saved in Tomcat session - problem

Hi, I have found a problem, when storing @Entity object in Tomcat session. When starting or ... is to create copy of @Entity class as normal POJO and use it to store in session. The problem ... on this? The exception indicates an attempt to serialize an entity object (when Tomcat stores the session before
Issue
19

ArrayIndexOutOfBoundsException with enhanced Entity

Hi! We have an two entities, the first one is something like: @Embeddable class TestEmbed {...} and the second one: @Entity class TestEntity { private TestEmbed myEmbed = null; public TestEmbed ... of a managed object etc etc.). However It seems to happen only with an embeddable entity embedded
Forum
19

Entity name

created a class named EBResult which looks like this: @Entity(name="RESULT") public class EBResult ... library) I expected to see an object named "RESULT" due to class annotation @Entity(name="RESULT"). Instead I see following: 2.1. Why? Is the @Entity(name="RESULT") ignored by ObjectDB? 2.2
Issue
19

Entity Version History

ObjectDB manages automatic entity versioning (for optimistic lock purposes). Every entity object modification is reflected by a new version number. Naturally, previous values in the entity object ... to go back in time and view old versions (and old values) of entity objects. Future versions of ObjectDB
Forum
19

Find the error...JPA ENTITY HIBERNATE

.html       Entities:   package com.example.demo; import java.io.Serializable; import java.util ... ; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.FetchType ... ; @SuppressWarnings("unused") @Entity @Table(name = "user") public class user implements
Forum
19

JBOSS AS7 7.1.1 - Entity not persisted and createNamedQuery fire exception

.java:809) * entities are not getting persisted I get the problem with jboss as 7.1.1.Final but not ... said that the annotation should be used on the entity class and not the ejb class. So I annoted the Guest class but still called the createNamedQuery from the GuestDAO @Entity @NamedQueries
Issue
19

No Entity Class API

(mainly entity classes in JPA or persistence capable classes in JDO). Usually ... and should not be bound to specific entity classes and persistent fields. Therefore, an API for accessing ... the Metamodel API to find details on the entity classes in a database. Obtain Class representation
Forum
19

Running doctor.jar with entity classes in classhpath

Hi, I am wondering how to populate new entity classes to database file, so that I could add new instances of these entities to database through explorer. I tried to run com.objectdb.Doctor with model.jar (my entity classes in it) in classpath but it doesn't work (new entities still dont show up in
Issue
19

Feature suggestion: auto-detection of entities via persistence.xml extension

I am encountering problems (complexities) with EntityManager registration of entities across multiple modules in a multi-module Maven project. I have a  entities under many different paths in many ... to introduce such an entity-scanning extension feature in ObjectDB ? Q2: Does it make any difference