e3ab793fe8cedb1061fea4edd9ed06816a389806
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 59
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method public buildMetamodel(mappingMetadata MetadataImplementor, sessionFactory SessionFactoryImplementor, jpaMetaModelPopulationSetting JpaMetaModelPopulationSetting) : MetamodelImpl renamed to public initialize(mappingMetadata MetadataImplementor, jpaMetaModelPopulationSetting JpaMetaModelPopulationSetting) : void in class org.hibernate.metamodel.internal.MetamodelImpl | From | To | |
Change Parameter Type | 1 | ||
Change Parameter Type persister : AbstractEntityPersister to persister : EntityPersister in method public EntityMetamodel(persistentClass PersistentClass, persister EntityPersister, sessionFactory SessionFactoryImplementor) in class org.hibernate.tuple.entity.EntityMetamodel | From | To | |
Change Return Type | 2 | ||
Change Return Type QueryParameterBindingImpl to QueryParameterBinding in method protected makeBinding(queryParameter QueryParameter) : QueryParameterBinding in class org.hibernate.query.internal.QueryParameterBindingsImpl | From | To | |
Change Return Type MetamodelImpl to void in method public initialize(mappingMetadata MetadataImplementor, jpaMetaModelPopulationSetting JpaMetaModelPopulationSetting) : void in class org.hibernate.metamodel.internal.MetamodelImpl | From | To | |
Move Attribute | 3 | ||
Move Attribute private transactionType : PersistenceUnitTransactionType from class org.hibernate.internal.SessionImpl to private transactionType : PersistenceUnitTransactionType from class org.hibernate.internal.AbstractSharedSessionContract | From | To | |
Move Attribute private connectionHandlingMode : PhysicalConnectionHandlingMode from class org.hibernate.internal.SessionImpl to private connectionHandlingMode : PhysicalConnectionHandlingMode from class org.hibernate.internal.AbstractSharedSessionContract | From | To | |
Move Attribute private synchronizationType : SynchronizationType from class org.hibernate.internal.SessionImpl to private synchronizationType : SynchronizationType from class org.hibernate.internal.AbstractSharedSessionContract | From | To | |
Replace Variable With Attribute | 1 | ||
Replace Variable With Attribute entityToCollectionRoleMap : Map<String,Set<String>> to collectionRolesByEntityParticipant : Map<String,Set<String>> in method public initialize(mappingMetadata MetadataImplementor, jpaMetaModelPopulationSetting JpaMetaModelPopulationSetting) : void in class org.hibernate.metamodel.internal.MetamodelImpl | From | To | |
Rename Attribute | 4 | ||
Rename Attribute entityTypesByEntityName : Map<String,EntityTypeImpl<?>> to jpaEntityTypesByEntityName : Map<String,EntityTypeImpl<?>> in class org.hibernate.metamodel.internal.MetamodelImpl | From | To | |
Rename Attribute embeddables : Map<Class<?>,EmbeddableTypeImpl<?>> to jpaEmbeddableTypeMap : Map<Class<?>,EmbeddableTypeImpl<?>> in class org.hibernate.metamodel.internal.MetamodelImpl | From | To | |
Rename Attribute mappedSuperclassTypeMap : Map<Class<?>,MappedSuperclassType<?>> to jpaMappedSuperclassTypeMap : Map<Class<?>,MappedSuperclassType<?>> in class org.hibernate.metamodel.internal.MetamodelImpl | From | To | |
Rename Attribute entities : Map<Class<?>,EntityTypeImpl<?>> to jpaEntityTypeMap : Map<Class<?>,EntityTypeImpl<?>> in class org.hibernate.metamodel.internal.MetamodelImpl | From | To | |
Extract Variable | 1 | ||
Extract Variable bindType : Type in method public collectNamedParameterBindings() : Map<String,TypedValue> from class org.hibernate.query.internal.QueryParameterBindingsImpl | From | To | |
Change Variable Type | 3 | ||
Change Variable Type entry : Map.Entry<QueryParameter,QueryParameterBinding> to entry : Map.Entry<Integer,QueryParameterBinding> in method public collectPositionalBindValues() : Object[] in class org.hibernate.query.internal.QueryParameterBindingsImpl | From | To | |
Change Variable Type sourceParam : QueryParameterNamedImpl to sourceParam : NamedParameterDescriptor in method public expandListValuedParameters(queryString String, session SharedSessionContractImplementor) : String in class org.hibernate.query.internal.QueryParameterBindingsImpl | From | To | |
Change Variable Type entry : Map.Entry<QueryParameter,QueryParameterBinding> to entry : Map.Entry<Integer,QueryParameterBinding> in method public collectPositionalBindTypes() : Type[] in class org.hibernate.query.internal.QueryParameterBindingsImpl | From | To | |
Extract Method | 11 | ||
Extract Method protected makeBinding(bindType Type) : QueryParameterBinding extracted from protected makeBinding(queryParameter QueryParameter) : QueryParameterBindingImpl in class org.hibernate.query.internal.QueryParameterBindingsImpl | From | To | |
Extract Method public getFlushMode(value Object, defaultFlushMode FlushMode) : FlushMode extracted from public getFlushMode(value Object) : FlushMode in class org.hibernate.jpa.internal.util.ConfigurationHelper | From | To | |
Extract Method protected getPositionalParameterTypes() : Type[] extracted from public getQueryParameters() : QueryParameters in class org.hibernate.query.internal.AbstractProducedQuery | From | To | |
Extract Method protected getPositionalParameterValues() : Object[] extracted from public getQueryParameters() : QueryParameters in class org.hibernate.query.internal.AbstractProducedQuery | From | To | |
Extract Method protected doList() : List<R> extracted from public list() : List<R> in class org.hibernate.query.internal.AbstractProducedQuery | From | To | |
Extract Method protected doExecuteUpdate() : int extracted from public executeUpdate() : int in class org.hibernate.query.internal.AbstractProducedQuery | From | To | |
Extract Method protected makeBinding(bindType Type) : QueryParameterBinding extracted from public expandListValuedParameters(queryString String, session SharedSessionContractImplementor) : String in class org.hibernate.query.internal.QueryParameterBindingsImpl | From | To | |
Extract Method protected getNamedParameterMap() : Map<String,TypedValue> extracted from public getQueryParameters() : QueryParameters in class org.hibernate.query.internal.AbstractProducedQuery | From | To | |
Extract Method private collectPositionalParameterBindings() : TreeMap<Integer,QueryParameterBinding> extracted from public collectPositionalBindTypes() : Type[] in class org.hibernate.query.internal.QueryParameterBindingsImpl | From | To | |
Extract Method private collectPositionalParameterBindings() : TreeMap<Integer,QueryParameterBinding> extracted from public collectPositionalBindValues() : Object[] in class org.hibernate.query.internal.QueryParameterBindingsImpl | From | To | |
Extract And Move Method | 2 | ||
Extract And Move Method public getSynchronizationType() : SynchronizationType extracted from public getSynchronizationType() : SynchronizationType in class org.hibernate.internal.SessionImpl & moved to class org.hibernate.internal.AbstractSharedSessionContract | From | To | |
Extract And Move Method public getTransactionType() : PersistenceUnitTransactionType extracted from public getTransactionType() : PersistenceUnitTransactionType in class org.hibernate.internal.SessionImpl & moved to class org.hibernate.internal.AbstractSharedSessionContract | From | To |