1. 赋予scott用户连接权限:Grant connect to scott;
2. 在Myeclipse中新建java项目导入jdbc包(classes12.jar):右键项目 bulid path -〉add external archives 选择classes12.jar
3. 新建java文件, lianxi01.java
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.SQLExceptio...
分类:
数据库 时间:
2014-06-28 08:02:18
阅读次数:
272
之前自定义了一个AlertDialog对话框,第一次点击时正常,但第二次调用时会出现错误:java.lang.IllegalStateException: The specified child already has a parent. You must call removeView() on the child's parent first.
关于这个错误纠结了我...
分类:
移动开发 时间:
2014-06-28 07:28:39
阅读次数:
278
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.SQLException;
//import java.sql.Statement;
import java.sql.PreparedStatement;
public class lx02{
public static void main(S...
分类:
数据库 时间:
2014-06-28 07:09:10
阅读次数:
253
1. 建立表的类
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.sql.PreparedStatement;
public class lx01{
public static vo...
分类:
数据库 时间:
2014-06-27 23:26:06
阅读次数:
379
In-App Purchases have been returned and are highlighted in the table below.Your In-App Purchase has been returned. You must modify or delete the highl...
分类:
其他好文 时间:
2014-06-27 19:52:04
阅读次数:
495
题目:Linked List CycleGiven a linked list, determine if it has a cycle in it.Follow up:Can you solve it without using extra space?个人思路:1、判断一个链表是否有环,标准做法...
分类:
其他好文 时间:
2014-06-27 19:41:40
阅读次数:
165
12. You need to produce a report where each customer's credit limit has been incremented by $1000. Inthe output, the customer's last name should have ...
分类:
其他好文 时间:
2014-06-27 15:53:14
阅读次数:
225
Graph and QueriesTime limit: 3.000 secondYou are given an undirected graph withNvertexes andMedges. Every vertex in this graph has an integer value as...
分类:
其他好文 时间:
2014-06-27 15:37:28
阅读次数:
239
Find the contiguous subarray within an array (containing at least one number) which has the largest sum.
分类:
其他好文 时间:
2014-06-27 11:43:25
阅读次数:
173
[root(0)@sys1109:20:29/home/work/Code_release/bj]#scp./release.shroot@192.168.161.151:/Users/a2014102/Downloadsssh:connecttohost192.168.161.151port22:ConnectionrefusedlostconnectionSolution:Onepossiblereasonisthatbecausethesshserverdaemon,orsshd,
isnotloade..
分类:
其他好文 时间:
2014-06-27 07:06:12
阅读次数:
499