package com.anbtech.anbframe.anbweb.dao;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.stereotype.Repository;

@Repository
public class SampleDAO {

	@Autowired
	private JdbcTemplate jdbcTemplate;
	/**
	 * 접속확인용 시간확인 메서드
	 *
	 * @return the db time now
	 */
	public String getDbTimeNow(){
		String sql = "SELECT sysdate FROM DUAL";
		return jdbcTemplate.queryForObject(sql,String.class);
	}
	
}

@@ -313,16 +313,22 @@
  %EB%A9%94%EC%84%9C%EB%93%9C%0A%09 *
+ %5B%EC%88%98%EC%A0%95%5D 
 %0A%09 * @re

변경처리 테스트