Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Remove random string from ExportFile names

    • -0
    • +26
    ./jpa/test/ErraiJpaClientTestModule.java
  1. … 26 more files in changeset.
IP BOM 7.0.0.CR5 (#212)

* [ERRAI-971] upgrade IP BOM to 7.0.0.CR5

* CR5 brings JPA 2.1 + Hibernate 5.x

(upgraded from JPA 2.0 + Hibernate 4.x)

* Fix errai-jpa-client tests and jpa demo GWT compilation errors.

* Add missing attribute to JoinColumn annotation.

* Add ForeignKey and ConstraintMode types.

* Fix HibernateJpaTest/ErraiJpaTest to work with different hibernate behaviour.

    • -17
    • +41
    ./jpa/test/client/ErraiJpaTest.java
  1. … 19 more files in changeset.
Remove 'destroyAllBeans' method from bean manager API.

    • -72
    • +69
    ./jpa/test/client/ErraiCascadeTest.java
    • -115
    • +112
    ./jpa/test/client/ErraiJpaTest.java
    • -26
    • +23
    ./jpa/test/client/GlobalEntityListenerTest.java
    • -3
    • +0
    ./jpa/test/client/IdGeneratorTest.java
    • -43
    • +40
    ./jpa/test/client/InheritanceTest.java
    • -373
    • +370
    ./jpa/test/client/QueryTest.java
  1. … 15 more files in changeset.
ERRAI-944: Entity Manager fails to persist entity with ID of type Long and value 0.

    • -11
    • +27
    ./jpa/test/client/IdGeneratorTest.java
    • -0
    • +50
    ./jpa/test/entity/EntityWithNonGeneratedId.java
  1. … 1 more file 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.
Support binding with non-widgets and lists through normal programmatic API.

DataBinder.bind methods now accept non-widget objects. Types should implement

one of the following:

* com.google.gwt.user.client.TakesValue

* com.google.gwt.user.client.ui.HasValue

* com.google.gwt.user.client.ui.HasText

Objects being bound can also be wrappers for native input elements.

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

    • -0
    • +16
    ./jpa/test/ClassSorterUnitTest.java
    • -0
    • +16
    ./jpa/test/client/ErraiCascadeTest.java
    • -0
    • +16
    ./jpa/test/client/ErraiJpaTest.java
    • -0
    • +16
    ./jpa/test/client/GlobalEntityListenerTest.java
    • -0
    • +16
    ./jpa/test/client/HibernateInheritanceTest.java
    • -0
    • +16
    ./jpa/test/client/HibernateJpaTest.java
    • -0
    • +16
    ./jpa/test/client/HibernateQueryTest.java
    • -0
    • +16
    ./jpa/test/client/IdGeneratorTest.java
    • -0
    • +16
    ./jpa/test/client/InheritanceTest.java
    • -0
    • +16
    ./jpa/test/client/JpaTestClient.java
    • -0
    • +16
    ./jpa/test/client/JsonUtilTest.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
    ./jpa/test/ClassSorterUnitTest.java
    • -16
    • +0
    ./jpa/test/client/ErraiCascadeTest.java
    • -16
    • +0
    ./jpa/test/client/ErraiJpaTest.java
    • -16
    • +0
    ./jpa/test/client/GlobalEntityListenerTest.java
    • -16
    • +0
    ./jpa/test/client/HibernateInheritanceTest.java
    • -16
    • +0
    ./jpa/test/client/HibernateJpaTest.java
    • -16
    • +0
    ./jpa/test/client/HibernateQueryTest.java
    • -16
    • +0
    ./jpa/test/client/IdGeneratorTest.java
    • -16
    • +0
    ./jpa/test/client/InheritanceTest.java
    • -16
    • +0
    ./jpa/test/client/JpaTestClient.java
    • -16
    • +0
    ./jpa/test/client/JsonUtilTest.java
  1. … 3068 more files in changeset.
Remove old JBoss and Red Hat license headers. Add new "Red Hat and affiliates" header.

    • -0
    • +16
    ./jpa/test/ClassSorterUnitTest.java
    • -0
    • +16
    ./jpa/test/client/ErraiCascadeTest.java
    • -0
    • +16
    ./jpa/test/client/ErraiJpaTest.java
    • -0
    • +16
    ./jpa/test/client/GlobalEntityListenerTest.java
    • -0
    • +16
    ./jpa/test/client/HibernateInheritanceTest.java
    • -0
    • +16
    ./jpa/test/client/HibernateJpaTest.java
    • -0
    • +16
    ./jpa/test/client/HibernateQueryTest.java
    • -0
    • +16
    ./jpa/test/client/IdGeneratorTest.java
    • -0
    • +16
    ./jpa/test/client/InheritanceTest.java
    • -0
    • +16
    ./jpa/test/client/JpaTestClient.java
    • -0
    • +16
    ./jpa/test/client/JsonUtilTest.java
  1. … 3150 more files in changeset.
Remove redundant async IoC tests and change IOC.getBeanManager() behaviour.

errai-ioc-async-tests now runs all tests from errai-ioc with

the async flag set to true. Duplicate tests have been removed.

When the async flag is set to true, IOC.getBeanManager() returns

as SyncBeanManager that is used internally by the AsyncBeanManager

(containing beans from all downloaded code fragments).

    • -2
    • +1
    ./jpa/test/client/ErraiCascadeTest.java
    • -2
    • +1
    ./jpa/test/client/GlobalEntityListenerTest.java
    • -2
    • +1
    ./jpa/test/client/IdGeneratorTest.java
    • -2
    • +1
    ./jpa/test/client/InheritanceTest.java
  1. … 44 more files in changeset.
ERRAI-590, ERRAI-850, ERRAI-851: Implement new IOC container (more description below).

The new container uses code genererated in multiple files instead

of a single monolithic file. At compile time an implementation of

org.jboss.errai.ioc.client.container.Factory is generated for each bean.

The factory is responsible for requesting dependencies from other

factories to wire the bean, running code generated by decorators,

and cleaning up when the bean is destroyed.

The GWT.create calls for the factories are generated in the

BootstrapperImpl. The BootstrapperImpl now only registers

factories with their respective contexts.

This container has the following differences from behaviour

in the 3.x version of errai-ioc:

* Normal scoped beans must be proxiable.

* The @New qualifier is not supported.

* Normal scoped beans (except @Entrypoint or with @Startup) are lazily instatiated.

* @Alternative beans must be explicitly enabled (even if no other beans match).

* Resolution of types behaves like CDI. Some cases that worked in 3.x may now be ambiguous.

** Injecting a common supertype of multiple concrete classes is ambiguous.

* Different API for programmtically adding beans to bean manager.

    • -0
    • +8
    ./jpa/test/client/ErraiCascadeTest.java
    • -0
    • +8
    ./jpa/test/client/GlobalEntityListenerTest.java
    • -0
    • +8
    ./jpa/test/client/IdGeneratorTest.java
    • -0
    • +8
    ./jpa/test/client/InheritanceTest.java
  1. … 375 more files in changeset.
Implemented ERRAI-832: Added support for whitelist and blacklist properties for Errai JPA

Added tests and test cases. Test cases commented out for now. Tests do not pass

Added programming logic but must be updated using Filters and Sets.

    • -5
    • +10
    ./jpa/test/client/ErraiJpaTest.java
  1. … 13 more files in changeset.
Add test for hibernate entity scanning disablement

    • -0
    • +15
    ./jpa/test/client/ErraiJpaTest.java
    • -0
    • +11
    ./jpa/test/client/HibernateJpaTest.java
    • -0
    • +18
    ./jpa/test/not/on/gwt/path/NonClientEntity.java
No longer printing gen. code to stdout (not needed: gen. code is written to files in .errai)

    • -2
    • +0
    ./jpa/test/client/ErraiCascadeTest.java
    • -2
    • +0
    ./jpa/test/client/IdGeneratorTest.java
  1. … 5 more files in changeset.
No longer printing gen. code to stdout (not needed: gen. code is written to files in .errai)

    • -2
    • +0
    ./jpa/test/client/ErraiCascadeTest.java
    • -2
    • +0
    ./jpa/test/client/IdGeneratorTest.java
  1. … 5 more files in changeset.
Minor change (log level of message in jpa test)

Inherit and configure gwt logging in JpaTest.

This will allow apps using errai-jpa to have their own logging

configurations.

  1. … 1 more file in changeset.
Create JPA test parent class that loads GWT logging module

    • -3
    • +2
    ./jpa/test/client/ErraiCascadeTest.java
    • -3
    • +2
    ./jpa/test/client/GlobalEntityListenerTest.java
    • -3
    • +2
    ./jpa/test/client/IdGeneratorTest.java
    • -3
    • +2
    ./jpa/test/client/InheritanceTest.java
    • -0
    • +15
    ./jpa/test/client/res/JpaClientTestCase.java
Change errai-jpa-client print calls to slf4j log calls

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

    • -0
    • +27
    ./jpa/test/entity/inherit/IdTestingEntity1.java
    • -0
    • +27
    ./jpa/test/entity/inherit/IdTestingEntity2.java
Now ensuring generated IDs don't overlap between types that share a common superclass

    • -1
    • +1
    ./jpa/test/client/GlobalEntityListenerTest.java
    • -0
    • +16
    ./jpa/test/client/InheritanceTest.java
  1. … 7 more files in changeset.
Added the ability to fetch entities by supertypes rather than exact type matching

    • -0
    • +28
    ./jpa/test/client/InheritanceTest.java
    • -0
    • +27
    ./jpa/test/entity/inherit/ChildOfAbstractParentEntity.java
    • -0
    • +52
    ./jpa/test/entity/inherit/ParentAbstractEntity.java
  1. … 6 more files in changeset.
Added sanity-check test against Hibernate to validate our behaviours around inheritance

    • -0
    • +55
    ./jpa/test/client/HibernateInheritanceTest.java
Added test that spans 3 levels of entity type hierarchy, just to be sure.

    • -8
    • +21
    ./jpa/test/client/InheritanceTest.java
Added the ability to query on an entity class which subclasses another entity. (refs ERRAI-645)

    • -2
    • +2
    ./jpa/test/client/InheritanceTest.java
  1. … 3 more files in changeset.
Added support for polymorphic query results (refs ERRAI-645)

    • -3
    • +117
    ./jpa/test/client/InheritanceTest.java
  1. … 3 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
    • +208
    ./jpa/test/ClassSorterUnitTest.java
    • -0
    • +100
    ./jpa/test/client/InheritanceTest.java
    • -0
    • +27
    ./jpa/test/entity/inherit/ChildOfConcreteParentEntity.java
    • -0
    • +52
    ./jpa/test/entity/inherit/ParentConcreteEntity.java
  1. … 2 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)

  1. … 12 more files in changeset.
Fixed ERRAI-629: EntityManager should treat proxies as identical to the instances they wrap

    • -1
    • +27
    ./jpa/test/client/ErraiCascadeTest.java
  1. … 1 more file in changeset.
Fixed ERRAI-611

    • -4
    • +37
    ./jpa/test/client/GlobalEntityListenerTest.java
  1. … 6 more files in changeset.