forked from javabyranjith/spring-boot
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6747582
commit afa5d71
Showing
12 changed files
with
65 additions
and
92 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
.gradle/ | ||
gradle/ | ||
.settings/ | ||
target/ | ||
bin/ | ||
build/ | ||
**/META-INF/** | ||
.sts4-cache | ||
|
||
|
||
.project | ||
.classpath |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
### TOOLS & TECHNOLOGIES | ||
1. Eclipse/STS | ||
2. Java 1.8 | ||
3. MySQL | ||
|
||
### CONCEPTS/TOPICS COVERED | ||
1. JDBC CRUD operations | ||
|
||
### HOW TO RUN? | ||
1. Run As Boot Application |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 4 additions & 5 deletions
9
.../boot/SpringBootJdbcMysqlApplication.java → ...sboot/SpringBootJdbcMysqlApplication.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
sboot-jdbc-mysql/src/main/java/jbr/sboot/model/Product.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package jbr.sboot.model; | ||
|
||
import lombok.AllArgsConstructor; | ||
import lombok.Getter; | ||
import lombok.NoArgsConstructor; | ||
import lombok.Setter; | ||
import lombok.ToString; | ||
|
||
@Getter | ||
@Setter | ||
@AllArgsConstructor | ||
@NoArgsConstructor | ||
@ToString | ||
public class Product { | ||
private Integer id; | ||
private String name; | ||
private String category; | ||
private String price; | ||
} |
6 changes: 3 additions & 3 deletions
6
...r/spring/boot/service/ProductService.java → ...ava/jbr/sboot/service/ProductService.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
54 changes: 0 additions & 54 deletions
54
sboot-jdbc-mysql/src/main/java/jbr/spring/boot/model/Product.java
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
CREATE DATABASE IF NOT EXISTS springboot; | ||
CREATE TABLE springboot.product (id INTEGER, name VARCHAR(20), category VARCHAR(30), price VARCHAR(10)); |
16 changes: 0 additions & 16 deletions
16
sboot-jdbc-mysql/src/test/java/jbr/spring/boot/SpringBootJdbcMysqlApplicationTests.java
This file was deleted.
Oops, something went wrong.