Yes, you should be able to use all the CPAS apis with your new database. But no, we don't have a lot of developer documentation at this point, other than the overview slides I posted earlier. The key files to look at include:
- Table.java: a simple, low level data access layer with methods like insert, delete, update, executeQuery, select, etc.
- DbSchema.java, TableInfo.java, ColumnInfo.java: use to access metadata for your tables and columns. These get passed to Table, DataRegion, and other data classes.
- /cpasProperties/xxx.xml (e.g., ms2.xml, core.xml): how we specify additional meta data associated with columns and tables (e.g., captions, format strings, display widths)
- SqlDialects: used to retrieve database-specific syntax and constructs.
- DataRegion/GridView: our data grid… provides UI for displaying, filtering, and sorting tables/views/resultsets.
Adam |