emacarron / mybatis

Automatically exported from code.google.com/p/mybatis
0 stars 0 forks source link

Close InputStreamReader after read configuration files. #153

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
## org.mybatis.spring.SqlSessionFactoryBean

Reader reader = new InputStreamReader(configLocation.getInputStream());
and
Reader reader = new InputStreamReader(mapperLocation.getInputStream());

should close InputStream after finished reading configuration files.

Original issue reported on code.google.com by putthibo...@gmail.com on 22 Oct 2010 at 11:38

GoogleCodeExporter commented 9 years ago

Original comment by putthibo...@gmail.com on 22 Oct 2010 at 11:50

GoogleCodeExporter commented 9 years ago

Original comment by eduardo.macarron on 1 Jan 2011 at 4:41