0

尝试使用 orm 删除/创建表但面临以下情况:

当我尝试删除/创建表时,我看到表已创建但数据。我有一个包含数据但没有运气的 sql。我对删除/创建时必须导入的 sql 有正确的定义。

 this.ormsettings = {autorebuild="false"};
 this.ormsettings.dialect= "oracle10g";
 this.ormsettings.logsql="true";
 this.ormSettings.dbCreate = "dropcreate"; //"dropcreate";
 this.ormsettings.sqlscript="mydata.sql";
 this.ormsettings.eventhandling=true;
 this.ClientManagement="No";
 this.sessionmanagement = true;
 this.sessiontimeout = createTimeSpan(0,2,0,0);

When I look at hibernate log files I see following line - which I believe has no sense because as I googled and I see that this line of log is very common and no one is commenting about it.-

Only clue that I have:

</pre>08/16 11:22:00 [jrpp-3] HIBERNATE DEBUG - import file not found: /import.sql

Any ideas?

4

1 回答 1

0

我在官方文档中没有看到“autorebuild”设置:http: //help.adobe.com/en_US/ColdFusion/9.0/Developing/WSED380324-6CBE-47cb-9E5E-26B66ACA9E81.html

于 2010-08-16T14:52:16.777 回答