Why the different name pattern for the last proposed?
They would all fulfill the same purpose.
Cheers,
Werner
-------- Original-Nachricht --------
> Datum: Sat, 18 Jun 2011 13:06:03 +0200
> Von: Adam Bien <abien_at_adam-bien.com>
> An: jsr338-experts_at_jpa-spec.java.net
> Betreff: [jsr338-experts] Standardized Access to ChangeSet
> HI All,
>
> I would like to propose additional EntityManager methods:
>
> Set<Class> updated = EntityManager#getUpdatedEntities(Class<T>.class);
> Set<Class> deleted = EntityManager#getDeletedEntities(Class<T>.class);
> Set<Class> created = EntityManager#getCreatedEntities(Class<T>.class);
> Set<Class> dirty = EntityManager#getDirty(Class<T>.class);
>
> We had to use provider-specific EntityManager extensions to access the
> dirty entities for the implementation of replication or historization.
>
> Such methods would be also useful for debugging purposes,
>
> thanks in advance,
>
> adam
>
>
--
NEU: FreePhone - kostenlos mobil telefonieren!
Jetzt informieren: http://www.gmx.net/de/go/freephone