일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | |||||
3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 | 11 | 12 | 13 | 14 | 15 | 16 |
17 | 18 | 19 | 20 | 21 | 22 | 23 |
24 | 25 | 26 | 27 | 28 | 29 | 30 |
- Apache Lucene
- asp.net
- Bootstrap
- html
- 이클립스
- decompiler
- 컬럼명
- SpringSource Tool Suite
- javascript
- 웹 서비스
- Redirect
- C#
- 웹뷰
- Eclipse
- Maven
- 안드로이드
- Web Service
- Java
- WebView
- TextBox
- scrollView
- MANTIS
- MS-SQL
- 자바스크립트
- jsp
- Android
- STS
- 자바
- MSsql
- varags
- Today
- Total
목록Java (59)
bboks.net™
자바에서 저장 프로시저를 사용하기 위한 코드는 다음과 같다. Connection con=null; ResultSet rs=null; CallableStatement cs=null; try{ String url="jdbc:oracle:thin:@00.0.0.000:1521:orcl"; String id="id"; String pass="password"; Class.forName("oracle.jdbc.driver.OracleDriver"); con = DriverManager.getConnection(url, id, pass); //프로시저 불러내고 cs=con.prepareCall("{call TEST_PR(?,?,?)}"); //인자값 넣고 cs.setString(1,"2006"); cs.setStr..
Varargs The varargs, or variable arguments, feature allows a developer to declare that a method can take a variable number of parameters for a given argument. The vararg must be the last argument in the formal argument list. You might use varargs to allow adding one to many objects to a collection that you have defined by using a single add method call. Suppose you need a method that writes any ..
A type of inner class that has no name that you define right in the middle of a method (where static init blocks and instance init blocks count as methods). You define it, and create an object of that type as a parameter all in one line. An anonymous class is defined and instantiated in a single succinct expression using the new operator.Used for creating simple delegate callback objects.These a..
Parameter (explicit parameter): Input to a method. Not all methods have explicit parameters. System.out.println(greeting) // explicit parameter is greeting greeting.length() // has no explicit parameter Implicit parameter: The object on which a method is invoked System.out.println(greeting) // implicit parameter is System.out [추가자료] http://java.about.com/od/i/g/implicitparam.htm [출처] http://akir..