// QueryController.java@AuthMethod(hasAuth = CommonUtil.UserAuth.ALL)@RequestMapping(value = "/executeQuery")@Transactional(readOnly = true, timeout = 30)public ModelAndView executeQuery(@RequestBody Query query) throws GlobalException {int query_timeout = 10;List timeoutCodeValue = commonService.selectCodeList("ddlb.selectCodeList", new TypeCode("query_timeout"));if (timeoutCodeValue != null &&..
@Data@Configuration@ConfigurationProperties(prefix="smtp")public class SMTPConfig {private String host;private String port;private Boolean auth;private Boolean startTLSEnable;private String user;private String password;/**--------------------------------------------------------------------* ■서비스 등록--------------------------------------------------------------------**/@Beanpublic JavaMailSender g..
@Componentpublic class ServiceInit implements InitializingBean {@Autowired@Qualifier("mainDB")private GenericDAO dao;@AutowiredProperty property;@Overridepublic void afterPropertiesSet() throws Exception {HashMap map = new HashMap();map.put("location", Property.location);map.put("bosTypeCode", Property.bosTypeCode);map.put("serverDomain", Property.serverDomain);System.out.println("++++++++++++++..
@Configurationpublic class ServiceConfig implements WebMvcConfigurer {@Value("${static.url}")private String staticUrl;@Value("${static.resources.location}")private String staticResourcesLocation;@Beanpublic SpringResourceTemplateResolver templateResolver() {SpringResourceTemplateResolver templateResolver = new SpringResourceTemplateResolver();templateResolver.setPrefix("classpath:templates/");te..
/* AOP 설정(I/O 로깅) */@Aspect@Componentpublic class ServiceAOP { private static final Logger logger = LoggerFactory.getLogger("AOP"); @Pointcut("within(com.shinhanpg.admin.backoffice..controller.*)") // 서비스까지 AOP 설정하는 경우 // @Pointcut("within(com.shinhanpg.admin.backoffice..*)") public void controllerPointcut() { } @Pointcut("within(com.shinhanpg.admin.backoffice..service.*) && !(@annotation(com.sh..
@Configurationpublic class RedisConfig {@Value("${redis.cluster.nodes}")List redisNodeList;@Beanpublic RedisTemplate redisTemplate(RedisConnectionFactory connectionFactory) {RedisTemplate redisTemplate = new RedisTemplate();redisTemplate.setKeySerializer(new StringRedisSerializer());redisTemplate.setValueSerializer(new GenericJackson2JsonRedisSerializer());redisTemplate.setConnectionFactory(conn..
public class PropertiesCheck {private static final Logger log = LoggerFactory.getLogger(PropertiesCheck.class);String DEV = "dev";String TST = "tst";String PRD = "prd";HashMap properties = new HashMap();public static void main(String[] args) throws IOException {PropertiesCheck im = new PropertiesCheck();im.check();}private void check() throws IOException {loadProperties(DEV);loadProperties(TST);..
- Total
- Today
- Yesterday
- $.each
- lombok
- 전후방탐색
- Keycode
- $.extend
- border-collapse
- devtools
- 프로젝트명변경
- QueryDSL
- object key
- springboot
- 정규식
- 진열사랑
- 여러 컬럼 update
- @ExceptionHandler
- caniuse
- oracle
- PostgreSQL
- element위치
- sumifs
- setter
- ul li로 테이블
- spring
- excel
- draw.io
- getter
- JQuery
- DatePicker
- Javascript
- CSS
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |