English 中文(简体)
hqldb表在经过清理后没有空洞,然后重新连接起来。
原标题:hsqldb table is not empty after it has been cleared and then reconnected to
  • 时间:2011-04-03 15:33:15
  •  标签:
  • java
  • hsqldb

在插入一些数据并处理几个问题之后,我决定删除表格中的数据。 然而,当两条都发生时

TRUNCATE TABLE 圆桌会议

以及

一、导 言 圆桌会议

,the next time i connect to the database, it is not empty, 以及queries return results. It has continued even after i have deleted the folder of database. It should be noted, that queries on the table that are run immediately after truncatre or delete return no results, as it should be.

最佳回答

我怀疑数据库的违约行为是自动启动的,你在暗中交易中重新运作。 当你脱节时,你刚才所写的一切都没有写到行文中(已出现<>条码>)。

您在结束联系之前需要发布<条码>。 这完成了对数据库的改动。

问题回答

您在联系上是否明确接近?

HSQLDB有伐木作业的文字格式,并在重新启用数据库后重新启用数据库。 如果你不让行清理,拖车指挥可能不会写到档案中,在你重新接通时不会再次执行。

在你不相干之后,你可以实际查阅数据库文件(*.script),看看你是否记录了你的指挥。





相关问题
Spring Properties File

Hi have this j2ee web application developed using spring framework. I have a problem with rendering mnessages in nihongo characters from the properties file. I tried converting the file to ascii using ...

Logging a global ID in multiple components

I have a system which contains multiple applications connected together using JMS and Spring Integration. Messages get sent along a chain of applications. [App A] -> [App B] -> [App C] We set a ...

Java Library Size

If I m given two Java Libraries in Jar format, 1 having no bells and whistles, and the other having lots of them that will mostly go unused.... my question is: How will the larger, mostly unused ...

How to get the Array Class for a given Class in Java?

I have a Class variable that holds a certain type and I need to get a variable that holds the corresponding array class. The best I could come up with is this: Class arrayOfFooClass = java.lang....

SQLite , Derby vs file system

I m working on a Java desktop application that reads and writes from/to different files. I think a better solution would be to replace the file system by a SQLite database. How hard is it to migrate ...

热门标签