I'm a beginner and haven't used MyBatis before and decided to start by working through the MyBatis getting started guide on the official Github site: http://mybatis.github.io/mybatis-3/getting-started.html
However, I ran into some trouble early on and I was hoping it is something simple that someone can help me with. Specifically, I'm stuck trying to do the example under the header "Building SqlSessionFactory without XML". The example is as follows:
If you prefer to directly build the configuration from Java, rather
than XML, or create your own configuration builder, MyBatis provides a
complete Configuration class that provides all of the same
configuration options as the XML file.
DataSource dataSource = BlogDataSourceFactory.getBlogDataSource();
TransactionFactory transactionFactory = new JdbcTransactionFactory();
Environment environment = new Environment("development", transactionFactory, dataSource);
Configuration configuration = new Configuration(environment);
SqlSessionFactory sqlSessionFactory = new SqlSessionFactoryBuilder().build(configuration);
Well, I'm not sure if I should delete this question, but basically the answer from maba in the comments seems to be right. I misinterpreted the documentation to mean that BlogMapper was an implemented example provided in the library, but that doesn't seem to be the case, and the implementation of it is left up to the reader.