摘要:注意点:1.如果在PL/SQL 等工具里打开的话,直接修改下面的代码中[斜体加粗部分]执行2.确保路径存在,比如【D:\oracle\oradata\Oracle9i\】也就是你要保存文件的路径存在/*分为四步*//*第1步:创建临时表空间*/create temporary tablespaceuser_temp tempfile 'D:\oracle\oradata\Oracle9i\user_temp.dbf'size 50mautoextend onnext 50m maxsize 20480mextent management local;/*第2步:创建数据表空间*
阅读全文
摘要:原因: 在工程转移过程中,导致工程的配置文件出错;解决方法: 1.在工程目录下的.mymetadata文件中可能webrootdir被改无效了(把下面内容拷到你的.mymetadate文件中的相应位置上);或者有可能少了这context-root这个属性;添加上这个属性即可,内容如下:context-root="/上面的name属性值"2.关掉myEclipse,再启动myEclipse,接着发布工程,发布成功!
阅读全文
摘要:----db.properties--------dbDriver = oracle.jdbc.driver.OracleDriverurl = jdbc:oracle:thin:@192.168.1.186:1521:jfglorcluserName=jfglpassword=jfgl------------ JDBConnection ----------------------------public class JDBConnection { public Connection connection = null; public JDBConnection() { Resourc...
阅读全文