About properties

manual

JPA Entity Fields

Explains how to define and use primary keys in JPA, including composite and embedded primary keys.... the fields directly, but accessing fields indirectly as properties using get and set methods is also supported. To use property access ...

 
manual

JPA Persistence Unit

Explains how to define a JPA persistence unit in the persistence.xml file.... > sample.MyEntity2 </class > <properties > <property name = ... value = "admin" /> </properties > </persistence-unit >   ... below). The property elements specify general properties. JPA 2 defines standard properties for specifying database url, ...

 
forum_thread

Externalising persistence.xml properties in Glassfish?

Hi, ... from JPA itself and no formal standard for externalising properties (hence why they appear to be relying on JNDI lookups). I am ... </jta-data-source > <properties > <!--   TODO: I would like at ...

 
api-jpa

createEntityManagerFactory(persistenceUnitName, properties)

Create and return an EntityManagerFactory for the named persistence unit using the given properties.(Static Method of javax.persistence.Persistence)

 
manual

Shared (L2) Entity Cache

Explains how to set and use the EntityManagerFactory's shared cache (L2 / level 2) in JPA 2.... name = "my-pu" > ... <properties > <property name = ... value = "ALL" /> </properties > ... </persistence-unit > ... added to the shared cache. JPA provides two properties that can be used in order to change the default behavior. ...

 
forum_thread

How to change properties in urls2.xml?

Hello, I am using objectdb in an embedded case with network private access to each database. I see it exists a file name "urls2.xml". <url><main>/var/lib/tomcat7/db/myDb.odb;user=admin;password=admin</main><alt>objectdb://127.0.0.1:38059/;user=$code;password=a2e54ea3-d889-41a7-953c-dabc42877742</alt></url> This file is autogenerated by objectdb. And it describes the locals databases url and their port / user / password properties. ... the locals databases url and their port / user / password properties. I have no control on the port and password used. :( Does it exist a way to change urls2.xml properties ? Adding ?port=XXXX at the end of the persistence.xml ...

 
issue

ObjectDB-2.6.9: Failed to commit transaction: Failed to set numeric value of field property Element.id using reflection

The following error is reported for objectdb-2.6.9.jar: Failed to commit transaction: Failed to set numeric value of field property com.greensoft.objectdb.test.entity.Element.id using reflection (error 613) Did not happen with objectdb-2.6.3_04 (which one can easily test and compare in the test console app for NetBeans8.1 provided, as explained below). To reproduce download the app and unpack, open in NetBeans8.1, perform Clean and Build, and Run: ... A critical Enhancer bug in handling parameterized type properties (e.g. List<Project> ). Due to erasure of the type ...

 
issue

How to change properties in urls2.xml ?

Hello, I am using objectdb in an embedded case with network private access to each database. I see it exists a file name "urls2.xml". <url><main>/var/lib/tomcat7/db/myDb.odb;user=admin;password=admin</main><alt>objectdb://127.0.0.1:38059/;user=$code;password=a2e54ea3-d889-41a7-953c-dabc42877742</alt></url> This file is autogenerated by objectdb. And it describes the locals databases url and their port / user / password properties. ... the locals databases url and their port / user / password properties. I have no control on the port and password used. :( Does it exist a way to change urls2.xml properties ? Adding ?port=XXXX at the end of the persistence.xml ...

 
api-jpa

find(entityClass, primaryKey, properties)

Find by primary key, using the specified properties.(Method of javax.persistence.EntityManager)

 
forum_thread

Property fields

Hello   How can I use a Property, such as: javafx.beans.property.BooleanProperty as a field within an entity class? I want to bind a JavaFX CheckBoxTableCell control to the property.   Thanks Russ #1 2014-10-26 17:22 Hello   How can I use a Property, such as: javafx. beans . property . BooleanPro ...