Leaving aside whatever monstrosity is screwing with your logs making them unreadable, Velocity echoes unresolved variable substitutions by default, always has. A property was added to toggle on exception throwing instead. It's just telling you there is no employeeID attribute there to build a statement on. -- Scott