- 작은자바이야기 . . . . 4 matches
* DriverManager 클래스를 사용하면 직접 driver를 가져와서 connection을 얻어오지 않아도 바로 connection을 얻어올 수 있다. 이렇게 추상화를 해준 것이 DataSource 클래스.
* DataSource와 DriverManager의 차이
* DataSource가 DriverManager보다 많은 설정을 해줄 수 있음(많은 set함수 제공)
* DataSource가 더 확장 가능한 형태
- ProjectPrometheus/CookBook . . . . 3 matches
<res-type>javax.sql.DataSource</res-type>
DataSource source = ( DataSource )( env.lookup( "jdbc/zeropage" ) );
Found 2 matching pages out of 7540 total pages (5000 pages are searched)
You can also click here to search title.