Class MyBatisCreator

java.lang.Object
mocka.generator.orm.AbstractCreator
mocka.generator.orm.mybatis.MyBatisCreator
All Implemented Interfaces:
ORMResolver

@Component public class MyBatisCreator extends AbstractCreator implements ORMResolver
Creates and populates MyBatis entity instances with generated data. This creator handles MyBatis-specific entity creation including:
  • Basic field value generation using MyBatisFieldValueGenerator
  • xml association handling
  • Circular reference prevention through visited path tracking

Collection Size Configuration:

The number of elements generated for collection associations is configured through ORMProperties.getAssociationSize().
See Also: