Skip to content

SQLP 2.2.1 and SQLEP 1.7 Tutorial

Vladimír Hudec edited this page Jun 3, 2013 · 17 revisions

###Notice - The tutorial is updated for SQLP 2.2.1+ and SQLEP 1.7+ / Back to Tutorials

###Introduction The new features of the SQL Processor (SQLP) version 2.2.1 and the SQL Processor Eclipse Plugin (SQLEP) version 1.7.0 are

  • extended POJO grammar for annotations
    • annotations for POJO constructors
    • annotations for generated POJO metods
    • annotations for generated POJO static fields attributes
    • in annotations also reference to POJOs
  • improved SQLP exception logging
  • input values modifiers prefix !
  • new modifier !empty
  • modifier anyset = any
  • first approach to establish complex web application
    • simple-backend based on Spring, SQLP and extdirectspring
    • simple-gui based on Ext JS
  • new control directive preserve-foreign-keys

###Improved annotations The complete set of annotation is

  • @ - a POJO class annotation
  • @@ - a POJO constructor annotation
  • @@@ - a POJO static attributes annotation
  • @@@@ - a POJO overloaded methods annotation
  • @ - an attribute annotation
  • @@ - an attribute getter annotation
  • @@@ - an attribute setter annotation

The complex sample can be seen at https://github.com/hudec/sql-processor/blob/master/simple-samples/simple-backend/src/main/resources/pojo.qry.

TODO

Clone this wiki locally