当我尝试在数据库中插入数据时出现以下错误。
ORA-01691: unable to extend lob segment XXXXXX by 8192 in tablespace USERS
Run Code Online (Sandbox Code Playgroud)
我正在使用 Oracle 数据库(express 12c
版本)。谷歌搜索错误我发现这意味着表空间中没有更多空间,您需要增加数据文件的维度或您正在使用的数据文件的数量。我有 5 个 30 GB 的数据文件,其中一个是空的,所以我不明白问题是什么。
编辑
SYSTEM 793,19 800 99,15 32768 2,42
SYSAUX 2203,56 2320 94,98 32768 6,72
UNDOTBS1 48,13 23345 0,21 32768 0,15
USERS 153534,5 30720 499,79 30720 499,79
USERS 153534,5 30720 499,79 30720 499,79
USERS 153534,5 30720 499,79 30720 499,79
USERS 153534,5 30720 499,79 30720 499,79
USERS 153534,5 30720 499,79 30720 499,79
Run Code Online (Sandbox Code Playgroud) 我正在使用Itext7创建一个带有表格的pdf.
该表占用多个页面.
我还要重写单元格渲染器,将formfield添加到某个单元格.
我注意到当表转到新页面时,第一行不会触发CellRender类的draw方法.
我在下面放了一些代码以便更好地理解.
...
//adding the cells to table
for (int i = 0; i < 10; i++) {
addRow(table,i);
}
...
//addRow implementation
private void addRow(Table table, int row) throws IOException {
table.startNewRow();
PdfFont zapfdingbats = PdfFontFactory.createFont(FontConstants.ZAPFDINGBATS);
Cell checkBoxCell = new Cell().add(new Paragraph("o").setFont(zapfdingbats).setMargins(9, 0, 0, 11)).setKeepTogether(true);
checkBoxCell.setNextRenderer(new CheckboxCellRenderer(checkBoxCell, "cb"+row));
table.addCell(checkBoxCell);
...
//other cells here
}
...
//The implementation of the custom CellRender
protected class CheckboxCellRenderer extends CellRenderer {
protected String name;
public CheckboxCellRenderer(Cell modelElement, String name) { …
Run Code Online (Sandbox Code Playgroud)