Skip to content

Conversation

@schauder
Copy link
Contributor

Replaced the direct use of EntityInstantiator with EntityInstantiators.
Moved it into the MappingContext because instantiation is part of the mapping process.

Copy link
Member

@mp911de mp911de left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I left a comment about the direction of dependencies.

@Getter private SimpleTypeHolder simpleTypeHolder;
private GenericConversionService conversions = getDefaultConversionService();
@Setter
private EntityInstantiators instantiators = new EntityInstantiators();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

EntityInstantiators is a type from the conversion subsystem, it should rather be held in a type residing in the .core.conversion package. How about moving this field to DefaultDataAccessStrategy?

@schauder schauder force-pushed the issue/DATAJDBC-102 branch from 64770d3 to 5a0c5c2 Compare May 23, 2018 06:54
schauder added 4 commits June 1, 2018 11:09
Execute Hsql specific integration test only with Hsql.
Replaced the direct use of EntityInstantiator with EntityInstantiators. Moved it into the MappingContext because instantiation is part of the mapping process.
…faultDataAccessStrategy and EntityRowMapper.
@schauder schauder force-pushed the issue/DATAJDBC-102 branch from 5a0c5c2 to 64ce22c Compare June 1, 2018 09:22
@schauder
Copy link
Contributor Author

schauder commented Jun 1, 2018

@mp911de made the requested changes and rebased to the current master.

mp911de pushed a commit that referenced this pull request Jun 4, 2018
Replaced the direct use of EntityInstantiator with EntityInstantiators. Moved it into the MappingContext because instantiation is part of the mapping process. Original pull request: #68.
mp911de pushed a commit that referenced this pull request Jun 4, 2018
Execute Hsql specific integration test only with Hsql. Original pull request: #68.
mp911de added a commit that referenced this pull request Jun 4, 2018
Pull entity instantiation into a single method. Original pull request: #68.
@mp911de
Copy link
Member

mp911de commented Jun 4, 2018

That's merged and polished now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants