Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
ERRAI-944: Entity Manager fails to persist entity with ID of type Long and value 0.

  1. … 2 more files in changeset.
Add DOM JsTypes to errai-common. Change IsElement to use new HTMLElement wrapper.

    • -1
    • +1
    ./local/ErraiEntityManagerProducer.java
  1. … 100 more files in changeset.
Add missing license headers and update copyright notice in existing headers.

    • -0
    • +16
    ./local/ErraiEntityManagerFactory.java
    • -0
    • +16
    ./local/ErraiEntityManagerProducer.java
    • -0
    • +16
    ./local/ErraiSingularAttribute.java
  1. … 3042 more files in changeset.
Revert "Remove old JBoss and Red Hat license headers. Add new "Red Hat and affiliates" header."

Changes from the reverted commit did not preserve original copyright dates.

This reverts commit d8e735dfe2f6ed25fe9e06b753ae2f6154d76b02.

    • -16
    • +0
    ./local/ErraiEntityManagerFactory.java
    • -16
    • +0
    ./local/ErraiEntityManagerProducer.java
    • -16
    • +0
    ./local/ErraiSingularAttribute.java
  1. … 3068 more files in changeset.
Remove old JBoss and Red Hat license headers. Add new "Red Hat and affiliates" header.

    • -0
    • +16
    ./local/ErraiEntityManagerFactory.java
    • -0
    • +16
    ./local/ErraiEntityManagerProducer.java
    • -0
    • +16
    ./local/ErraiSingularAttribute.java
  1. … 3150 more files in changeset.
Fix several minor issues (descriptions below).

* Add error messages for public fields in normal scoped beans (except @EntryPoint).

* Remove "Concrete" and "Abstract" from toString of Injectables.

* Add tests that lazily-loaded @Page and @Templated beans are in time.

* Don't use universal qualifier for Providers (only for ContextualTypeProvider).

* Add @IOCProducer annotation (for projects that don't depend on CDI @Produces).

* Make provider of ErraiEntityManager to producer so that it also matches EntityManager.

    • -1
    • +1
    ./local/ErraiEntityManagerFactory.java
    • -0
    • +27
    ./local/ErraiEntityManagerProducer.java
  1. … 14 more files in changeset.
Fix issues found in errai-jpa-grocery-list demo (described below).

* Make IoC proxies extend WrappedPortable.

* Make Providers only match exact provided type (like ContextualTypeProviders).

* Make some types @EntryPoints so that they are eagerly loaded on startup.

    • -2
    • +3
    ./local/ErraiEntityManagerProvider.java
  1. … 19 more files in changeset.
Change errai-jpa-client print calls to slf4j log calls

    • -11
    • +16
    ./local/backend/WebStorageBackend.java
  1. … 2 more files in changeset.
Now ensuring generated IDs don't overlap between types that share a common superclass

    • -4
    • +9
    ./local/backend/WebStorageBackend.java
  1. … 2 more files in changeset.
Added the ability to fetch entities by supertypes rather than exact type matching

    • -0
    • +137
    ./local/PersistenceContext.java
    • -13
    • +13
    ./local/backend/WebStorageBackend.java
  1. … 5 more files in changeset.
Added the ability to query on an entity class which subclasses another entity. (refs ERRAI-645)

  1. … 4 more files in changeset.
Added support for polymorphic query results (refs ERRAI-645)

    • -2
    • +2
    ./local/backend/WebStorageBackend.java
  1. … 3 more files in changeset.
Factored out the IdentifiableType and ManagedType stuff from ErraiEntityType

This lays the foundation for supporting mapped supertypes (a requested feature) as well as

embeddable types (not yet requested, so we'll hold off on doing it)

    • -0
    • +243
    ./local/ErraiIdentifiableType.java
    • -0
    • +592
    ./local/ErraiManagedType.java
    • -5
    • +6
    ./local/backend/WebStorageBackend.java
  1. … 3 more files in changeset.
Fixed ERRAI-629: EntityManager should treat proxies as identical to the instances they wrap

  1. … 4 more files in changeset.
Fixed ERRAI-611

  1. … 3 more files in changeset.
Created tests for primitive and non-primitive field-accessed attributes in both impls of JpaAttributeAccessor

  1. … 11 more files in changeset.
Added support for tracking removed entities. Allows merge test case 3 to pass

  1. … 1 more file in changeset.
Added tests for JPA lifecycle events during merge operation

  1. … 1 more file in changeset.
Made cascading merge pass JPA rules 1-4 inclusive (tests for 5 and 6 still pending)

  1. … 1 more file in changeset.
Fixed so null-valued collection attributes don't cause NPE during merge

  1. … 1 more file in changeset.
Made the cascading merge test pass. Now to work on merging across plural attributes...

  1. … 3 more files in changeset.
All but 2 of the new EntityManager.merge() tests are passing now.

  1. … 4 more files in changeset.
Implemented namespacing at the EntityManager and WebStorageBackend levels

    • -9
    • +62
    ./local/backend/WebStorageBackend.java
  1. … 3 more files in changeset.
Refactored ErraiEntityManager and its generator to make it easier to create multiple instances.

Unfortunately, this caused me to introduce two new factory interfaces. Sorry about that. :-/

The motivation for this change is that I want to keep a second ErraiEntityManager around for

tracking the state we believe the server has for each entity reachable from a SyncableDataSet.

    • -0
    • +21
    ./local/ErraiEntityManagerFactory.java
    • -1
    • +2
    ./local/ErraiEntityManagerProvider.java
    • -0
    • +15
    ./local/ErraiIdGenerator.java
    • -0
    • +26
    ./local/backend/StorageBackendFactory.java
    • -0
    • +7
    ./local/backend/WebStorageBackend.java
  1. … 3 more files in changeset.
Added support for annotation-based global entity listener (gets all JPA lifecycle events for all entity types)

    • -0
    • +20
    ./shared/GlobalEntityListener.java
  1. … 6 more files in changeset.
Fixed ERRAI-474: Allow the addition of primitive attributes to entities that have been persisted

Pulled out LocalStorage into its own class so it could be used by the tests as well. Might come in handy later

on for other people too.

    • -0
    • +67
    ./local/backend/LocalStorage.java
    • -39
    • +9
    ./local/backend/WebStorageBackend.java
  1. … 2 more files in changeset.
Fixed NPE when a new boolean property appears in an entity that was previously persisted

  1. … 5 more files in changeset.
Fixed ERRAI-427: Errai JPQL comparisons treat null incorrectly

  1. … 2 more files in changeset.
Fixed ERRAI-334: Treat null fields correctly when cascading across singular or plural attributes

  1. … 1 more file in changeset.
Moved Comparisons into the JPA module because it will become JPQL-specific

  1. … 2 more files in changeset.