문서의 선택한 두 판 사이의 차이를 보여줍니다.
양쪽 이전 판 이전 판 다음 판 | 이전 판 | ||
groovy:sql [2012/09/05 16:49] kwon37xi |
groovy:sql [2020/06/15 13:40] (현재) kwon37xi |
||
---|---|---|---|
줄 1: | 줄 1: | ||
====== Groovy SQL (Database) ====== | ====== Groovy SQL (Database) ====== | ||
- | * [[http://groovy.codehaus.org/Database+features|Groovy SQL Database Features]] | + | * [[http://docs.groovy-lang.org/latest/ |
- | * [[http:// | + | * [[http:// |
+ | ====== withInstance ====== | ||
+ | * close()를 할 필요가 없다. | ||
+ | <code groovy> | ||
+ | import groovy.sql.Sql | ||
+ | |||
+ | Sql.withInstance(URL, | ||
+ | // code | ||
+ | } | ||
+ | </ | ||
+ | |||
+ | ====== 참고 ====== | ||
+ | * [[http:// | ||
+ | * [[https:// |