@CacheNamespace
public interface AttributeEntityMapper
| Modifier and Type | Method and Description | 
|---|---|
int | 
createTable()  | 
int | 
delete(AttributeEntity attribute)  | 
int | 
insert(AttributeEntity attribute)  | 
List<AttributeEntity> | 
selectAll()  | 
int | 
update(AttributeEntity attribute)  | 
@Select(value="SELECT * FROM SoaAttributes") List<AttributeEntity> selectAll()
@Update(value="CREATE TABLE SoaAttributes (fKEY VARCHAR(255) NOT NULL, fSCOPE VARCHAR(255) NOT NULL, fVALUE VARCHAR(65535), fTIMESTAMP VARCHAR(255) NOT NULL, PRIMARY KEY (fKEY, fSCOPE))") int createTable()
@Insert(value="INSERT INTO SoaAttributes (fKEY, fSCOPE, fVALUE, fTIMESTAMP) VALUES (#{fKEY}, #{fSCOPE}, #{fVALUE}, #{fTIMESTAMP})")
int insert(AttributeEntity attribute)
@Update(value="UPDATE SoaAttributes SET fVALUE = #{fVALUE} WHERE fKEY = #{fKEY} AND fSCOPE = #{fSCOPE}")
int update(AttributeEntity attribute)
@Delete(value="DELETE FROM SoaAttributes WHERE fKEY = #{fKEY} AND fSCOPE = #{fSCOPE}")
int delete(AttributeEntity attribute)
Copyright © 2014–2016 Soabase. All rights reserved.