First tries with templates and jdbc