首先hibernate级联删除的前提是,首先需要在映射文件中配置,配置多表之间的关联关系:下面以部门表(Dept)和员工表(Emp)为例:1.在Emp.hbm.xml映射文件中配置many-to-one关系 1 2 4 5 6 7 8 9 10 11 ...
分类:
数据库 时间:
2014-11-20 11:50:10
阅读次数:
255
先简单说一下php调用mail()函数的过程。看到源码ext/mail.c236行:char *sendmail_path = INI_STR("sendmail_path");char *sendmail_cmd = NULL;从INI中获得sendmail_path变量。我们看看php.ini里...
分类:
Web程序 时间:
2014-11-19 23:41:22
阅读次数:
347
OPEN PO ORDER
fnd_function.Execute(Function_Name => 'PO_POXPOEPO',
Open_Flag => 'Y',
Session_Flag => 'Y',
O...
分类:
其他好文 时间:
2014-11-19 12:35:39
阅读次数:
269
先简单说一下php调用mail()函数的过程。 看到源码ext/mail.c236行:char *sendmail_path = INI_STR("sendmail_path");char *sendmail_cmd = NULL;从INI中获得sendmail_path变量。我们看看php.ini...
分类:
Web程序 时间:
2014-11-18 23:38:29
阅读次数:
232
ACL的使用 ACL即Access Control List 主要的目的是提供传统的owner,group,others的read,write,execute权限之外的具体权限设置,ACL可以针对单一用户、单一文件或目录来进行r,w,x的权限控制,对于需要特殊权限的使用状况有一定帮助。如,某一个文....
分类:
其他好文 时间:
2014-11-17 17:09:36
阅读次数:
326
启动tomcat出现The file is absent or does not have execute permission。。。Cannot find bin/catalina.shThe file is absent or does not have execute permissionTh...
分类:
其他好文 时间:
2014-11-14 22:41:09
阅读次数:
692
这是异常想必大家都知道的,是关于一个android jar包冲突的问题。为什么还要提呢,是因为这玩意真心让人蛋疼。有些时候稍微不注意(手贱)多导入一个包,就完蛋了。(jar包多的话搞不好带一上午调试)。1.蛋疼的了排查所有的第三方jar包(包括自定义Library中的),把多余的jar和重复的jar...
分类:
Web程序 时间:
2014-11-14 15:31:53
阅读次数:
159
LogCat Dex?Loader]?Unable?to?execute?dex:?Multiple?dex?files?define?Landroid/annotation/SuppressLint;
CustomViewTest]?Conversion?to?Dalvik?format?failed:?Unable?to?execute?dex:?...
分类:
移动开发 时间:
2014-11-14 12:46:13
阅读次数:
817
usertable` FROM $field='$value'"; $db=new database; $res=$db->execute($sql); $obj_user=mysql_fetch_object...
分类:
其他好文 时间:
2014-11-14 12:24:18
阅读次数:
167
Thread.Start starts a new OS thread to execute the delegate. When the delegate returns, the thread is destroyed. This is quite a heavy-weight operatio...
分类:
其他好文 时间:
2014-11-13 20:33:57
阅读次数:
159