数据库
数据库相关:Oracle,Sql Server,MySql,DB2,informix,sql语句......
摘要: As per the documentation on MySQL I moved the storage of passwords from using Password() to using MD5(). I read a number of places that stated that this was a method that couldn't be reversed and it was far more secure than the previous method. I was feeling confident that life was about to get a little more secure. While going through my daily RSS feeds and mailing lists for SpikeSource, I happenned upon a thread about someone discussing how easy it was to break MD5 hashes. It was a simple matt
阅读全文
摘要: 1.如果存在就更新,不存在就插入用一个语句实;
2.分页算法;
3.抽取/删除重复记录;
阅读全文
摘要: Hibernate中支持3种形式实现继承关系:
1. Table per concrete class 表与子类之间独立一对一关系
2. Table per subclass 每个子类对应一张子表,并与主类共享主表
3. Table per class hierarchy 表与类一对多关系
阅读全文
Full 数据库 Archive