Package com.google.mu.safesql


package com.google.mu.safesql
GoogleSql, SafeQuery

Package Specification

The code is developed and tested under Java 8.0.
  • Class
    Description
    Facade class providing SafeQuery templates for GoogleSQL.
    A piece of provably-safe (from SQL injection) query string constructed by the combination of a compile-time string constant, other SafeQuery, safe literal values (booleans, enum constant names, numbers etc.), and/or mandatorily-quoted, auto-escaped string values.
    An SPI class for subclasses to provide additional translation from placeholder values to safe query strings.
    An injection-safe dynamic SQL, constructed using compile-time enforced templates.
    For lambdas that can throw SQLException.
    A simple unchecked wrapper of SQLException.