
Inductor is a fully declarative, type-safe ORQL software package that maximizes query expressiveness and minimizes object/relational impedance mismatch. Inductor layers seamlessly over the existing Hibernate and JDO query engines to add a new, SQL syntax, pure Java query style.
Declarative — implements a relationally-complete, purely declarative query grammar that closely parallels standard SQL in syntax and logic.
Type-safe — implements the query grammar entirely in objects and as method calls with the result that the vast majority of parameter and return values are statically type-checked and the remainder are dynamically type-checked.
Design patterns — a well-defined set of Inductor specific design patterns ensure refactorability and project-wide consistent definition and efficient execution of Inductor queries.
Persistence-package agnostic — the query grammar and syntax are independent of the underlying persistence-package!
— An Inductor query is as clear, concise, and declarative as an equivalent native SQL query. Inductor queries read very much like a standard SQL queries.
— Implements a well-defined object QBE operation and the SQL operators like, in, and between consistently for all supported persistence-packages.
— The Inductor query grammar and design patterns are designed to be independent of the underlying persistence-package used.
— Pluggable drivers adapt Inductor for use with different object persistence packages and provide access to package specific features.
— The Inductor package hides and automatically implements the procedural mechanics required to execute queries through the underlying persistence package.
— Inductor specific design patterns efficiently handle a full range of query-cases.
— Inductor design patterns can be used alone or in most any combination:
Beta release is available. All major features planned for the initial Inductor release have been implemented. JDO and Hibernate drivers are included in the current release package. The driver for EJB 3.0 is currently in design.
Ensure that a persistence package is installed and working. Inductor depends on the underlying persistence package to function.
Inductor does not require any configuration parameters beyond those required by the persistence package. The included jdo.properties and hibernate.cfg.xml configuration files are only samples.
Ensure the certiv-inductor-0.30.jar is on the classpath.
Run the ApiTest routines as typical use cases to verify function.
pers.firstname.eq("Bob").and(pers.firstname.eq("Summer"); ... can be rewritten to remove the redundant reference or to split the reference into separate criteria elements: pers.firstname.eq("Bob"),
pers.firstname.eq("Summer")