org.hotrod.runtime.livesql.LiveSQLMapper Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hotrod-livesql Show documentation
Show all versions of hotrod-livesql Show documentation
HotRod is an ORM for Java, Spring and SpringBoot.
package org.hotrod.runtime.livesql;
import java.util.List;
import java.util.Map;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;
import org.apache.ibatis.cursor.Cursor;
@Mapper
public interface LiveSQLMapper {
@Select("${sql}")
public List select(Map parameters);
@Select("${sql}")
public Cursor selectCursor(Map parameters);
@Delete("${sql}")
public void delete(Map parameters);
@Update("${sql}")
public void update(Map parameters);
@Update("${sql}")
public void insert(Map parameters);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy