Using the Generated Objects

MyBatis Generator (MBG) generates different types of objects depending on the runtime chosen (configured via the targetRuntime attribute on a <context>)

Runtime Comments Details
MyBatis3DynamicSql This is the default runtime. It is the recommended runtime for all new Java projects Details Page
MyBatis3Kotlin This is the recommended runtime for all Kotlin projects Details Page
MyBatis3 or MyBatis3Simple These are the original runtimes shipped with MyBatis Generator. These runtimes are in maintenance mode and will not be enhanced. Details Page
MyBatis3DynamicSqlV1 (deprecated) This was the original runtime for MyBatis Dynamic SQL. It is deprecated and will be removed in a future release. Please switch to the V2 runtime. Details Page