开发者

Codlfusion ORM: Can not load SQL after an init of ORM

Trying to drop/create table with orm but facing a situation:

When I try to drop/create table I see tables are created but data. I have a sql which contains data but no luck. I have proper definitions for t开发者_Go百科he sql that has to be imported when I drop/create.

 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?


I do not see the "autorebuild" setting in the official document : http://help.adobe.com/en_US/ColdFusion/9.0/Developing/WSED380324-6CBE-47cb-9E5E-26B66ACA9E81.html

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜