Interface AwfulTableMapper
public interface AwfulTableMapper
-
Method Summary
Modifier and TypeMethodDescriptionlongcountByExample(AwfulTableExample example) This method was generated by MyBatis Generator.intdeleteByExample(AwfulTableExample example) This method was generated by MyBatis Generator.intThis method was generated by MyBatis Generator.intinsert(AwfulTable row) This method was generated by MyBatis Generator.intThis method was generated by MyBatis Generator.selectByExample(AwfulTableExample example) This method was generated by MyBatis Generator.This method was generated by MyBatis Generator.intupdateByExample(AwfulTable row, AwfulTableExample example) This method was generated by MyBatis Generator.intupdateByExampleSelective(AwfulTable row, AwfulTableExample example) This method was generated by MyBatis Generator.intThis method was generated by MyBatis Generator.intThis method was generated by MyBatis Generator.
-
Method Details
-
countByExample
This method was generated by MyBatis Generator. This method corresponds to the database table awful table -
deleteByExample
This method was generated by MyBatis Generator. This method corresponds to the database table awful table -
deleteByPrimaryKey
@Delete({"delete from \"awful table\"","where \"CuStOmEr iD\" = #{customerId,jdbcType=INTEGER}"}) int deleteByPrimaryKey(AwfulTableKey key) This method was generated by MyBatis Generator. This method corresponds to the database table awful table -
insert
@Insert({"insert into \"awful table\" (\"first name\", FIRST_NAME, ","FIRSTNAME, \"last name\", ","E_MAIL, \"_id1\", \"$id2\", ","\"id5_\", \"id6$\", \"id7$$\", ","EMAILADDRESS, \"from\", ","ACTIVE, ACTIVE1, ACTIVE2, ","CLASS)","values (#{firstFirstName,jdbcType=VARCHAR}, #{secondFirstName,jdbcType=VARCHAR}, ","#{thirdFirstName,jdbcType=VARCHAR}, #{lastName,jdbcType=VARCHAR}, ","#{eMail,jdbcType=VARCHAR}, #{id1,jdbcType=INTEGER}, #{id2,jdbcType=INTEGER}, ","#{id5,jdbcType=INTEGER}, #{id6,jdbcType=INTEGER}, #{id7,jdbcType=INTEGER}, ","#{emailaddress,jdbcType=VARCHAR}, #{from,jdbcType=VARCHAR}, ","#{active,jdbcType=BIT}, #{active1,jdbcType=BOOLEAN}, #{active2,jdbcType=BIT}, ","#{dbClass,jdbcType=VARCHAR})"}) @SelectKey(statement="CALL IDENTITY()", keyProperty="customerId", before=false, resultType=java.lang.Integer.class) int insert(AwfulTable row) This method was generated by MyBatis Generator. This method corresponds to the database table awful table -
insertSelective
This method was generated by MyBatis Generator. This method corresponds to the database table awful table -
selectByExample
This method was generated by MyBatis Generator. This method corresponds to the database table awful table -
selectByPrimaryKey
@Select({"select","A.\"CuStOmEr iD\" as \"A_CuStOmEr iD\", A.\"first name\" as \"A_first name\", ","A.FIRST_NAME as A_FIRST_NAME, A.FIRSTNAME as A_FIRSTNAME, A.\"last name\" as \"A_last name\", ","A.E_MAIL as A_E_MAIL, A.\"_id1\" as \"A__id1\", A.\"$id2\" as \"A_$id2\", A.\"id5_\" as \"A_id5_\", ","A.\"id6$\" as \"A_id6$\", A.\"id7$$\" as \"A_id7$$\", A.EMAILADDRESS as A_EMAILADDRESS, ","A.\"from\" as \"A_from\", A.ACTIVE as A_ACTIVE, A.ACTIVE1 as A_ACTIVE1, A.ACTIVE2 as A_ACTIVE2, ","A.CLASS as A_CLASS","from \"awful table\" A","where \"CuStOmEr iD\" = #{customerId,jdbcType=INTEGER}"}) @ResultMap("mbg.test.mb3.generated.mixed.hierarchical.mapper.AwfulTableMapper.BaseResultMap") AwfulTable selectByPrimaryKey(AwfulTableKey key) This method was generated by MyBatis Generator. This method corresponds to the database table awful table -
updateByExampleSelective
int updateByExampleSelective(@Param("row") AwfulTable row, @Param("example") AwfulTableExample example) This method was generated by MyBatis Generator. This method corresponds to the database table awful table -
updateByExample
This method was generated by MyBatis Generator. This method corresponds to the database table awful table -
updateByPrimaryKeySelective
This method was generated by MyBatis Generator. This method corresponds to the database table awful table -
updateByPrimaryKey
@Update({"update \"awful table\"","set \"first name\" = #{firstFirstName,jdbcType=VARCHAR},","FIRST_NAME = #{secondFirstName,jdbcType=VARCHAR},","FIRSTNAME = #{thirdFirstName,jdbcType=VARCHAR},","\"last name\" = #{lastName,jdbcType=VARCHAR},","E_MAIL = #{eMail,jdbcType=VARCHAR},","\"_id1\" = #{id1,jdbcType=INTEGER},","\"$id2\" = #{id2,jdbcType=INTEGER},","\"id5_\" = #{id5,jdbcType=INTEGER},","\"id6$\" = #{id6,jdbcType=INTEGER},","\"id7$$\" = #{id7,jdbcType=INTEGER},","EMAILADDRESS = #{emailaddress,jdbcType=VARCHAR},","\"from\" = #{from,jdbcType=VARCHAR},","ACTIVE = #{active,jdbcType=BIT},","ACTIVE1 = #{active1,jdbcType=BOOLEAN},","ACTIVE2 = #{active2,jdbcType=BIT},","CLASS = #{dbClass,jdbcType=VARCHAR}","where \"CuStOmEr iD\" = #{customerId,jdbcType=INTEGER}"}) int updateByPrimaryKey(AwfulTable row) This method was generated by MyBatis Generator. This method corresponds to the database table awful table
-