알쓸전컴(알아두면 쓸모있는 전자 컴퓨터)
생각 보다 복잡 하여 생각을 정리하고자 자료를 작성함. 기본적으로 Spring security Data Flow 의 기본을 알고 있다는 바탕하에 자료를 작성함. Principal 은 인증한 유저의 정보를 담고 있는 객체 1. Principle 을 만들어 준다. @Data public class Userinfo { private String uid; private String userName; private String groupName; private Integer role1; String jwttoken; String password; } public class UserinfoAdapter extends User { private Userinfo userinfo; public UserinfoAdapte..
@Transactional public interface FcubeScheduledSupport1In { void fcubeupdateandhistorysave(Fcube item); } @Transactional public class FcubeScheduledSupport1{ public void fcubeupdateandhistorysave(Fcube item){ //select for update 구문 } } @Transactional public void fcubeupdateandhistorysave(Fcube item){ //select for update 부분 } 해당 Transactional 어노테이션 사용시 mysql 에 select * from table where name ..
https://quicktype.io/ Convert JSON to Swift, C#, TypeScript, Objective-C, Go, Java, C++ and more • quicktype { "people": [ { "name": "Atticus", "high score": 100 }, { "name": "Cleo", "high score": 900 }, { "name": "Orly" }, { "name": "Jasper" } ] } Provide sample JSON files, URLs, JSON schemas, or GraphQL queries. quicktype.io 상당히 유용하여 올립니다.