forked from hudec/sql-processor
-
Notifications
You must be signed in to change notification settings - Fork 0
nathieb/sql-processor
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
SQL Processor - Data Driven Queries The SQL Processor is an engine producing the ANSI SQL statements and providing their execution without the necessity to write Java plumbing code related to the ORM or JDBC API. The input to the SQL Processor is * a search form (or a question form or the input values), which is just a POJO. Typically this form is seeded by an end user in a presentation layer of a web application. * a META SQL query or statement, which is an enhanced ANSI SQL statement. This enhancement is defined in ANTLR based grammar. All the META SQL statements are defined in the meta statements file. * an output mapping rule, which is a mapping prescription from an SQL query result to the Java output classes values. This prescription syntax is again defined in ANTLR based grammar. All the mapping rules are also defined in the meta statements file. Based on the inputs the final SQL query/statement is generated. The parameters are bounded and finally this query/statement is executed. This process is known as a Data Driven Query. The binding of the input values is done using the Reflection API, without any Java plumbing code. The output of the SQL Processor is * a list of result class instances (or data transfer objects or the output values). Each result class instance is created using the Reflection API, again without any Java plumbing code. Project content * sql-processor - the SQL Processor core and the JDBC stack * sql-processor-hibernate - the SQL Processor extension, the Hibernate stack * sql-processor-spring - the SQL Processor extension, the Spring stack * sql-processor-eclipse - the SQL Processor Eclipse plugin * sql-samples - the samples to demonstrate the SQL Processor features ** simple-jdbc - the Simple tutorial for the JDBC stack ** simple-hibernate - the Simple tutorial for the Hibernate stack ** simple-spring - the Simple tutorial for the Spring stack ** catalog-jpa - the working Web application based on JPA and the Hibernate stack ** catalog-hibernate - the working Web application based on the Hibernate stack ** catalog-spring - the working Web application based on the Spring stack
About
The SQL Processor is an engine producing the ANSI SQL statements and providing their execution without the necessity to write Java plumbing code related to the ORM or JDBC API.
Resources
Stars
Watchers
Forks
Packages 0
No packages published