When the syntax of an SQL statement is fully known at compiletime, the statement is referred to as static SQL.
如果在编译时一个 SQL 语句的语法是完全已知的,那么这个语句就称为静态 SQL。
2
Often you will want to prepare and compile the UPDATE statement only once, and then pass in a new value every time you execute the update.
常常希望只准备和编译 UPDATE 语句一次,然后在每次执行更新时传递一个新值。
3
Ceylon also ensures (at compiletime) that the switch statement contains an exhaustive list of instance tests or, at a minimum, an else clause to provide complete coverage.