Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <environments default="development">
- <environment id="development">
- <transactionManager type="JDBC">
- <dataSource type="POOLED">
- <property name="driver" value="com.mysql.jdbc.Driver" />
- <property name="url" value="jdbc:mysql://localhost:3306/HelloWorld" />
- <property name="username" value="root" />
- <property name="password" value="" />
- </dataSource>
- </transactionManager>
- </environment>
- </environments>
- <mappers>
- <mapper resource=""/>
- </mappers>
- if(sqlSessionFactory != null){
- System.out.println(":::: creacion exitosa");
- }else{
- System.out.println(":::: fallo la creacion");
- }
- }
Add Comment
Please, Sign In to add comment