The Data Manipulation Language is used to manipulate the information contained in a database. For this, you dispose of selection, insertion,
upload and deletion of registers sentences.
1 Data Manipulation Language (DML)
It exist a correspondance between the data types of the database and the XSQL-Script. Below, they are detailed in a table the differents data types and it is indicated with which package of XSQL-Script should be managed this data.
SQL DataType | Java DataType | XSQL-Script package |
---|---|---|
BIT | Boolean | |
BOOLEAN | Boolean | |
TINYINT | Integer | |
SMALLINT | Integer | |
INTEGER | Integer | |
BIGINT | Long | |
REAL | Float | |
FLOR | Float | |
DOUBLE | Double | |
NUMERIC | BigDecimal | |
DECIMAL | BigDecimal | |
DATE | Date | date |
TIME | Time | date |
TIMESTAMP | Timestamp | date |
BINARY | byte[] | byte |
VARBINARY | byte[] | byte |
LONGVARBINARY | byte[] | byte |
BLOB | DBMemoryBlob | blob |
JAVA_OBJECT | Spatial / Object | |
ROWID | Rowid |