system.db.runNamedQuery [tx] syntax

  1. Well, it isn't convenient:
  1. system.project.getProjectName()

  2. Depends on your JDBC driver and primary key column type(s).