freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

數(shù)據(jù)庫課程設(shè)計報告教學(xué)管理系統(tǒng)(java實現(xiàn))(編輯修改稿)

2024-08-31 00:11 本頁面
 

【文章內(nèi)容簡介】 15),popedom tinyint not null)。 create table department(depth_id smallint primary key, depth_name char(14),discription varchar(50))。create table teach_job(t_id int primary key, t_name char(8), sex char(2),birthday smalldatetime,depth_id smallint foreign key references department(depth_id),job char(10), speciality char(16), direction char(16))。create table course(c_id smallint primary key, c_name char(16) not null,t_id int foreign key references teach_job(t_id), credit smallint,period smallint, class_time smalldatetime,class_area char(10), exam_time smalldatetime)。create table student(stu_id char(6) primary key, s_name char(8),birthday smalldatetime,  score int,depth_id smallint foreign key references department(depth_id))。create table score(stu_id char(6), c_id smallint, u_score int, exam_score int,total int,  primary key(stu_id,c_id))。 數(shù)據(jù)備份和恢復(fù)方案事務(wù)故障的恢復(fù)是由系統(tǒng)自動完成的,對用戶透明。系統(tǒng)故障的恢復(fù)由系統(tǒng)重新啟動時自動完成,不需要用戶干預(yù)。介質(zhì)故障的恢復(fù)則由人干預(yù)完成,方法為重裝數(shù)據(jù)庫,然后重做已完成的事務(wù)。數(shù)據(jù)庫備份方案:1每月進(jìn)行一次數(shù)據(jù)庫的完整備份,包括所有的數(shù)據(jù)及數(shù)據(jù)庫對象。速度較慢,占用大量磁盤空間。應(yīng)該在整個數(shù)據(jù)庫不進(jìn)行其他事務(wù)操作的時候備份可以提高數(shù)據(jù)備份的速度。2每天進(jìn)行事務(wù)日志備份,事務(wù)日志備份是指對數(shù)據(jù)庫發(fā)生的事務(wù)進(jìn)行備份,包括上次進(jìn)行事務(wù)日志備份,差異備份和數(shù)據(jù)庫完全備份之后所有已經(jīng)完成的事務(wù)。所需的時間和磁盤空間要求較少3每小時進(jìn)行差異備份,是備份一次數(shù)據(jù)備份以來的數(shù)據(jù)變化。a) 恢復(fù)解決方案:先恢復(fù)最近一次的數(shù)據(jù)庫備份,接著進(jìn)行差異備份的恢復(fù),最后進(jìn)行事務(wù)日志血仇的恢復(fù)。 用戶界面的設(shè)計和實現(xiàn)及相關(guān)應(yīng)用程序編碼本系統(tǒng)的程序代碼結(jié)構(gòu)如下圖所示:主要是四個包:1〉其中中frame包中包含一個layout包。frame包主要是視圖層的代碼,主界面,登錄界面,各種操作的界面都在其中。此外包含一個包layout,在其中有一個類,用于網(wǎng)格組布局的封裝了網(wǎng)格組布局的一些代碼。在MyAction中封裝的是主窗口里面的所有菜單事件。2〉在model包中主要處理的是模型層,對數(shù)據(jù)的操作封裝其中。3〉query一個類包含了對學(xué)生信息的查詢。4〉此外在util中包含的是對數(shù)據(jù)庫的所有操作。其中有對數(shù)據(jù)庫的更改,把數(shù)據(jù)庫的數(shù)據(jù)和表格模型相關(guān)聯(lián)起來的等操作。主界面如下所示:〈5〉關(guān)鍵代碼如下:由于代碼太多,以下只寫出很少的一部分代碼1》對數(shù)據(jù)庫的操作:public class ConneJdbc { protected static Connection connection = null。 private Connection con = null。 private ResultSet rs = null。 private ResultSetMetaData rsmd = null。 public ConneJdbc() { try { ()。 connection = ( jdbc:microsoft:sqlserver://:1433。DatabaseName=teaching , sa, )。 } catch ( classnotfound) { ()。
點擊復(fù)制文檔內(nèi)容
高考資料相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖片鄂ICP備17016276號-1