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.

    • -0
    • +50
    ./EntityWithNonGeneratedId.java
  1. … 2 more files in changeset.
Update GWT to 2.8.0-rc1 (lots of details below).

Most of the items below were fixes for tests (which

are now production compiled by default) and dependency

issues (since gwt-user/gwt-dev now bring in transitive

dependencies instead of bundling them in fat jars).

* Upgrade jetty to version in ip-bom

* Fix errai-bus test issues.

* Remove GuardedBy and Nonnull annotations from errai-bus.

* Fix javadoc bug in errai-bus.

* Fix test failures caused by GWT type oracle behaviour change.

(This commit causes the type oracle to hide non-abstract methods

in interfaces:

https://github.com/gwtproject/gwt/commit/75382f1202bf3eaa399d60ebdba42bd7522da3bb)

* Fix AbstractErraiTest so it is usable in errai-ioc-bus-support production compiled tests.

* Fix data-binding tests (have to manually invoke event listeners because dispatchEvent does not work).

* Fixes for errai-cdi-server tests (description below).

* Upgrade Jetty version

* Add -devMode gwt.arg

* Add missing inherited modules

(This was to try and get the tests to run in prod mode,

but there appears to be a compiler bug that prevents this

-- interned value is used before being referenced)

* Use errai.devel.nocache property in Errai GWT generators.

* Fix jaxrs-client bug with Date params.

* Fix errai-ui tests (notes below).

** Fix event dispatching issue (same problem as with data-binding tests).

** Fix NPE when an empty input element fires a change event while bound

to a primitive property in a model.

* Fix errai-navigation native anchor test (same problem as data-binding tests).

* Fix Errai Security tests.

* Fix errai-jpa-client tests.

* Fix gwt-dev version in demos.

* Manage gson version in errai-bom to version required by gwt-dev.

  1. … 99 more files in changeset.
Add missing license headers and update copyright notice in existing headers.

  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.

  1. … 3068 more files in changeset.
Remove old JBoss and Red Hat license headers. Add new "Red Hat and affiliates" header.

  1. … 3150 more files in changeset.
Oops! Missed these new classes with the previous commit. Sorry!

    • -0
    • +27
    ./inherit/IdTestingEntity1.java
    • -0
    • +27
    ./inherit/IdTestingEntity2.java
Added the ability to fetch entities by supertypes rather than exact type matching

    • -0
    • +27
    ./inherit/ChildOfAbstractParentEntity.java
    • -1
    • +1
    ./inherit/GrandchildOfConcreteParentEntity.java
    • -0
    • +52
    ./inherit/ParentAbstractEntity.java
  1. … 7 more files in changeset.
Added test that spans 3 levels of entity type hierarchy, just to be sure.

    • -0
    • +29
    ./inherit/GrandchildOfConcreteParentEntity.java
  1. … 1 more file in changeset.
Added the ability to query on an entity class which subclasses another entity. (refs ERRAI-645)

    • -0
    • +4
    ./inherit/ChildOfConcreteParentEntity.java
  1. … 4 more files in changeset.
Added support for polymorphic query results (refs ERRAI-645)

  1. … 4 more files in changeset.
Added support for basic store and fetch of entities that subclass other entities. (refs ERRAI-645)

Still need to test and implement:

* polymorphic query results

* abstract entities

* mapped superclasses (might be same as abstract entities)

* unmapped superclasses (ensure state inherited from these is not stored and restored)

    • -0
    • +27
    ./inherit/ChildOfConcreteParentEntity.java
    • -0
    • +52
    ./inherit/ParentConcreteEntity.java
  1. … 5 more files in changeset.
Fixed ERRAI-629: EntityManager should treat proxies as identical to the instances they wrap

  1. … 3 more files in changeset.
Fixed JPA method accessed property code generator to accommodate boolean getters named like isXxx()

  1. … 1 more file in changeset.
Added the remaining collection-valued merge tests, and made all the merge tests work with Hibernate

  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...

    • -0
    • +64
    ./CascadeThirdGeneration.java
  1. … 3 more files in changeset.
All but 2 of the new EntityManager.merge() tests are passing now.

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

  1. … 4 more files in changeset.
Added support for annotation-based global entity listener (gets all JPA lifecycle events for all entity types)

    • -0
    • +34
    ./TestingGlobalEntityListener.java
  1. … 4 more files in changeset.
Fixed ERRAI-473: JPA2 method-accessed attributes don't work

    • -0
    • +373
    ./MethodAccessedZentity.java
  1. … 3 more files in changeset.
Changed JPA storage format to use Key instances for entity references (not backward compatible)

This allows entity references to be used as a basis for comparison in JPQL queries. It also paves the

way for proper polymorphic references (since Key includes type information, and the old refs didn't)

This commit resolves ERRAI-418.

  1. … 5 more files in changeset.
Implemented both the 2 and 3 arg variants of JPQL locate() function

Also switched to the H2 database from HSQLDB because H2 has a better-behaved TRIM() function

  1. … 8 more files in changeset.
Implemented JPQL length() function

  1. … 2 more files in changeset.
Implemented JPQL trim() function with support for all optional params

  1. … 4 more files in changeset.
Implemented both variants of JPQL SUBSTRING()

  1. … 2 more files in changeset.
Implemented JPQL concat() function

  1. … 2 more files in changeset.
Added support for JPQL NOT IN

  1. … 2 more files in changeset.
Added support for JPQL IN <collection-valued-param>

  1. … 3 more files in changeset.
Added support for JPQL IN <literal list>

  1. … 2 more files in changeset.
Added support for ESCAPE subclause of LIKE and NOT LIKE

  1. … 3 more files in changeset.