About modified

issue

No Entity Class API

Both JPA and JDO are based on accessing and managing data in the database using persistable classes (mainly entity classes in JPA or persistence capable classes in JDO). Sometimes, it might be useful to access data without classes. For example, a tool that finds and replaces strings in the database should be generic and should not be bound to specific entity classes and persistent fields. An API for accessing (and maybe also modifying) data in the database without classes can be useful in some applications. Feature Request Version: Priority: Normal Status: Active Replies: 3 Type:  Feature Request ...

 
forum_thread

Problem with byte arrays in JDO - ClassCastException

A bizarre ClassCastException is thrown if I attempt to obtain a byte array field as the result of a Query: Exception in thread "main" java.lang.ClassCastException: java.lang.Boolean cannot be cast to [B at spiffy.test.ObjectdbTest.main(ObjectdbTest.java:44) #1 2017-09-13 03:33 A bizarre ClassCastException is thrown if I attempt to obtain a byte array field as the result of a Query: ...

 
release

2.2.1

... Fixed a critical bug in schema evolution of modified ancestor classes. Fixed a bug in handling indexes in a ...

 
release

2.4.1

... Fixed a critical bug in schema evolution of modified ancestor classes. Fixed a bug in handling indexes in a ...

 
manual

CRUD Database Operations with JPA

Shows how to use Java/JPA to store, retrieve, update & delete. Given an EntityManager javax.persistence.EntityManager JPA interface Interface used to interact with the persistence context. See JavaDoc Reference Page... , em , that represents a JPA connection to the object dat ...

 
issue

query.getResultList() throws ClassCastException

I modified the example code to include an index on the Point class like so:     @Index(members={"x","y"}) Then when I run the following query:     TypedQuery<Point> query = em.createQuery("SELECT p FROM Point p where p.x <= :x and p.y >= :y",         Point.class); I get the exception at the end.  I do not get an exception if I: ... 2011-09-30 20:50 I modified the example code to include an index on the Point class like so: ... started pushing things into the millions, and had already modified accordingly.  I also noticed a flaw in my use of the generated ...

 
release

2.4.0

... Fixed a critical bug in schema evolution of modified ancestor classes. Fixed a bug in handling indexes in a ...

 
manual

Working with JPA Entity Objects

Explains the entity object lifecycle and the persistence context.... Entities section. If a managed entity object is modified within an active transaction the change is detected by the owning ... By default, managed entity objects that have not been modified or removed during a transaction are held in the persistence context by ...

 
release

2.2.0

... Fixed a critical bug in schema evolution of modified ancestor classes. Fixed a bug in handling indexes in a ...

 
manual

Detached Entity Objects

Explains detached entity objects and how to work with detached objects in JPA, including merging them into an EntityManager.... entity objects are not stored in the database unless modified detached objects are merged back into an EntityManager to ...