IT개발자의 월세방 || Developer's Gyang blog

Sources

Posts

16 posts

[MySQL] Stored Procedure 의 변수명 주의 (one reaso

MySQL Store Procedure를 생성할때, 변수명 설정을 중복으로 하여 return 값이 계속 null이 발생. [문제가 된 생성 쿼리]12345678910/*This stored procedure will return null acause OUT parameter name(room_id) and SELECT Query column name(room_id) are same. */CREATE DEFINER=`test123`@`%` PROCEDURE `ROOM_ID_PROCEDURE`(OUT room_id varchar(45))BEGIN SELECT room_id FROM room_info INTO room_id;ENDColored by Color Scriptercs OUT 파라미터로

IntelliJ Can't resolve Q Class(QueryDSL) // 인텔리J, QClass(QueryDSL)을 못 찾을때

IntelliJ Can't resolve Q Class(QueryDSL). (Cannot import, Cannot build) I use IntelliJ, and it can't resolve(import) Q Class in my projects, even though Classes are generated by gradle. My thing can't find it. I spent many hours and finally I solved it after remove Query DSL genarated folder in .gitignore. I don't know why but after remove it in .gitignore file and rebuild, IntelliJ found it.

could not resolve placeholder in value (UnsatisfiedDependencyException)

어플리케이션 기동 시 "could not resolve placeholder in value" 라며 UnsatisfiedDependencyException - BeanCreationException 이 발생할 때가 있다. 특정 필드에 의존주입이 실패해서 생기는 문제로, 해당 필드에 주입되어야 할 값들이 설정 파일(*.properties, *.xml 등)에 정의되지 않거나 설정 파일 경로가 잘못 되었을 경우 해당 문제가 발생 할 수 있다. maven을 사용할 경우, pom.xml의 부분에 설정된 경로값이 정상적인지, 정상 설정 되었다면 해당 설정 파일안에 값 정의가 제대로 되어 있는지 확인이 필요하다. 참고1>https://dololak.tistory.com/545참

window.open 객체에 대한 통신 (window.postMessage) - window.open으로 열린 창이 정상적으로 열렸는지 확인

window.open으로 열은 새창이 정상적으로 Load가 되었는지 체크하고, 완료 되었을 경우 계산이 되게끔 하려고 함. 123456789 Colored by Color Scriptercs 하지만... 이렇게 하려면 프로토콜(http, https 등), 호스트네임(hostname), 포트(port) 세가지 모두 동일해야 가능하다고 한다...

[Meteor] mainModule 설정 (파일 로드가 main.js 빼곤 안될때...)

[Meteor] mainModule 설정 (파일 로드가 main.js 빼곤 안될때...)

Meteor 프레임워크는 아래와 같이 파일이 로드 된다고 하는데... HTML template files are always loaded before everything elseFiles beginning with main. are loaded lastFiles inside any lib/ directory are loaded nextFiles with deeper paths are loaded nextFiles are then loaded in alphabetical order of the entire path 아무리 해도 난 새로 생성한 프로젝트에서 lib 폴더 또는 server 폴더 안의 파일들이 로드가 안되었다... 몇시간을 원일을 찾다가... 발견한 이유가... package.json 이었다.