Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

Java Êý¾Ý¿âµÄUtil

 import java.sql.CallableStatement;
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Iterator;
import com.paic.is.dispatch.TMPEntry;
import javapasswordsdk.PSDKPassword;
import javapasswordsdk.PSDKPasswordRequest;
import javapasswordsdk.exceptions.PSDKException;
public class DBUtil
{
public final static String SELECT = " select ";
public final static String from = " from ";
public final static String WHERE = " where ";
public final static String ON = " on ";
public final static String LEFT_JOIN = " left join ";
public final static String RIGHT_JOIN = " right join ";
public final static String INNER_JOIN = " inner join ";
public final static String COLUMN_SEPARATOR = " , ";
public final static String INSERT = " insert ";
public final static String INTO = " into ";
public final static String UPDATE = " update ";
public final static String SET = " set ";
public final static String LEFT_PARENTHESES = " ( ";
public final static String RIGHT_PARENTHESES = " ) ";
public final static String SINGLE_QUOTATION = "'";
public final static String TO_DATE = "to_date";
public final static String COMMA = " , ";
public final static String VALUES = " values ";
public final static String CONCATENATE_SING = "&";
public final static String CONCATENATE_STRING = "||";
public final static String CONCATENEATE_REPLACEMENT = "||'&'||";
public static String packColumnName(String columnName)
{
return " " + columnName + " ";
}

public static void executeSqlMapBatch(HashMap<String, ArrayList<String>> sqlMap)
{
if(null == sqlMap || sqlMap.size() <=0)
{
return;
}

Connection conn = DBConnection.getConnection();
Statement stmt = null;
try
{
conn.setAutoCommit(false);
stmt = conn.createStatement();
for(Iterator<String> i


Ïà¹ØÎĵµ£º

2Äêjava¹ºÎï³µ·ÖÎö

Ò».µã»÷ͼÊ飬չʾ¸ÃÊéµÄÏêϸÐÅÏ¢
 µã»÷ͼÊé→booksÒ³Ãæ→ͨ¹ýurlÖØдdisplayBook.jsp?isbn=¸ÃÊé±àºÅ →´«ÈëdisplayBooksÒ³Ãæ→
<c:set var="isbn" value="${param.isbn}"></c:set>
<c:forEach var="currentBook" items="${sessionScope.bookTitles}">
 <c:if test="${ ......

ÕûÀíÓÃJavaʵÏÖÊý×Öת»¯³É×Ö·û´®×ó±ß×Ô¶¯²¹Áã·½·¨

Java ÖиøÊý×Ö×ó±ß²¹0 £¨1£©·½·¨Ò»
import java.text.NumberFormat; public class NumberFormatTest {     public static void main(String[] args) {
        //´ý²âÊÔÊý¾Ý
        int i = 1;
  ......

javaλÔËËã

Java ¶¨ÒåµÄλÔËË㣨bitwise operators £©Ö±½Ó¶ÔÕûÊýÀàÐ͵Äλ½øÐвÙ×÷£¬ÕâЩÕûÊýÀàÐÍ°üÀ¨long£¬int£¬short£¬char£¬and byte ¡£±í4-2 ÁгöÁËλÔËË㣺
±í4.2 λÔËËã·û¼°Æä½á¹û
ÔËËã·û                     &nb ......

javaÖÐÊäÈëÊä³öµÄ×ÜÀ¨(³õѧ±Ø¿´)

µÚÒ»½Ú Êý¾ÝÁ÷µÄ»ù±¾¸ÅÄî
     Àí½âÊý¾ÝÁ÷
Á÷Ò»°ã·ÖΪÊäÈëÁ÷£¨Input Stream£©ºÍÊä³öÁ÷£¨Output Stream£©Á½À࣬µ«ÕâÖÖ»®·Ö²¢²»ÊǾø¶ÔµÄ¡£±ÈÈçÒ»¸öÎļþ£¬µ±ÏòÆäÖÐдÊý¾Ýʱ£¬Ëü¾ÍÊÇÒ»¸öÊä³öÁ÷£»µ±´ÓÆäÖжÁÈ¡Êý¾Ýʱ£¬Ëü¾ÍÊÇÒ»¸öÊäÈëÁ÷¡£µ±È»£¬¼üÅÌÖ»ÊÇÒ»¸öÊýÈËÁ÷£¬¶øÆÁÄ»ÔòÖ»ÊÇÒ»¸öÊä³öÁ÷¡£ ......

java»º´æ´¦Àí

java»º´æ¼¼ÊõÒ»£¨×ª£©
¿´Ò»Á£É³ÖеÄÊÀ½ç£¬ Ò»¶äÒ°»¨ÖеÄÌìÌᣠ°ÑÎÞÏÞÎÕÓÚÕÆÖУ¬ °ÑÓÀºãÎÕÓÚ˲¼ä¡£——ÍþÁ®• ²¼À³¿Ë
¿ªÊ¼ÌÖÂÛ»º´æ֮ǰ,ÈÃÎÒÃÇÏÈÀ´ÌÖÂÛÌÖÂÛÁíÍâÒ»¸öÎÊÌâ:ÀíÂÛºÍʵ¼ù.´Óahuaxuan½Ó´¥µÄ³ÌÐòÔ±À´¿´,ÓеijÌÐòԱƫʵ¼ù,ÓеijÌÐòԱƫÀíÂÛ,µ«ÊÇÕⶼÊDz»ºÃµÄÐÐΪ,ÀíÂÛºÍʵ¼ùͬÑùÖØÒª,ÎÒÃÇÔÚ×öºÜ¶àº ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ