About not

forum_thread

Updating Entities

Hello, I'm currently writing a program using JavaFX and ObjectDB and I'm encountering a problem with Entities not sending their updates to each other. I have two Entities in question at the moment: Employee and Paygrade. ... ObjectDB and I'm encountering a problem with Entities not sending their updates to each other. I have two Entities in ... my limited knowledge of Java and ObjectDB I have chosen to not use things such as StringProperty since I didn't know how to make it ...

 
forum_thread

Update is ignored by ObjectDB

Hi! Sorry for my bad english skills. When I execute fulfilOrder, only Order entity is updated in the database, and User entity remains modified only in code, even if I go: user = smdb.find(User.class, user.id); In this source highlighted lines modifying entity, but not the database. ... In this source highlighted lines modifying entity, but not the database. @ Stateless public class SMDB { ... addMoney method. Persistent fields should not be defined as public and accessed or modified directly from other ...

 
manual

[ODB1] Chapter 4 - JDO Metadata

Shows how to define JDO metadata for persistence capable classes.... and later at runtime, ObjectDB determines whether or not each class is persistent. It searches for JDO metadata description of each ... description is found, the class is persistent, and if not, the class is transient. Metadata for class a.b.X ( a.b is the ...

 
api-jpa

javax.persistence.Transient

Specifies that the property or field is not persistent.(Annotation of JPA)

 
manual

[ODB1] Chapter 7 - JDOQL Queries

Explains how to use JDOQL, the Java/JDO Query Language.... is "this.age >= 18" . When a candidate collection is not specified explicitly, as it is in this query, the entire Extent of the ... of the candidate class. In such cases, if an Extent is not managed for the candidate class, the query is not valid. The ...

 
manual

Strings in JPQL and Criteria Queries

Explains string expressions in JPQL queries, including LIKE, LOCATE, LOWER, UPPER, TRIM, CONCAT and SUBSTRING.... LIKE - String Pattern Matching with Wildcards The [NOT] LIKE operator checks if a specified string matches a specified pattern. ... (for any c.name value). c.name NOT LIKE '%' is always FALSE (for any c.name value). ...

 
manual

Retrieving JPA Entity Objects

Explains how to use JPA to retrieve entity objects from the database.... objects from the database. The retrieval of objects does not require an active transaction because it does not change the content of the database. The persistence context ...

 
api-jdo

javax.jdo.PersistenceManagerFactory

The PersistenceManagerFactory is the interface to use to obtain PersistenceManager instances.(Interface of JDO)

 
api-jpa

javax.persistence.criteria.ParameterExpression

Type of criteria query parameter expressions.(Interface of JPA)

 
issue

objectdb-2.6.9_06: Extended Persistence Context fails: 'Attempt to begin a new transaction when a transaction is active'

objectdb-2.6.9_01 NetBeans8.1+Glassfish4.1.1 Mac OS X Possibly related: How to Use a SF with extended Persistence Context? Test mini web app at: https://www.webel.com.au/downloads/objectdb/GreensoftObjectdbTestWebMini3683.2016-09-29.tgz ... common inherited logging service class  All_ , not shown.) The following strategy used to work ... { }*/ @ EJB public //! so not reset() and so other builders can access ExtRequestBean ... log_warn ( $i, "BEFORE: Extended entity manager not created yet" ) ; } else { ...