-
Notifications
You must be signed in to change notification settings - Fork 16
SQLEP 1.7.6 Tutorial
Vladimír Hudec edited this page Nov 24, 2013
·
3 revisions
##The tutorial is updated for SQLEP 1.7.6+
###Introduction
The new feature of the SQL Processor Eclipse Plugin (SQLEP) version 1.7.5 is the possibility to speed the initial definitions.qry
provision using one of the next templates (they are offered after crtl-SPACE)
- db2
- hsqldb
- informix
- mysql
- oracle
- postgresql
For example using the template oracle
the next control directives are placed into definitions.qry
resolve-pojo-on;
database-is-online;
database-jdbc-driver :oracle.jdbc.OracleDriver;
database-has-url jdbc:oracle:thin:@TODO_DB_SERVER:1521:TODO_SID;
database-login-username TODO_DB_USER;
database-login-password TODO_DB_PASSWORD;
database-active-schema TODO_DB_SCHEMA;
database-take-comments;
pojogen-generate-wrappers;
pojogen-generate-methods toString equals hashCode isDef toInit;
pojogen-implements-interfaces java.io.Serializable;
pojogen-generate-operators;
pojogen-generate-validation-annotations;
metagen-global-sequence TODO_SEQUENCE_NAME;
Next, all uppercase values should be change based on your environment.
- SQL Processor Home
- SQL Processor News
- SQL Processor Eclipse Plugin Home
- SQL Processor Eclipse Plugin News
- SQL Processor Architecture
- SQLP and SQLM*P Tutorials
- SQLM*P Control directives
- Basic Tutorials
- 10 minutes Tutorial
- Simple Tutorial
- CRUD Tutorial
- Associations Tutorial
- Inheritance Tutorial
- More inheritance Tutorial
- Custom Types Tutorial
- Stored procedures Tutorial
- IDE Setup and Coding Standards
- Catalog (JPA) Sample
- Catalog (Hibernate) Sample
- Catalog (Spring) Sample
- Advanced catalog (Spring) Sample
- The Reference Guide
- The Eclipse Plugin Tutorials
- The Improvements
- Tutorials archive