表格大小超过10,000行
提交请求以每6秒读取最后100行 和记录中的一个
但有时会出现错误
17:34:49,549 WARN SqlExceptionHelper:143 - SQL Error: 90031, SQLState: 90031
17:34:49,549 ERROR SqlExceptionHelper:144 - Ошибка ввода/вывода: "java.io.IOException: Access denied";
"C:/Users/name/Documents/NetBeansProjects/project/base.0b6276e133678305.1105.temp.db" IO Exception: "java.io.IOException: Access denied";
"C:/Users/name/Documents/NetBeansProjects/project/base.0b6276e133678305.1105.temp.db";
SQL statement: select this_.id as id0_0_, this_.broker as broker0_0_, this_.potential
as potential0_0_, this_.quote as quote0_0_, this_.symbol as symbol0_0_,
this_.timeQuote as timeQuote0_0_ from history this_ order by this_.id desc limit ? [90031-169]
所有以管理员权限运行
答案 0 :(得分:0)
错误为java.io.IOException: Access denied
这与Hibernate和H2无关。出于某种原因,不允许Java进程创建/修改文件。可能的原因:
Administrator
无法在Windows上执行所有操作。如果文件夹不属于您,则必须先接管该文件夹。在这种情况下,该文件夹可能属于用户name
,如果他不允许访问Administrator
,则会收到错误。C:/Users/name/Documents/NetBeansProjects/project/base.0b6276e133678305.1105.temp.db
。