ERROR: JAVA_HOME
is set to an invalid directory.
JAVA_HOME = C:\Program Files\Java
Please set the JAVA_HOME variable i
加载中…
标签:
杂谈 |
ERROR: JAVA_HOME
is set to an invalid directory.
JAVA_HOME = C:\Program Files\Java
Please set the JAVA_HOME variable i
标签:
杂谈 |
标签:
杂谈 |
pineapple菠萝 watermelon西瓜 tomato西红柿 banana香蕉 shaddock (
电子商务专业英语单词及相关术语
advancement, payment on account
bottleneck restrictions
fair, meeting
off-grade goods, rejects
subunderwriting, distribution
two-for-one offer, buy one get one free
IPRs
(of two countries or companies) have complementary advantages
“closed-door” policy
20% off / 20% discount
AAMA (Administrative Aspects of Market Access)
ABAC Meeting (APEC Business Advisory Council Meeting)
ABAC: APEC Business Advisory Council
abide by contracts and keep one’s words; honor credit and
promise
above target profit
accept guarantee provided by foreig
public class BaseDao {
.......
}
public class PekingDao extends BaseDao{
.......
}
如果配置文件这么配会报错
<bean id='calsSqlmap_tools' class='....'>
<bean id='interfaceSqlmap_tools' class='....'>
<bean id='peakingSqlmap_tools' class='....'>
<bean id='orderdownloadSqlmap' class='....'>
<bean id='pekingDao' class='com.jd.wms.jktool.compare.dao.PekingDao'>
<property name='calsSqlmap_tools' ref='calsSqlmap_tools'
/>
前言
var re=/[0-9,a-z,A-Z]$/;
var str=St rin g. from Ch arC ode(keyCode);
alert(re.test(str));
//keyCode-->event.keyCode
------------------------------------
<script language='javascript'>
alert('A'.charCodeAt(0));
alert(S tr ing . fro mC har Code(97));
</script>
批量操作
1、批量删除 。建议进行如下操作
String hql ='delete user';
Query query = session.createQuery(hql);
int size = query.executeUpdate()
这样做的原因呢 就是hibernage里面有个二级缓存
2、要不就直接使用sql,虽然这样做你得到了三大优势(省去hql到sql的转换过程、省去了对象的初始化、省去了缓存的处理),但是,你却造成了缓存的数据与db的数据不统一 ,一旦出现问题将无法挽回。
3、hql查询。hql的写法也要遵循sql的规范,因为hql最终还是要变成sql的。不仅如此,还要注意hql里面有个关联查询问题。因此hql的性能受限在: