Skip to content

Instantly share code, notes, and snippets.

@tonymorris
Last active January 3, 2016 02:09
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tonymorris/8394070 to your computer and use it in GitHub Desktop.
Save tonymorris/8394070 to your computer and use it in GitHub Desktop.

JDBC API for Scala

Data types required

Primitives

  • Option[A] (?)
  • SQLException / A (/)
  • InvariantNotMet / A (~)
  • SqlEffect[A] (!)

Combinations

  • SQLException / Option[A] (/?)
  • InvariantNotMet / Option[A] (~?)
  • SqlEffect[Option[A]] (!?)
  • SQLException / InvariantNotMet / A (/~)
  • SQLException / InvariantNotMet / Option[A] (/~?)
  • SqlEffect[SQLException / A] (!/)
  • SqlEffect[InvariantNotMet / A] (!~)
  • SqlEffect[SQLException / Option[A]] (!/?)
  • SqlEffect[InvariantNotMet / Option[A]] (!~?)
  • SqlEffect[SQLException / InvariantNotMet / A] (!/~)
  • SqlEffect[SQLException / InvariantNotMet / Option[A]] (!/~?)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment