Skip to content

Replace JPA/Hibernate by JDBC/JdbcTemplate #120

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
29 tasks done
php-coder opened this issue Jul 24, 2015 · 2 comments
Closed
29 tasks done

Replace JPA/Hibernate by JDBC/JdbcTemplate #120

php-coder opened this issue Jul 24, 2015 · 2 comments
Assignees
Labels
area/infrastructure impact/changelog This change should be reflected in the NEWS.txt file impact/deploy Manual actions will be required during deployment refactoring
Milestone

Comments

@php-coder
Copy link
Owner

php-coder commented Jul 24, 2015

  • Remove entities with their repositories:
    • Category
    • Collection
    • Country
    • Currency
    • GibbonsCatalog
    • Image
    • ImageData
    • MichelCatalog
    • ScottCatalog
    • Series
    • SuspiciousActivity
    • SuspiciousActivityType
    • User
    • UsersActivation
    • YvertCatalog
    • LocalizedEntity
    • MetaInfo
    • Price
    • StampsCatalog
  • Other:
    • remove Hibernate/JPA dependencies (don't forget about xml-apis)
    • remove settings from application.properties
    • remove src/main/resources/META-INF/persistence.xml
    • revise TestObjects helper
    • rename Dao interfaces (dao.JdbcFooDao -> dao.FooDao) and classes (dao.impl.JdbcFooDaoImpl -> dao.impl.FooDaoImpl)
    • update list of excluded auto configurations
    • measure speed improvements (run tests) and size of war
    • move constants from entities to Db class (?)
    • move classes from service.dto to dao.dto (cd src/main/java/ru/mystamps/web/dao; git grep -h service.dto |sort -u)
    • update README.md/NEWS.txt
php-coder added a commit that referenced this issue Sep 9, 2015
Addressed to #120

No functional changes.
php-coder added a commit that referenced this issue Sep 9, 2015
Addressed to #120

No functional changes.
php-coder added a commit that referenced this issue Sep 9, 2015
php-coder added a commit that referenced this issue Sep 11, 2015
php-coder added a commit that referenced this issue Sep 11, 2015
php-coder added a commit that referenced this issue Sep 11, 2015
…ace usage of Category entity.

Addressed to #120

No functional changes.
php-coder added a commit that referenced this issue Sep 11, 2015
…replace usage of Collection entity.

Addressed to #120

No functional changes.
php-coder added a commit that referenced this issue Sep 11, 2015
…e usage of Country entity.

Addressed to #120

No functional changes.
php-coder added a commit that referenced this issue Sep 13, 2015
php-coder added a commit that referenced this issue Sep 13, 2015
php-coder added a commit that referenced this issue Sep 13, 2015
php-coder added a commit that referenced this issue Sep 14, 2015
… of usage of User entity.

Addressed to #120

No functional changes.
php-coder added a commit that referenced this issue Sep 15, 2015
…to Integer.

Addressed to #120

No functional changes.
php-coder added a commit that referenced this issue Sep 15, 2015
… Integer.

Addressed to #120

No functional changes.
php-coder added a commit that referenced this issue Sep 15, 2015
…lection to Integer.

Addressed to #120

No functional changes.
php-coder added a commit that referenced this issue Sep 15, 2015
php-coder added a commit that referenced this issue Sep 17, 2015
php-coder added a commit that referenced this issue Sep 17, 2015
php-coder added a commit that referenced this issue Sep 21, 2015
… to String.

Addressed to #120

No functional changes.
php-coder added a commit that referenced this issue Oct 16, 2015
… AddUsersActivationDbDto.

Addressed to #120

No functional changes.
php-coder added a commit that referenced this issue Oct 17, 2015
…m UsersActivation to UsersActivationDto.

Addressed to #120

No functional changes.
php-coder added a commit that referenced this issue Oct 17, 2015
…ules.ACT_KEY_LENGTH.

Addressed to #120

No functional changes.
@php-coder php-coder self-assigned this Nov 25, 2015
php-coder added a commit that referenced this issue Dec 8, 2015
…le object.

Make view not aware of structure and type of the object (entity/dto/etc) and also allow to easy
determine where and what methods of the object were used.

Related to #120
php-coder added a commit that referenced this issue Dec 8, 2015
…e object.

Make view not aware of structure and type of the object (entity/dto/etc) and also allow to
easy determine where and what methods of the object were used.

Related to #120
php-coder added a commit that referenced this issue Dec 9, 2015
php-coder added a commit that referenced this issue Mar 15, 2016
Addressed to #120

No functional changes.
php-coder added a commit that referenced this issue Mar 20, 2016
@php-coder php-coder added the impact/deploy Manual actions will be required during deployment label Apr 9, 2016
php-coder added a commit that referenced this issue Apr 9, 2016
Addressed to #120

No functional changes.
php-coder added a commit that referenced this issue Apr 9, 2016
Removed last reference to User entity.

Addressed to #120

No functional changes.
php-coder added a commit that referenced this issue Apr 10, 2016
php-coder added a commit that referenced this issue Apr 16, 2016
php-coder added a commit that referenced this issue Apr 16, 2016
Addressed to #120

No functional changes.
php-coder added a commit that referenced this issue Apr 16, 2016
php-coder added a commit that referenced this issue Apr 16, 2016
php-coder added a commit that referenced this issue May 1, 2016
Addresed to #120

No functional changes.
php-coder added a commit that referenced this issue May 1, 2016
Addressed to #120

No functional changes.
php-coder added a commit that referenced this issue May 1, 2016
Addressed to #120

No functional changes.
php-coder added a commit that referenced this issue May 1, 2016
Addressed to #120

No functional changes.
php-coder added a commit that referenced this issue May 1, 2016
This change removes 16 JARs from dependencies and also makes WAR lighter on 8Mb. Also it
reduces startup time on about 2-3 seconds on my MacBook.

Addressed to #120

No functional changes.
php-coder added a commit that referenced this issue May 1, 2016
php-coder added a commit that referenced this issue May 2, 2016
…bcCategoryDao.

Addressed to #120

No functional changes.
php-coder added a commit that referenced this issue May 2, 2016
…ountryDao.

Addressed to #120

No functional changes.
php-coder added a commit that referenced this issue May 2, 2016
…and JdbcCollectionDao.

Addressed to #120

No functional changes.
php-coder added a commit that referenced this issue May 2, 2016
php-coder added a commit that referenced this issue May 2, 2016
… JdbcImageDataDao.

Addressed to #120

No functional changes.
php-coder added a commit that referenced this issue May 2, 2016
php-coder added a commit that referenced this issue May 2, 2016
php-coder added a commit that referenced this issue May 2, 2016
…sActivationDao and JdbcUsersActivationDao.

Addressed to #120

No functional changes.
php-coder added a commit that referenced this issue May 2, 2016
…s,Michel,Scott,Yvert}CatalogDao.

Addressed to #120

No functional changes.
php-coder added a commit that referenced this issue May 3, 2016
…guration classes.

Addressed to #120

No functional changes.
@php-coder
Copy link
Owner Author

The following changes for application-prod.properties are required:

@php-coder
Copy link
Owner Author

It's finally fixed!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/infrastructure impact/changelog This change should be reflected in the NEWS.txt file impact/deploy Manual actions will be required during deployment refactoring
Projects
None yet
Development

No branches or pull requests

1 participant