[hibernate/hibernate-orm] 5c4dac: HHH-9265 - Extract EntityEntry behind a factory + ...
by GitHub
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-orm
Commit: 5c4dacb83e5cd966a932d5771318162e950e7dbf
https://github.com/hibernate/hibernate-orm/commit/5c4dacb83e5cd966a932d57...
Author: John O'Hara <johara(a)localhost.localdomain>
Date: 2015-03-31 (Tue, 31 Mar 2015)
Changed paths:
A hibernate-core/src/main/java/org/hibernate/engine/internal/DefaultEntityEntryFactory.java
M hibernate-core/src/main/java/org/hibernate/engine/internal/EntityEntryContext.java
A hibernate-core/src/main/java/org/hibernate/engine/internal/EntityEntryFactoryInitiator.java
A hibernate-core/src/main/java/org/hibernate/engine/internal/MutableEntityEntry.java
M hibernate-core/src/main/java/org/hibernate/engine/internal/StatefulPersistenceContext.java
M hibernate-core/src/main/java/org/hibernate/engine/spi/EntityEntry.java
A hibernate-core/src/main/java/org/hibernate/engine/spi/EntityEntryFactory.java
M hibernate-core/src/main/java/org/hibernate/service/internal/StandardSessionFactoryServiceInitiators.java
M hibernate-core/src/test/java/org/hibernate/engine/spi/EntityEntryTest.java
M hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/EnhancerTestUtils.java
Log Message:
-----------
HHH-9265 - Extract EntityEntry behind a factory + interface
Commit: 256b2608ce6ac0165b939fdc07fa0da839985486
https://github.com/hibernate/hibernate-orm/commit/256b2608ce6ac0165b939fd...
Author: Steve Ebersole <steve(a)hibernate.org>
Date: 2015-03-31 (Tue, 31 Mar 2015)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/engine/internal/DefaultEntityEntryFactory.java
R hibernate-core/src/main/java/org/hibernate/engine/internal/EntityEntryFactoryInitiator.java
M hibernate-core/src/main/java/org/hibernate/engine/internal/StatefulPersistenceContext.java
M hibernate-core/src/main/java/org/hibernate/engine/spi/EntityEntryFactory.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/AbstractEntityPersister.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/EntityPersister.java
M hibernate-core/src/main/java/org/hibernate/service/internal/StandardSessionFactoryServiceInitiators.java
M hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/EnhancerTestUtils.java
M hibernate-core/src/test/java/org/hibernate/test/cfg/persister/GoofyPersisterClassProvider.java
M hibernate-core/src/test/java/org/hibernate/test/legacy/CustomPersister.java
M hibernate-entitymanager/src/test/java/org/hibernate/jpa/test/ejb3configuration/PersisterClassProviderTest.java
Log Message:
-----------
HHH-9265 - Extract EntityEntry behind a factory + interface;
HHH-9700 - Make EntityEntryFactory pluggable via EntityPersister
Compare: https://github.com/hibernate/hibernate-orm/compare/f295d66d6e07...256b260...
9 years, 9 months
[hibernate/hibernate-orm] 410a78: HHH-9680 updated OSGi quickstarts, added necessary...
by GitHub
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-orm
Commit: 410a785dfe40ae030bec31c4c06a5a7998f1feeb
https://github.com/hibernate/hibernate-orm/commit/410a785dfe40ae030bec31c...
Author: Brett Meyer <brett(a)3riverdev.com>
Date: 2015-03-30 (Mon, 30 Mar 2015)
Changed paths:
M documentation/src/main/docbook/quickstart/tutorials/osgi/managed-jpa/features.xml
M documentation/src/main/docbook/quickstart/tutorials/osgi/managed-jpa/pom.xml
M documentation/src/main/docbook/quickstart/tutorials/osgi/managed-jpa/src/main/resources/OSGI-INF/blueprint/blueprint.xml
M documentation/src/main/docbook/quickstart/tutorials/osgi/unmanaged-jpa/features.xml
M documentation/src/main/docbook/quickstart/tutorials/osgi/unmanaged-jpa/pom.xml
M documentation/src/main/docbook/quickstart/tutorials/osgi/unmanaged-jpa/src/main/java/org/hibernate/osgitest/TestIntegrator.java
M documentation/src/main/docbook/quickstart/tutorials/osgi/unmanaged-jpa/src/main/java/org/hibernate/osgitest/TestTypeContributor.java
M documentation/src/main/docbook/quickstart/tutorials/osgi/unmanaged-jpa/src/main/resources/OSGI-INF/blueprint/blueprint.xml
M documentation/src/main/docbook/quickstart/tutorials/osgi/unmanaged-native/features.xml
M documentation/src/main/docbook/quickstart/tutorials/osgi/unmanaged-native/pom.xml
M documentation/src/main/docbook/quickstart/tutorials/osgi/unmanaged-native/src/main/java/org/hibernate/osgitest/DataPointServiceImpl.java
M documentation/src/main/docbook/quickstart/tutorials/osgi/unmanaged-native/src/main/java/org/hibernate/osgitest/TestIntegrator.java
M documentation/src/main/docbook/quickstart/tutorials/osgi/unmanaged-native/src/main/java/org/hibernate/osgitest/TestTypeContributor.java
M documentation/src/main/docbook/quickstart/tutorials/osgi/unmanaged-native/src/main/resources/OSGI-INF/blueprint/blueprint.xml
M hibernate-core/src/main/java/org/hibernate/boot/model/source/internal/annotations/AnnotationMetadataSourceProcessorImpl.java
M hibernate-core/src/main/java/org/hibernate/cfg/BinderHelper.java
M hibernate-core/src/main/java/org/hibernate/cfg/annotations/MapBinder.java
M hibernate-entitymanager/src/main/java/org/hibernate/jpa/event/internal/jpa/LegacyCallbackProcessor.java
M hibernate-envers/src/main/java/org/hibernate/envers/configuration/internal/RevisionInfoConfiguration.java
M hibernate-envers/src/main/java/org/hibernate/envers/configuration/internal/metadata/reader/AnnotationsMetadataReader.java
M hibernate-envers/src/main/java/org/hibernate/envers/configuration/internal/metadata/reader/AuditedPropertiesReader.java
M hibernate-envers/src/main/resources/OSGI-INF/blueprint/blueprint.xml
Log Message:
-----------
HHH-9680 updated OSGi quickstarts, added necessary contracts to Envers blueprint, corrected a few uses of ReflectionManager
9 years, 9 months
[hibernate/hibernate-orm] e92307: HHH-9446 - ClassCastException on loaded entities u...
by GitHub
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-orm
Commit: e9230758b4e354022a1bb5cd1046c0609d5a966c
https://github.com/hibernate/hibernate-orm/commit/e9230758b4e354022a1bb5c...
Author: Steve Ebersole <steve(a)hibernate.org>
Date: 2015-03-27 (Fri, 27 Mar 2015)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/boot/registry/classloading/internal/ClassLoaderServiceImpl.java
M hibernate-core/src/main/java/org/hibernate/boot/registry/classloading/spi/ClassLoaderService.java
M hibernate-entitymanager/src/main/java/org/hibernate/jpa/boot/internal/EntityManagerFactoryBuilderImpl.java
M hibernate-envers/src/main/java/org/hibernate/envers/boot/internal/EnversServiceImpl.java
Log Message:
-----------
HHH-9446 - ClassCastException on loaded entities under GlassFish 4.0
Commit: 4def797408c1956588c45e16076127e1be0763da
https://github.com/hibernate/hibernate-orm/commit/4def797408c1956588c45e1...
Author: barreiro <lbbbarreiro(a)gmail.com>
Date: 2015-03-27 (Fri, 27 Mar 2015)
Changed paths:
R hibernate-core/src/main/java/org/hibernate/bytecode/enhance/EnhancementException.java
A hibernate-core/src/main/java/org/hibernate/bytecode/enhance/internal/AttributeTypeDescriptor.java
A hibernate-core/src/main/java/org/hibernate/bytecode/enhance/internal/CompositeEnhancer.java
A hibernate-core/src/main/java/org/hibernate/bytecode/enhance/internal/EntityEnhancer.java
A hibernate-core/src/main/java/org/hibernate/bytecode/enhance/internal/FieldWriter.java
A hibernate-core/src/main/java/org/hibernate/bytecode/enhance/internal/MethodWriter.java
A hibernate-core/src/main/java/org/hibernate/bytecode/enhance/internal/PersistentAttributesEnhancer.java
A hibernate-core/src/main/java/org/hibernate/bytecode/enhance/internal/package-info.java
A hibernate-core/src/main/java/org/hibernate/bytecode/enhance/internal/tracker/CollectionTracker.java
A hibernate-core/src/main/java/org/hibernate/bytecode/enhance/internal/tracker/CompositeOwnerTracker.java
A hibernate-core/src/main/java/org/hibernate/bytecode/enhance/internal/tracker/SimpleDirtyTracker.java
A hibernate-core/src/main/java/org/hibernate/bytecode/enhance/internal/tracker/SortedDirtyTracker.java
A hibernate-core/src/main/java/org/hibernate/bytecode/enhance/internal/tracker/package-info.java
R hibernate-core/src/main/java/org/hibernate/bytecode/enhance/package-info.java
R hibernate-core/src/main/java/org/hibernate/bytecode/enhance/spi/CollectionTracker.java
R hibernate-core/src/main/java/org/hibernate/bytecode/enhance/spi/CompositeOwnerTracker.java
A hibernate-core/src/main/java/org/hibernate/bytecode/enhance/spi/DefaultEnhancementContext.java
A hibernate-core/src/main/java/org/hibernate/bytecode/enhance/spi/EnhancementException.java
M hibernate-core/src/main/java/org/hibernate/bytecode/enhance/spi/Enhancer.java
M hibernate-core/src/main/java/org/hibernate/bytecode/enhance/spi/package-info.java
R hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/Address.java
R hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/CompositeOwnerTrackerTest.java
R hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/Country.java
A hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/CustomerEnhancerTest.java
M hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/EnhancerTest.java
A hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/EnhancerTestUtils.java
M hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/MostBasicEnhancementTest.java
R hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/MyEntity.java
R hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/SampleEntity.java
R hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/SimpleEntity.java
R hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/SubEntity.java
R hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/SuperEntity.java
R hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/customer/Address.java
R hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/customer/Customer.java
R hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/customer/CustomerEnhancerTest.java
R hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/customer/CustomerInventory.java
R hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/customer/CustomerInventoryPK.java
R hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/customer/SupplierComponentPK.java
A hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/entity/Address.java
A hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/entity/Country.java
A hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/entity/MyEntity.java
A hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/entity/SampleEntity.java
A hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/entity/SimpleEntity.java
A hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/entity/SubEntity.java
A hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/entity/SuperEntity.java
A hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/entity/customer/Address.java
A hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/entity/customer/Customer.java
A hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/entity/customer/CustomerInventory.java
A hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/entity/customer/CustomerInventoryPK.java
A hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/entity/customer/SupplierComponentPK.java
A hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/tracker/CompositeOwnerTrackerTest.java
A hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/tracker/DirtyTrackerTest.java
Log Message:
-----------
[HHH-9690] reorganization of bytecode enhancer code
Enhancer class was split into 3 logical units: EntityEnhancer for regular entities; CompositeEnhancer for emmbeded entities; PersistentAttributesEnhancer to enhance the persistent fields of both types of entities
Added a few helper classes and re-worked the tests a bit as well
Compare: https://github.com/hibernate/hibernate-orm/compare/d5d066cb3dee...4def797...
9 years, 9 months