Skip to content

Commit

Permalink
Merge pull request #628 from keeps/alindo-dev-tableName
Browse files Browse the repository at this point in the history
Updated virtual tables lob columns name to Document
  • Loading branch information
006627 committed Nov 28, 2024
2 parents daa63ca + 4c89750 commit 531ca15
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -162,4 +162,6 @@ private Constants() {
public static final String DB_SSH_USER = "ssh-user";
public static final String DB_SSH_PASSWORD = "ssh-password";

/* Virtual Table */
public static final String BLOB_COLUMN_NAME = "Document";
}
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ private List<ColumnStructure> createContextDocumentsTableColumns() {
true, SIARDDKConstants.DOCUMENT_TITLE_DESCRIPTION, "", true);
VirtualColumnStructure columnDate = new VirtualColumnStructure(SIARDDKConstants.DOCUMENT_DATE, SIARDDKConstants.DOCUMENT_DATE, typeChar,
true, SIARDDKConstants.DOCUMENT_DATE_DESCRIPTION, "", true);
VirtualColumnStructure columnLOB = new VirtualColumnStructure(Constants.BLOB, Constants.BLOB, typeBlob, true,
VirtualColumnStructure columnLOB = new VirtualColumnStructure(Constants.BLOB, Constants.BLOB_COLUMN_NAME, typeBlob, true,
"", "1", true);
columnStructureList.add(columnID);
columnStructureList.add(columnTitle);
Expand All @@ -503,7 +503,7 @@ private List<ColumnStructure> createVirtualTableColumns() {
Type type = sqlStandardDatatypeImporter.getCheckedType("<information unavailable>", "<information unavailable>",
"<information unavailable>", "<information unavailable>", Constants.BINARY_LARGE_OBJECT,
Constants.BINARY_LARGE_OBJECT);
VirtualColumnStructure columnLOB = new VirtualColumnStructure(Constants.BLOB, Constants.BLOB, type, true,
VirtualColumnStructure columnLOB = new VirtualColumnStructure(Constants.BLOB, Constants.BLOB_COLUMN_NAME, type, true,
"", "1", true);
columnStructureList.add(columnID);
columnStructureList.add(columnLOB);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@ private List<ColumnStructure> createContextDocumentsTableColumns() {
SIARDDKConstants.DOCUMENT_TITLE, typeChar, true, SIARDDKConstants.DOCUMENT_TITLE_DESCRIPTION, "", true);
VirtualColumnStructure columnDate = new VirtualColumnStructure(SIARDDKConstants.DOCUMENT_DATE,
SIARDDKConstants.DOCUMENT_DATE, typeChar, true, SIARDDKConstants.DOCUMENT_DATE_DESCRIPTION, "", true);
VirtualColumnStructure columnLOB = new VirtualColumnStructure(Constants.BLOB, Constants.BLOB, typeBlob, true,
VirtualColumnStructure columnLOB = new VirtualColumnStructure(Constants.BLOB, Constants.BLOB_COLUMN_NAME, typeBlob, true,
"", "1", true);
columnStructureList.add(columnID);
columnStructureList.add(columnTitle);
Expand All @@ -502,7 +502,7 @@ private List<ColumnStructure> createVirtualTableColumns() {
Type type = sqlStandardDatatypeImporter.getCheckedType("<information unavailable>", "<information unavailable>",
"<information unavailable>", "<information unavailable>", Constants.BINARY_LARGE_OBJECT,
Constants.BINARY_LARGE_OBJECT);
VirtualColumnStructure columnLOB = new VirtualColumnStructure(Constants.BLOB, Constants.BLOB, type, true,
VirtualColumnStructure columnLOB = new VirtualColumnStructure(Constants.BLOB, Constants.BLOB_COLUMN_NAME, type, true,
"", "1", true);
columnStructureList.add(columnID);
columnStructureList.add(columnLOB);
Expand Down

0 comments on commit 531ca15

Please sign in to comment.