프로젝트/Spring(4)
-
jquery function(함수) 만드는 법
https://joke00.tistory.com/247
2020.06.15 -
mybatis 에서 like 쓰기
mybatis Doc 에 like 를 치면 나오긴 하지만, 이는 oracle 기준이라, mysql에서 쓰면 먹히질 않는다. https://mybatis.org/mybatis-3/java-api.html mybatis – MyBatis 3 | Java API Java API Now that you know how to configure MyBatis and create mappings, you're ready for the good stuff. The MyBatis Java API is where you get to reap the rewards of your efforts. As you'll see, compared to JDBC, MyBatis greatly simplifies your code and..
2020.06.07 -
mybatis 3.0부터는 daoimpl이 필요가 없다.
Dao(PatientMapper) interface 에 1. @Mapper annotation 달아주고 2. xml namespace 에 PatientMapper interface 위치를 넣고 3. 각 추상클래스 이름과 타입을 맞춰주면 굳이 Sqlsession 을 쓰지 않아도 sql 문과 매핑할수있다!
2020.06.01 -
mybatis xml 에서 sql에 >,& 를 사용하는 방법
where su < data 같은 "
2020.06.01