34 Commits
Author SHA1 Message Date
Chukwuka Onyekachukwu Victor e10e20a24b Added a new Class and few test cases to the core-java-modules (#11867)
* added a new project: hexagonal architecture

* Added some test cases for the project

* Added a new project to demo the error: variable might not have been initialized

* Added a new Class to the core-java-modules

* Added a New Class to the core-java-module
2022-02-27 12:33:39 -08:00
wugangcaandGang Wu 9461caeb27 BAEL-5205 Adding a column to an Excel file using Apache POI (#11491)
* BAEL-5205 Adding a column to an Excel file using Apache POI

* BAEL-5205 move the test xls file into the test folder

Co-authored-by: Gang Wu <[email protected]>
2021-11-28 09:51:13 -06:00
Gang Wu 2096c22d43 BAEL-4453 Reversing a Linked List in Java 2020-09-12 16:50:40 -06:00
Gang Wu 38f62ad24d BAEL-3961 move the sql string into a new line to improve readability. 2020-04-22 22:36:18 -06:00
Gang Wu 8985f601a7 BAEL-3961 move the sql string into a new line to improve readability. 2020-04-22 22:15:54 -06:00
Gang Wu c68c7648a3 BAEL-3961 Remove address field of Employee class. 2020-04-18 12:48:37 -06:00
Gang Wu 78e180f35d BAEL-3961 Make the program more robust by only create the table when necessary and clean all data in the temp table. 2020-04-14 19:23:11 -06:00
Gang Wu 63027fd269 BAEL-3961 Using a list of values in a JDBCTemplate IN clause 2020-04-14 00:43:27 -06:00
Gang Wu ff87d3ecc2 BAEL-3069 Remove final keyword, add more empty lines for readability. 2020-03-23 22:00:55 -06:00
Gang Wu 05e79680cf BAEL-3069 Remove git ignore file, add the new module name to the parent pom file. 2020-03-21 20:58:04 -06:00
Gang Wu 9f3c94929a BAEL-3069 Rename the folder name to spring-persistence-simple-2 2020-03-21 11:57:30 -06:00
Gang Wu c986147850 BAEL-3069 Spring jdbcTemplate Unit Testing. Create a new module for this article. 2020-03-21 11:50:07 -06:00
Gang Wu 5e97741b07 Revert "BAEL-3069 Spring jdbcTemplate Unit Testing"
This reverts commit d4a928cdfa.
2020-03-21 11:29:55 -06:00
Gang Wu d4a928cdfa BAEL-3069 Spring jdbcTemplate Unit Testing 2020-03-16 01:01:01 -06:00
Gang Wu 5aa207a2e1 Fix integration build by comment out the MySQL settings. 2020-03-13 20:31:43 -06:00
Gang Wu 7da495a37a Merge branch 'master' of https://github.com/eugenp/tutorials 2020-03-13 20:21:27 -06:00
Gang Wu 983b058033 Merge branch 'master' of https://github.com/eugenp/tutorials 2020-03-07 12:21:19 -07:00
Gang Wu c1124dc92c BAEL-3737 Put more examples on procedure reference and move the project to persistence-modules/spring-data-jpa-4/ 2020-02-25 00:01:04 -07:00
Gang Wu 3e23e57cb7 BAEL-3657 Move the unit test to the merge package 2020-02-11 22:13:56 -07:00
Gang Wu cdcca2cb65 Merge branch 'master' of https://github.com/eugenp/tutorials 2020-02-11 21:59:58 -07:00
Gang Wu 88a4663190 BAEL-3737 Calling Stored Procedures from Spring Data JPA Repositories 2020-02-09 20:58:12 -07:00
Gang 9ee48b0e81 BAEL-3657 Merge Cells in Excel using Apache POI 2020-01-19 23:46:23 -07:00
Gang be324f6d09 BAEL-3656 Fix typos in the unit test names. 2020-01-08 20:07:32 -07:00
Gang f484bcb498 BAEL-3656 Change the integration test into unit test. 2020-01-05 00:19:49 -07:00
Gang 7de715c611 BAEL-3656 Read Numeric Strings in Excel Cells as a String with Apache POI 2020-01-01 21:34:48 -07:00
Gang 103b04cb8e BAEL-3406, refactor Kruskal algorithm by using more classes. 2019-12-22 18:53:01 -07:00
Gang 0df902da92 BAEL-3406 Kruskal’s Algorithm for Spanning Trees 2019-12-16 23:46:22 -07:00
wugangca d0a9b57694 BAEL-3418 Check If Two Strings Are Anagrams in Java (#8139)
* BAEL-3418 Check If Two Strings Are Anagrams in Java

* BAEL-3418 Update code based on code review feedback.

* BAEL-3418 Update comments and rename constant based on code review feedback.

* Move the repository to core-java-modules/core-java-string-algorithms-3/

* BAEL-3418 Only support alpha characters for the anagram

* BAEL-3418 use preprocess in a separate method

* BAEL-3418 Remove the temp variables
2019-12-07 20:35:19 +00:00
wugangca a0cbfa3b06 BAEL-2988 Move the code from spring-rest-simple to spring-mvc-simple-… (#7914)
* BAEL-2988 Move the code from spring-rest-simple to spring-mvc-simple-2, based on the review feedback.

* BAEL-2988 revert previous changes in the spring-rest-simple
2019-10-04 07:30:54 -05:00
wugangca cc23ac598a BAEL-2988 Make the code consistent with the article. (#7870)
* BAEL-2988 Make the code consistent with the article.

* BAEL-2988 Use @GetMapping annotation based on the feedback.
2019-09-26 22:25:57 -05:00
wugangca dac59fbec2 BAEL-2988 Using Enums as Request Parameters in Spring (#7815)
* BAEL-2988 Using Enums as Request Parameters in Spring

* Remove the unused annotation based on PR feedback

* Simplify code based on the PR feedback

* Make the methods consistent with the article.
2019-09-22 21:23:27 -05:00
wugangca f24fef9ec6 [BAEL-3210] - Java Copy Constructor (#7706)
* [BAEL-3210] - Copy constructors in Java

* [BAEL-3210] - Copy constructors in Java

* Change indentation space based on code style instructions.
2019-09-07 10:17:33 +01:00
Gang 2796491d84 Add @Test annotation 2019-08-25 11:13:21 -06:00
Gang 0630b2dffc BAEL-3146 Source code for article: Checked and Unchecked Exceptions in Java 2019-08-20 22:53:05 -06:00