摘要
应用程序中经常需要有些数据是自动递增,为此,本文提出应用单子模式来实现,以便克服目前数据库采用自动递增字段或序列来解决所带来的缺点。通过在某舰信息管理系统的开发和应用,证明该方法可行、易用。
Some data often need to be autonomous increased in many applications,so this paper presents that it is realized by form pattern,which can get over the shortcoming of the meanings that present database adopts autonomous increase field or sequence.The method is proved feasible and easy by which is developed and used in some ship management and information system.
出处
《计算机应用与软件》
CSCD
北大核心
2005年第7期49-50,共2页
Computer Applications and Software