|
SMACS | |||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | |||||||||
See:
Description
| Class Summary | |
| DbvizSelinsToDbvizTable | detect implicit table type made by this select. |
| DbvizSelinsToJavaSqlSelect | helper class DbvizSelins -> JavaScriptNode.
|
| ModuleExport | Export SMaCS module. |
| Exception Summary | |
| ExportException | import IOException for find-exports. |
Application Builder Code
The original module writer code was using the direct sql input text with a number of INSERT INTO and INSERT FROM statements. Each statement was converted to an equivalent JDBC script. That sql script equivalent was not capable to incorporate handling of constraints that come out of the schema. Such as unique keys and primaries and merging with rows.
The new module writer code has been given all the relations of the fields that are touched. Theoretically it should also know about default values and put them into building a new row to be handed down of a JDBC update call. While this is unimportant for the normal notnull values it is really import for the unique constraints - it needs to check for a pre-existing row and it must known how to react to existance/non-existance.
|
SMACS | |||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | |||||||||