Static sql

add static sql type mapping support