亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? adaptoramin.java.svn-base

?? 數據庫通用適配器:實現行粒度的數據庫的轉換
?? SVN-BASE
?? 第 1 頁 / 共 5 頁
字號:
			public void widgetSelected(SelectionEvent event){ 
				TableItem[] items =table.getItems();
				int radio=0,loctor=0,had=0;
				final Vector comb=new Vector();
				String SK ;
				String DK ;
				String SDriver;
				String DDriver;
				
				for(int i=0;i<items.length;i++)
				{
					if(items[i].getChecked()){radio++;loctor=i;}
				}	
				if(radio==1){
					
					final Shell Dialogshell = new Shell();
					Dialogshell.setVisible(false);
					Dialogshell.setSize(654, 419);
					Dialogshell.setText("方案配置");
					
					final int  point_x=(kit.getScreenSize().width - 654) / 2;
					final int  point_y=(kit.getScreenSize().height - 419) / 2;
					Dialogshell.setLocation(point_x, point_y);
					
					final Composite Dialogcomposite = new Composite(Dialogshell, SWT.NONE);
					Dialogcomposite.setBounds(0, 0, 629, 379);
					

					final Composite Dialogcomposite_1 = new Composite(Dialogcomposite, SWT.NONE);
					Dialogcomposite_1.setBounds(337, 0, 287, 223);
					
					Group Dialoggroup1=new Group(Dialogcomposite_1,SWT.NONE); //創建分組框
					Dialoggroup1.setText("任務周期"); //設置分組框說明信息
					Dialoggroup1.setBounds(5,2,282,216);

					final Button Dialogbutton_2 = new Button(Dialoggroup1, SWT.RADIO);
					Dialogbutton_2.setText("每月");
					Dialogbutton_2.setBounds(23, 52, 54, 16);
					

					final Button Dialogbutton_3 = new Button(Dialoggroup1, SWT.RADIO);
					Dialogbutton_3.setText("每周");
					Dialogbutton_3.setBounds(23, 84, 54, 16);
					
				
					final Button Dialogbutton_4 = new Button(Dialoggroup1, SWT.RADIO);
					Dialogbutton_4.setText("每天");
					Dialogbutton_4.setBounds(23, 120, 62, 16);
					Dialogbutton_4.setSelection(true);

					
					
					
					final Table Dialogtable_1 = new Table(Dialoggroup1, SWT.CHECK);
					Dialogtable_1.setBounds(91, 26,180, 153);
					Dialogtable_1.setLinesVisible(true);
					Dialogtable_1.setHeaderVisible(true);

					final TableColumn DialognewColumnTableColumn_2 = new TableColumn(Dialogtable_1, SWT.NONE);
					DialognewColumnTableColumn_2.setWidth(180);
					DialognewColumnTableColumn_2.setText("啟動時間");

					final Button Dialogbutton_1 = new Button(Dialoggroup1, SWT.NONE);
					Dialogbutton_1.setBounds(110, 185,75, 22);
					Dialogbutton_1.setText("添加時間");
					
					final Button Dialogbutton_1_1 = new Button(Dialoggroup1, SWT.NONE);
					Dialogbutton_1_1.setBounds(190, 185,75, 22);
					Dialogbutton_1_1.setText("刪除時間");

					final Composite Dialogcomposite_2 = new Composite(Dialogcomposite, SWT.NONE);
					Dialogcomposite_2.setBounds(337, 229, 287, 146);

					final Group ssGroup = new Group(Dialogcomposite_2, SWT.NONE);
					ssGroup.setText("導入方式");
					ssGroup.setBounds(5, 0, 277, 142);

					final Label Dialoglabel = new Label(ssGroup, SWT.NONE);
					Dialoglabel.setBounds(10, 35,43, 22);
					Dialoglabel.setText("條件:");

					final Text Dialogtext = new Text(ssGroup, SWT.BORDER);
					Dialogtext.setBounds(55, 35,201, 22);
					
					final Button tingyong1Button = new Button(ssGroup, SWT.CHECK);
					tingyong1Button.setBounds(10, 102,93, 16);
					tingyong1Button.addSelectionListener(new SelectionAdapter() {
						public void widgetSelected(final SelectionEvent e) {
						}
					});
					tingyong1Button.setText("停用");
					tingyong1Button.setSelection(true);

					final Button Dialogbutton_11 = new Button(ssGroup, SWT.NONE);
					Dialogbutton_11.setBounds(140, 99,48, 22);
					Dialogbutton_11.addSelectionListener(new SelectionAdapter() {
						public void widgetSelected(final SelectionEvent e) {
						}
					});
					Dialogbutton_11.setText("確定");

					final Button Dialogbutton_11_1 = new Button(ssGroup, SWT.NONE);
					Dialogbutton_11_1.setBounds(208, 99,48, 22);
					Dialogbutton_11_1.setText("取消");

					final Button Dialogbutton_10 = new Button(ssGroup, SWT.RADIO);
					Dialogbutton_10.setBounds(200, 75,56, 16);
					Dialogbutton_10.setText("創建表");

					final Button Dialogbutton_9 = new Button(ssGroup, SWT.RADIO);
					Dialogbutton_9.setBounds(140, 75,52, 16);
					Dialogbutton_9.setText("添加");

					final Button Dialogbutton_8 = new Button(ssGroup, SWT.RADIO);
					Dialogbutton_8.setBounds(80, 75,52, 16);
					Dialogbutton_8.setText("更新");
					Dialogbutton_8.setSelection(true);

					final Group ddGroup = new Group(Dialogcomposite, SWT.NONE);
					ddGroup.setBounds(5, 2,324, 369);
					ddGroup.setText("字段映射");
					
					final Combo Dialogcombo = new Combo(ddGroup, SWT.NONE);
					Dialogcombo.setBounds(5, 17,150, 25);

					final Combo Dialogcombo_1 = new Combo(ddGroup, SWT.NONE);
					Dialogcombo_1.setBounds(155, 17,150, 25);

					final Table Dialogtable = new Table(ddGroup, SWT.CHECK);
					Dialogtable.setBounds(5, 45,300, 286);
					Dialogtable.setLinesVisible(true);
					Dialogtable.setHeaderVisible(true);

					final TableColumn DialognewColumnTableColumn = new TableColumn(Dialogtable, SWT.CENTER);
					DialognewColumnTableColumn.setAlignment(SWT.CENTER);
					DialognewColumnTableColumn.setWidth(150);
					DialognewColumnTableColumn.setText("源數據庫表字段");

					final TableColumn DialognewColumnTableColumn_1 = new TableColumn(Dialogtable, SWT.NONE);
					DialognewColumnTableColumn_1.setWidth(150);
					DialognewColumnTableColumn_1.setText("目的數據庫表字段");

					final Button Dialogbutton = new Button(ddGroup, SWT.NONE);
					Dialogbutton.setBounds(155, 340,68, 22);
					Dialogbutton.setText("添加映射");
					
					final Button Dialogbutton_12 = new Button(ddGroup, SWT.NONE);
					Dialogbutton_12.setBounds(225, 340,68, 22);
					Dialogbutton_12.setText("刪除映射");
					
				
					
					Dialogshell.layout();
					
					String TableName1,TableName2;
					TableName1=((CCombo)comb3.elementAt(loctor)).getText();
					TableName2=((CCombo)comb4.elementAt(loctor)).getText();			
					
					String columnName1[];
					String columnName2[];
					String columnType1[],columnType2[];
					
					final Vector DType=new Vector();
					
					Dialogbutton_11_1.addSelectionListener(new SelectionAdapter() {
						public void widgetSelected(final SelectionEvent e) {
							Dialogshell.close();
						}
					}
					);
					Dialogbutton_12.addSelectionListener(new SelectionAdapter() {
						public void widgetSelected(final SelectionEvent e) {
							TableItem[] ite=Dialogtable.getItems();
			        		for(int i=0;i<ite.length;i++)
			        		{
			        			if(!ite[i].getChecked())continue;
			        			int index=Dialogtable.indexOf(ite[i]);
			        			if(index<0)continue;
			        			Dialogtable.remove(index); 
			    			}
						}
					});
					
					Dialogbutton_1_1.addSelectionListener(new SelectionAdapter() {
						public void widgetSelected(final SelectionEvent e) {
							TableItem[] ite_1=Dialogtable_1.getItems();
			        		for(int i=0;i<ite_1.length;i++)
			        		{
			        			if(!ite_1[i].getChecked())continue;
			        			int index=Dialogtable_1.indexOf(ite_1[i]);
			        			if(index<0)continue;
			        			Dialogtable_1.remove(index); 
			    			}
						}
					});
					
					if((!((CCombo)comb1.elementAt(loctor)).getText().equals(""))&&(!((CCombo)comb2.elementAt(loctor)).getText().equals(""))){
						int size=0;			
	        			for(int i=0;i<S.getS().size();i++){	 
	        				
	        				if(((CCombo)comb1.elementAt(loctor)).getText().equals(((Source)S.getS().elementAt(i)).getDateName())){ 
	        					    if(((Source)S.getS().elementAt(i)).getType().equals("Excel")){
	        					    	SK="Excel";
	        					    		  HSSFWorkbook workbook;
											try {
												workbook = new HSSFWorkbook(new FileInputStream(((Source)S.getS().elementAt(i)).getConnURL()));
												 HSSFSheet sheet = workbook.getSheet("sheet1");
												 
												 int initRow = 0;
												 int rows = sheet.getPhysicalNumberOfRows(); 
												 for (int r = 0; r < rows; r++) 
												 { 
												 HSSFRow row = sheet.getRow(r); 
												 if (row != null)
												 { 
													 initRow=r;
													 break;
												 }
												 }
												 HSSFRow FirstRow = sheet.getRow(initRow);
												 int Colnum=FirstRow.getPhysicalNumberOfCells();
												 System.out.println(Colnum); 
												 columnName1=new String[Colnum];
												 columnType1=new String[Colnum];

												 for (int c = 0; c < Colnum; c++) 
												 { 
												 HSSFCell cell = FirstRow.getCell(c); 
												 if (cell != null) 
												 { 
												 switch (cell.getCellType()) 
												 { 
												 case HSSFCell.CELL_TYPE_FORMULA : 
												      columnName1[c]=""+cell.getNumericCellValue();
												      break; 
												 case HSSFCell.CELL_TYPE_NUMERIC: 
													 columnName1[c]=""+cell.getNumericCellValue();
												      break; 
												 case HSSFCell.CELL_TYPE_STRING: 
													 columnName1[c]=cell.getStringCellValue();
												      break; 
												 default: 
												 } 
												 }
												 
												 }
												 HSSFRow secondRow = sheet.getRow(initRow+1);
												 for (int c = 0; c < Colnum; c++) 
												 { 
												 HSSFCell cell = secondRow.getCell(c); 
												 if (cell != null) 
												 { 
												 switch (cell.getCellType()) 
												 { 
												 case HSSFCell.CELL_TYPE_FORMULA : 
													 columnType1[c]="NUMBER";
												      break; 
												 case HSSFCell.CELL_TYPE_NUMERIC: 
													 columnType1[c]="NUMBER";
												      break; 
												 case HSSFCell.CELL_TYPE_STRING: 
													 columnType1[c]="VARCHAR2";
												      break; 
												 default: 
												 } 
												 } 												 
												 }	
												 for (int c = 0; c < Colnum; c++) 
												 {
													 Dialogcombo.add(columnName1[c]+"("+columnType1[c]+")");
												 }
												 for(int k=0;k<Colnum;k++) System.out.println(columnName1[k]+" "+columnType1[k]);
											 
											} catch (FileNotFoundException e) {
												// TODO Auto-generated catch block
												e.printStackTrace();
											} catch (IOException e) {
												// TODO Auto-generated catch block
												e.printStackTrace();
											}
	        					  			 
	        					  		 
	        					    }else{
	        						try {
	        							Class.forName(((Source)S.getS().elementAt(i)).getDriver());
	        							String schema1=((Source)S.getS().elementAt(i)).getSchema();
	        							System.out.println(""+((Source)S.getS().elementAt(i)).getConnURL()+((Source)S.getS().elementAt(i)).getUseName()+((Source)S.getS().elementAt(i)).getPassword());
	        							Connection con=DriverManager.getConnection(((Source)S.getS().elementAt(i)).getConnURL(),
												((Source)S.getS().elementAt(i)).getUseName(),((Source)S.getS().elementAt(i)).getPassword());
                                        SK=((Source)S.getS().elementAt(i)).getType();
                                        SDriver=((Source)S.getS().elementAt(i)).getDriver();
	        							Statement stmt=con.createStatement();
										DatabaseMetaData m_DBMetaData =con.getMetaData();
										ResultSet rs=m_DBMetaData.getColumns(null,schema1, TableName1,"%");										
										while(rs.next()){size++;}										
										System.out.println("rs:"+size);
										columnName1=new String[size];
										columnType1=new String[size];
									
										int k=0;
										rs=m_DBMetaData.getColumns(null,schema1, TableName1,"%");
										while(rs.next()){
											columnName1[k] = rs.getString("COLUMN_NAME");
											
											columnType1[k] = rs.getString("TYPE_NAME");
											
											System.out.println(columnName1[k]+" "+columnType1[k]);
											 Dialogcombo.add(columnName1[k]+"("+columnType1[k]+")");
											k++;								
										}						
									
								
										System.out.println("");												
										rs.close();
										//stmt.close();												
										con.close();
									} catch (SQLException e) {
										// TODO Auto-generated catch block
										e.printStackTrace();

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美亚洲日本一区| 亚洲一区二区三区在线看| 热久久国产精品| 欧美在线一区二区| 亚洲一区二区三区四区中文字幕| 99久久婷婷国产综合精品电影| 国产精品国产三级国产aⅴ原创| 91视频.com| 蜜桃视频一区二区三区在线观看| 久久午夜电影网| 成人污污视频在线观看| 亚洲综合久久久久| 精品捆绑美女sm三区| 成人激情校园春色| 日本在线不卡一区| 国产欧美日韩另类视频免费观看| 91天堂素人约啪| 久久精品噜噜噜成人88aⅴ| 中文欧美字幕免费| 91麻豆精品国产无毒不卡在线观看 | 久久久久久久久99精品| www.激情成人| 久久99热99| 日日欢夜夜爽一区| 亚洲美女偷拍久久| 亚洲国产成人私人影院tom| 在线不卡中文字幕播放| 一本久久a久久精品亚洲| 国产一区二区日韩精品| 亚洲午夜精品在线| 国产精品久99| 国产亚洲欧美日韩在线一区| 欧美另类高清zo欧美| 91丝袜美腿高跟国产极品老师 | 国产毛片精品视频| 免费成人在线观看| 天天综合网 天天综合色| 一区二区三区产品免费精品久久75| 久久综合一区二区| 日韩欧美的一区| 精品福利av导航| 26uuu另类欧美| 精品久久国产字幕高潮| 久久影视一区二区| 精品av综合导航| 亚洲精品一区二区三区精华液| 777奇米四色成人影色区| 欧美一区二区在线免费播放| 亚洲桃色在线一区| 亚洲一区二区三区视频在线播放| 中文字幕一区二区三区蜜月 | 麻豆久久久久久| 精品影视av免费| 国产剧情在线观看一区二区| 视频一区视频二区中文| 日韩精品成人一区二区三区 | 91精品久久久久久久91蜜桃| 欧美日韩亚洲另类| 欧美精品久久一区| 精品福利在线导航| 日本一区二区不卡视频| 亚洲日穴在线视频| 亚洲一区成人在线| 久久国产综合精品| 成人免费视频视频在线观看免费| 99久久婷婷国产综合精品| av在线一区二区三区| 色菇凉天天综合网| 欧美日韩亚洲不卡| 国产亚洲精品资源在线26u| 亚洲色欲色欲www| 日韩国产高清影视| 不卡高清视频专区| 91麻豆精品91久久久久久清纯| 奇米影视一区二区三区小说| 亚洲欧美在线aaa| 亚洲国产精品一区二区久久| 麻豆成人久久精品二区三区红| 粉嫩av一区二区三区在线播放| 欧美中文字幕久久| 欧美刺激午夜性久久久久久久| 国产欧美一二三区| 日本aⅴ亚洲精品中文乱码| 成人综合在线网站| 91精品国产综合久久久久久久| 国产欧美一区二区精品性 | 精品在线视频一区| 日本久久一区二区三区| 久久精品在这里| 久久精品理论片| 欧美日韩色一区| 久久精品欧美日韩精品| 人禽交欧美网站| 国产亚洲一区字幕| 久久国产剧场电影| 这里只有精品电影| 日韩黄色免费网站| 欧美日韩久久久久久| 亚洲欧洲日本在线| 99久久er热在这里只有精品66| 久久精品夜色噜噜亚洲aⅴ| 国内精品免费**视频| 日韩精品一区在线| 日韩成人一级片| 欧美一区二区免费视频| 亚洲色图在线视频| 91成人在线精品| 亚洲一区二区三区四区在线| 在线一区二区三区做爰视频网站| 一区二区在线电影| 777欧美精品| 国产一区二区三区久久久| 久久精品在线免费观看| 国产伦精一区二区三区| 综合欧美亚洲日本| 欧美欧美欧美欧美首页| 久久97超碰国产精品超碰| 亚洲国产精品精华液ab| 91麻豆福利精品推荐| 亚洲第一福利一区| 国产亚洲欧美激情| 欧美人妇做爰xxxⅹ性高电影| 精品亚洲成a人在线观看| 国产精品成人网| 欧美丰满高潮xxxx喷水动漫| 青青草国产成人av片免费| 欧美精品成人一区二区三区四区| av成人免费在线观看| 一区二区三区四区五区视频在线观看 | 国产校园另类小说区| 在线观看亚洲成人| 国产一区二区不卡在线| 亚洲一区二区三区在线| 中文字幕精品一区二区精品绿巨人 | 亚洲天堂a在线| 91在线播放网址| 精品一区二区三区欧美| 一区二区三区自拍| 久久天堂av综合合色蜜桃网| 色哟哟精品一区| 国产在线精品免费| 日韩国产欧美三级| 一区二区日韩电影| 亚洲天堂久久久久久久| 欧美国产精品一区| 国产午夜一区二区三区| 亚洲欧洲精品天堂一级| 亚洲免费观看高清| 国产美女一区二区| 国产真实乱偷精品视频免| 亚洲与欧洲av电影| 亚洲视频综合在线| 中文字幕一区二区三区视频| 精品美女一区二区| 久久婷婷综合激情| 精品久久99ma| 久久一二三国产| 久久久www成人免费毛片麻豆| 日韩天堂在线观看| 在线一区二区视频| 色综合网色综合| av成人老司机| 欧美午夜精品一区二区蜜桃| 欧美亚男人的天堂| 91精品在线麻豆| 国产三级欧美三级日产三级99| 国产欧美一区视频| 日本一区二区三区国色天香| 亚洲欧美偷拍三级| 五月激情综合婷婷| 亚洲欧美视频在线观看视频| 国产精品美女www爽爽爽| 一区在线中文字幕| 日韩理论片网站| 亚洲综合久久av| 五月婷婷激情综合| 美女视频免费一区| 欧美美女一区二区| 午夜精品福利一区二区三区av| 99re成人在线| 亚洲精品成人在线| 一本久久综合亚洲鲁鲁五月天 | 成人h动漫精品一区二区| 国产.欧美.日韩| 欧美日韩成人在线一区| 国产午夜精品一区二区三区嫩草| 一区二区三区**美女毛片| 成人久久久精品乱码一区二区三区| 欧美日韩视频在线观看一区二区三区 | 国产视频一区二区在线| 免费看精品久久片| 欧美日韩在线一区二区| 亚洲人精品一区| 国产成人免费视频| 久久精品亚洲精品国产欧美kt∨ | 丝袜美腿亚洲综合| 欧美性一二三区| 亚洲一卡二卡三卡四卡| 在线观看视频欧美| 亚洲午夜在线视频|