"dv_lakshmi" wrote : Also please note that I have separated the "create table" sql statements from oracle-persistence.xml and have put them in a separate configuration file which I run before I start jboss. I have made the property "CreateTablesOnStartup" as false too and I have left the remaining sqls (INSERT, DELETE, UPDATE) statements as it is in the oracle-persistence.xml file. Now is this making any difference ? |
It shouldn't be. You can always create the tables according to your applicaiton installation or configuration policies(that is, you don't have to wait for the server to create the tables on startup at all). If the flag is set to true, the tables are created if and only if they are non-existent. If they are already existent (wheather you have created via a script or first time server startup), an debug exception is logged to say that the said table is already existing, but this is just a log statment that can be ignored! anonymous wrote : | Now I believe that If I leave the create statements in the oracle persistence xml and leave the "CreateTablesOnStartup" property to true, then the tables are created on server startup. In this case, are the messages which were not delivered successfully lost on server restart? See above explanation about creating tables on startup. Thanks Madhu View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3955391#3955391 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3955391 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user