About @GeneratedValue

forum_thread

problem with lazy loading - unittest project attached

hi, i'm still testing objectdb together with spring-data-jpa. i made a test which should simulate 4 requests 1. save entity 2. read an existing entity, add onetomany relation 3. read an existing entity, add another onetomany relation 4. read entity, get relations. i have the feeling this is not the optional way to test this, because of the differnt transaction behavior. the test is not transactional, but the spring repository methods are. #1 2011-05-04 05:32 hi, i'm still testing objectdb together with spring-data-jpa. i made a test which should simu ...

 
api-jpa

javax.persistence.SequenceGenerator

Defines a primary key generator that may be referenced by name when a generator element is specified for the GeneratedValue annotation.(Annotation of JPA)

 
forum_thread

Date field Index is corrupted due to time change

Hi, can you shed some light on why we cannot delete data from the attached DB file. A delete attempt with DB explorer results in the following exception: #1 2015-11-03 06:52 Hi, can you shed some light on why we cannot delete data from the attached DB file. A delete attempt with ...

 
forum_thread

Problem to use find method on an abstract Class: AbstractMethodError is thrown

Hi, I'm using JBoss AS 7 WildFly with ObjectDB installed as a module ( also Java 7, Eclipse Juno) In my db there are objects of type SentenceStatement which inherit from type LogicalObject  When I use find method mentioning SentenceStatement everything works just fine but when I use this method mentioning LogicalObject I get AbstractMethodError Please see services.Tester class with the 2 options for a better ease    this is the stack trace when I try to find LogicalObject: #1 2013-10-26 00:17 Hi, I'm using JBoss AS 7 WildFly with ObjectDB installed as a module ( also Java 7, Eclipse Juno) ...

 
forum_thread

Mismatch client-server protocol prefix

Hello! We migrated one of our legacy webservices to Spring Boot/Spring MVC. Now i have a strange problem. At first the app runs perfectly for a couple of hours. After that it stops working and I get the following exception: #1 2015-06-17 16:02 Hello! We migrated one of our legacy webservices to Spring Boot/Spring MVC. Now i have a strange prob ...

 
issue

Dynamic Metadata (JDO 3.0)

JDO 3 introduces the ability to specify metadata of persistable types dynamically. ObjectDB 2 supports specifying metadata by: JPA XML Mapping Metadata JPA Annotations JDO XML Metadata (e.g. package.jdo) JDO Annotations All these... annotations, including @Entity, @Embeddable, @NamedQuery, @GeneratedValue, etc. See JavaDoc Reference Page... JDO XML ...

 
api-jpa

javax.persistence.Id

Specifies the primary key of an entity.(Annotation of JPA)

 
api-jpa

javax.persistence.GenerationType

Defines the types of primary key generation strategies.(Enum of JPA)

 
tutorial

Step 2: Define a JPA Entity Class

Explains how to define a JPA entity class in a NetBeans Web Application.... = 1L ;   // Persistent Fields: @Id @GeneratedValue Long id ; private String name ; private ...

 
tutorial

Step 2: Entity Class and Persistence Unit

Explains how to define a JPA entity class and a persistence unit (persistence.xml) in a NetBeans Spring MVC web application project.... = 1L ;   // Persistent Fields: @Id @GeneratedValue Long id ; private String name ; private ...