This file contains hidden or 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
| @Service | |
| public class JsonService{ | |
| private final String MyJSON = "C:/Put your file path here"; | |
| private List<Person> people = new ArrayList<Person>(); | |
| @Autowired | |
| public JsonService() { | |
| try { | |
| Path filePath = Path.of(MyJSON); |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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
| #documentation | |
| #https://w2.cleardb.net/faqs/#general_16 | |
| #Show the value of auto_increment variable, which start with 10 | |
| SHOW VARIABLES LIKE 'auto_inc%'; | |
| #Set the value to 1 | |
| SET @@auto_increment_increment=1; | |
| #If u want to make a certain table to start or jump over to a specific id do this |