这个文件贴出来
服务器是linux?应该是:
SqlSessionFactory
DataSource dataSource = BlogDataSourceFactorygetBlogDataSource();
TransactionFactory transactionFactory = new JdbcTransactionFactory();
Environment environment = new Environment("development", transactionFactory, dataSource);
Configuration configuration = new Configuration(environment);
configurationaddMapper(BlogMapperclass);
SqlSessionFactory sqlSessionFactory = new SqlSessionFactoryBuilder()build(configuration);
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)