Home » Search

About entities

141-150 of 200Refresh
Forum
11

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
11

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
11

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
11

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
11

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

Entity Management Config questions

Hi, the manual states the following regarding config of Entities: http://www.objectdb.com/java/jpa/setting/entities: The element specifies settings of the two cache mechanisms for entities: The ref attribute specifies the reference type for holding non
Forum
11

Attempt to refresh a non managed entity object (error 635)

Just ran into a problem that I've not seen in 10 years of running ObjectDb: java.lang.IllegalArgumentException Attempt to refresh a non managed entity object (error 635) Nothing changed in my code ... entity object, i.e. a new entity object that has not been persisted yet, or a detached entity object (e
Forum
11

Does aggregate function "greatest" work on entity objects?

Does aggregate function "greatest" work on entity objects? do not come to the function "compareTo" @Entity public class ChatHistoryItem extends AbstractObject implements Comparable { private ... ; } @Override public String toString() { return "granat.dp.domain.entity
Forum
11

Double persist of Entity field with Cascade.ALL

have a Book class with entity field Chapter which has a CascadeType.ALL property. The Book fields are as ... are created and added to the Book entity ON THE SERVER SIDE, then the Chapter table is OK (no duplicate ... . For completeness, attached is the modified sample that moves all Entity manipulation code to the Server
Forum
11

Entity Type is not found (error 301) in Query

(             "User.checkConstraints(): Property email isn't unique!");     } }     This could happen if the entity ... introduce the class to ObjectDB before the query, for example by:     em.getMetamodel().entity(User ... query is invoked when the database is empty - no persisted entities. Explict call of this method: em