Package | Description |
---|---|
com.viaoa.ds.jdbc.db |
OADataSourceJDBC classes used for ORM - object-relational mapping, and DB metadata.
|
com.viaoa.ds.jdbc.delegate |
OADataSourceJDBC delegate classes for implementing access to SQL Relational databases.
|
Modifier and Type | Field and Description |
---|---|
Table |
Column.table
table that this column belongs to.
|
Table |
Link.toTable
Table that this references.
|
Modifier and Type | Method and Description |
---|---|
Table |
Database.getTable(Class clazz)
Returns that Table that is mapped to a Class.
|
Table |
Database.getTable(String name) |
Table[] |
Database.getTables()
Returns the Tables that are used in this Database.
|
Modifier and Type | Method and Description |
---|---|
void |
Table.addLink(String propertyName,
Table toTable,
String reversePropertyName,
int columnFkey) |
void |
Table.addLink(String propertyName,
Table toTable,
String reversePropertyName,
int[] columnFkeys) |
void |
Database.addTable(Table table) |
Column[] |
Table.getLinkToColumns(Link link,
Table toTable) |
void |
Database.setTables(Table[] tables)
Sets the Tables that are used in this Database.
|
Constructor and Description |
---|
Link(String propertyName,
String reversePropertyName,
Table toTable)
Create a new reference from one table to another.
|
Modifier and Type | Method and Description |
---|---|
static void |
AutonumberDelegate.assignNumber(OADataSourceJDBC ds,
OAObject object,
Table table,
Column column)
Assigns autonumber properties.
|
protected static String |
AutonumberDelegate.getMaxGuidQuery(DBMetaData dbmd,
Table table,
Column dbcolumn) |
protected static String |
AutonumberDelegate.getMaxIdQuery(DBMetaData dbmd,
Table table,
Column dbcolumn) |
protected static int |
AutonumberDelegate.getNextNumber(OADataSourceJDBC ds,
Table table,
Column pkColumn,
boolean bAutoIncrement) |
static void |
AutonumberDelegate.setNextNumber(OADataSourceJDBC ds,
Table table,
int nextNumberToUse) |
static boolean |
VerifyDelegate.verifyLinks(Table t,
DatabaseMetaData dbmd,
OADataSourceJDBC ds,
ArrayList<String> alError) |
static void |
AutonumberDelegate.verifyNumberUsed(OADataSourceJDBC ds,
OAObject object,
Table table,
Column column,
int id)
This is used to determine if an assigned ID needs to change the autoNextNumber ID
|
Copyright © 1999–2019 ViaOA. All rights reserved.