About properties

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 Java EE 6 web application.... </provider > <properties > <property name = ... value = "admin" /> </properties > </persistence-unit >   ...

 
forum_thread

Query by array element

Hello, I have a class as follows: @Entity public class MyEntity {     boolean properties[]= new boolean[1024]; } I would like to query objects with feature '42': select me from MyEntity me where me.properties[42]=true Is it possible? Thank you! ... public class MyEntity { boolean properties [ ] = new boolean [ 1024 ] ... SELECT me FROM MyEntity me WHERE me . properties [ 42 ] = true Is it possible? ...

 
forum_thread

Problem on JPA Merge Entity.

Hello, I have a problem with the EntityManager.merge() function. I set a property value of an entity (statement) with an other entity (newSingleConstraint). newSingleValue is already persisted. I do this myself (no use of cascade because sometimes the newSingleValue is already in database).   The statement update don't throw exception. And when i try to reload statement the value i have set before is a null value. I check with the Explorer, the statement has a null value on the property and the newSingleValue is present. #1 2011-02-03 16:57 Hello, I have a problem with the EntityManager.merge() function. I set a property value of an ent ...

 
api-jpa

javax.persistence.PessimisticLockScope

Defines the values of the javax.persistence.lock.scope property for pessimistic locking.(Enum of JPA)

 
api-jpa

createEntityManagerFactory(emName, map)

Called by Persistence class when an EntityManagerFactory is to be created.(Method of javax.persistence.spi.PersistenceProvider)

 
forum_thread

Conflicting modifiers .... (javax.persistence.Id, javax.persistence.ManyToOne)

I have two classes a Container type class and another class that is 'contained' by that class. The contained class, CompoundKeyMapItem, represents an alternate implementation of an object held in a Map, and uses a Compound Primary Key. The contained class therefore uses an @IdClass. This all works fine on Eclipselink. However when I try and run this in ObjectDb I get the following error; #1 2011-09-23 10:36 I have two classes a Container type class and another class that is 'contained' by that class. The co ...

 
page

Eclipse Public License - v 1.0

THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT. 1. DEFINITIONS "Contribution" means ...

 
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.... > guest.Guest </class > <properties > <property name = ... value = "admin" /> </properties > </persistence-unit >   ...

 
release

2.6.8

... enhanced entity classes with is ( boolean ) persistent properties ( issue #237 ). Fixed porting to Java 8 of database ... objects. Fixed a bug in clearing persistent properties of primitive types. Fixed a bug of returning managed ...

 
forum_thread

Failed to validate XML

[ObjectDB 2.6.7_05] javax.persistence.PersistenceException Failed to validate xml file /{erased-by-me}/tiro/lib-core/build/resources/test/META-INF/persistence.xml: (error 211) at com.objectdb.jpa.Provider.createEntityManagerFactory(Provider.java:88) at com.objectdb.jpa.Provider.createEntityManagerFactory(Provider.java:32) at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:79) at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:54)... com.tiro.entities.Role </class > <properties > <property name = ... value = "admin" /> </properties > </persistence-unit > </persistence ...