javax.resource.cci
ÀÎÅÍÆäÀ̽º ResultSetInfo


public interface ResultSetInfo

javax.resource.cci.ResultSetInfo ÀÎÅÍÆäÀ̽º´Â, Á¢¼ÓµÈ EIS ÀνºÅϽº¿¡ ÀÇÇØ ÁغñµÈ ResultSet ÀÇ ¼­Æ÷Æ®¿¡ °üÇÑ Á¤º¸¸¦ Á¦°øÇÕ´Ï´Ù. ÄÄÆÛ³ÍÆ®´Â Connection.getResultInfo ¸Þ¼Òµå¸¦ È£ÃâÇØ, ResultSetInfo ÀνºÅϽº¸¦ ÃëµæÇÕ´Ï´Ù.

CCI ½ÇÀåÀº javax.resource.cci.ResultSetInfo ÀÎÅÍÆäÀ̽º¸¦ ¼­Æ÷Æ®Çϱâ À§Çؼ­ Çʼö°¡ ¾Æ´Õ´Ï´Ù. ÀÌ ÀÎÅÍÆäÀ̽ºÀÇ ½ÇÀåÀº, CCI °¡ ResultSet ±â´ÉÀ» ¼­Æ÷Æ®ÇÏ´Â °æ¿ì¿¡°Ô¸¸ Á¦°øµË´Ï´Ù.

°ü·Ã Ç׸ñ:
Connection , ResultSet, ConnectionMetaData

¸Þ¼ÒµåÀÇ °³¿ä
 boolean deletesAreDetected (int type)
           
 boolean insertsAreDetected (int type)
          ResultSet.rowInserted ÀÇ È£Ãâ·Î, °¡½ÃÀÇ ÇàÀÇ »ðÀÔÀ» °ËÃâÇÒ ¼ö ÀÖ´ÂÁö ¾î¶²Áö¸¦ ³ªÅ¸³À´Ï´Ù.
 boolean othersDeletesAreVisible (int type)
          ¿Ü·Î ÇàÇØÁø »èÁ¦°¡ °¡½ÃÀÎÁö ¾î¶²Áö¸¦ ³ªÅ¸³À´Ï´Ù.
 boolean othersInsertsAreVisible (int type)
          ¿Ü·Î ÇàÇØÁø »ðÀÔÀÌ °¡½ÃÀÎÁö ¾î¶²Áö¸¦ ³ªÅ¸³À´Ï´Ù.
 boolean othersUpdatesAreVisible (int type)
          ¿Ü·Î ÇàÇØÁø °»½ÅÀÌ °¡½ÃÀÎÁö ¾î¶²Áö¸¦ ³ªÅ¸³À´Ï´Ù.
 boolean ownDeletesAreVisible (int type)
           
 boolean ownInsertsAreVisible (int type)
           
 boolean ownUpdatesAreVisible (int type)
           
 boolean supportsResultSetType (int type)
          ¸®¼Ò½º ¾î´ðÅͰ¡ ResultSet ÀÇ ÇüŸ¦ ¼­Æ÷Æ®ÇÏ´ÂÁö ¾î¶²Áö¸¦ ³ªÅ¸³À´Ï´Ù.
 boolean supportsResultTypeConcurrency (int type, int concurrency)
          ¸®¼Ò½º ¾î´ðÅͰ¡, ÁöÁ¤µÈ ResultSet ÀÇ ÇüÅÂ¿Í Á¶ÇÕÇØ µ¿½Ã¿¡ ÀϾ´Â ÇüŸ¦ ¼­Æ÷Æ®ÇÏ´ÂÁö ¾î¶²Áö¸¦ ³ªÅ¸³À´Ï´Ù.
 boolean updatesAreDetected (int type)
          ResultSet.rowUpdated ¸Þ¼ÒµåÀÇ È£Ãâ·Î, °¡½ÃÀÇ ÇàÀÇ °»½ÅÀ» °ËÃâÇÒ ¼ö ÀÖ´ÂÁö ¾î¶²Áö¸¦ ³ªÅ¸³À´Ï´Ù.
 

¸Þ¼ÒµåÀÇ »ó¼¼

updatesAreDetected

public boolean updatesAreDetected(int type)
                           throws ResourceException 
ResultSet.rowUpdated ¸Þ¼ÒµåÀÇ È£Ãâ·Î, °¡½ÃÀÇ ÇàÀÇ °»½ÅÀ» °ËÃâÇÒ ¼ö ÀÖ´ÂÁö ¾î¶²Áö¸¦ ³ªÅ¸³À´Ï´Ù.
ÆÄ¶ó¹ÌÅÍ:
type - ResultSet ÀÇ ÇüÅÂ. Áï, ResultSet.TYPE_XXX
¹Ýȯ°ª:
°á°ú ¼¼Æ®ÀÇ ÇüÅ¿¡ ÀÇÇØ º¯°æÀÌ °ËÃâµÇ´Â °æ¿ì´Â true, ±×·¸Áö ¾ÊÀº °æ¿ì´Â false
¿¹¿Ü:
ResourceException - Á¤º¸ÀÇ Ãëµæ¿¡ ½ÇÆÐÇßÀ» °æ¿ì
°ü·Ã Ç׸ñ:
ResultSet.rowUpdated()

insertsAreDetected

public boolean insertsAreDetected(int type)
                           throws ResourceException 
ResultSet.rowInserted ÀÇ È£Ãâ·Î, °¡½ÃÀÇ ÇàÀÇ »ðÀÔÀ» °ËÃâÇÒ ¼ö ÀÖ´ÂÁö ¾î¶²Áö¸¦ ³ªÅ¸³À´Ï´Ù.
ÆÄ¶ó¹ÌÅÍ:
type - ResultSet ÀÇ ÇüÅÂ. Áï, ResultSet.TYPE_XXX
¹Ýȯ°ª:
°á°ú ¼¼Æ®ÀÇ ÇüÅ¿¡ ÀÇÇØ º¯°æÀÌ °ËÃâµÇ´Â °æ¿ì´Â true, ±×·¸Áö ¾ÊÀº °æ¿ì´Â false
¿¹¿Ü:
ResourceException - Á¤º¸ÀÇ Ãëµæ¿¡ ½ÇÆÐÇßÀ» °æ¿ì
°ü·Ã Ç׸ñ:
ResultSet.rowInserted()

deletesAreDetected

public boolean deletesAreDetected(int type)
                           throws ResourceException 

supportsResultSetType

public boolean supportsResultSetType(int type)
                              throws ResourceException 
¸®¼Ò½º ¾î´ðÅͰ¡ ResultSet ÀÇ ÇüŸ¦ ¼­Æ÷Æ®ÇÏ´ÂÁö ¾î¶²Áö¸¦ ³ªÅ¸³À´Ï´Ù.
ÆÄ¶ó¹ÌÅÍ:
type - ResultSet ÀÇ ÇüÅÂ. Áï, ResultSet.TYPE_XXX
¹Ýȯ°ª:
ResultSet ÀÇ ÇüŰ¡ ¼­Æ÷Æ®µÇ´Â °æ¿ì´Â true, ±×·¸Áö ¾ÊÀº °æ¿ì´Â false
¿¹¿Ü:
ResourceException - Á¤º¸ÀÇ Ãëµæ¿¡ ½ÇÆÐÇßÀ» °æ¿ì

supportsResultTypeConcurrency

public boolean supportsResultTypeConcurrency(int type,
                                             int concurrency)
                                      throws ResourceException 
¸®¼Ò½º ¾î´ðÅͰ¡, ÁöÁ¤µÈ ResultSet ÀÇ ÇüÅÂ¿Í Á¶ÇÕÇØ µ¿½Ã¿¡ ÀϾ´Â ÇüŸ¦ ¼­Æ÷Æ®ÇÏ´ÂÁö ¾î¶²Áö¸¦ ³ªÅ¸³À´Ï´Ù.
ÆÄ¶ó¹ÌÅÍ:
type - ResultSet ÀÇ ÇüÅÂ. Áï, ResultSet.TYPE_XXX
concurrency - java.sql.ResultSet ·Î Á¤ÀǵȴÙ, µ¿½Ã¿¡ ÀϾ´Â ResultSet ÀÇ ÇüÅÂ
¹Ýȯ°ª:
ÁöÁ¤µÈ Æí¼ºÀÌ ¼­Æ÷Æ®µÇ´Â °æ¿ì´Â true, ±×·¸Áö ¾ÊÀº °æ¿ì´Â false
¿¹¿Ü:
ResourceException - Á¤º¸ÀÇ Ãëµæ¿¡ ½ÇÆÐÇßÀ» °æ¿ì

othersUpdatesAreVisible

public boolean othersUpdatesAreVisible(int type)
                                throws ResourceException 
¿Ü·Î ÇàÇØÁø °»½ÅÀÌ °¡½ÃÀÎÁö ¾î¶²Áö¸¦ ³ªÅ¸³À´Ï´Ù.
ÆÄ¶ó¹ÌÅÍ:
type - ResultSet ÀÇ ÇüÅÂ. Áï, ResultSet.TYPE_XXX
¹Ýȯ°ª:
¿Ü·Î ÇàÇØÁø °»½ÅÀÌ ResultSet ÀÇ ÇüÅ¿¡ ´ëÇØ °¡½ÃÀÇ °æ¿ì´Â true, ±×·¸Áö ¾ÊÀº °æ¿ì´Â false
¿¹¿Ü:
ResourceException - Á¤º¸ÀÇ Ãëµæ¿¡ ½ÇÆÐÇßÀ» °æ¿ì

othersDeletesAreVisible

public boolean othersDeletesAreVisible(int type)
                                throws ResourceException 
¿Ü·Î ÇàÇØÁø »èÁ¦°¡ °¡½ÃÀÎÁö ¾î¶²Áö¸¦ ³ªÅ¸³À´Ï´Ù.
ÆÄ¶ó¹ÌÅÍ:
type - ResultSet ÀÇ ÇüÅÂ. Áï, ResultSet.TYPE_XXX
¹Ýȯ°ª:
¿Ü·Î ÇàÇØÁø »èÁ¦°¡ ResultSet ÀÇ ÇüÅ¿¡ ´ëÇØ °¡½ÃÀÇ °æ¿ì´Â true, ±×·¸Áö ¾ÊÀº °æ¿ì´Â false
¿¹¿Ü:
ResourceException - Á¤º¸ÀÇ Ãëµæ¿¡ ½ÇÆÐÇßÀ» °æ¿ì

othersInsertsAreVisible

public boolean othersInsertsAreVisible(int type)
                                throws ResourceException 
¿Ü·Î ÇàÇØÁø »ðÀÔÀÌ °¡½ÃÀÎÁö ¾î¶²Áö¸¦ ³ªÅ¸³À´Ï´Ù.
ÆÄ¶ó¹ÌÅÍ:
type - ResultSet ÀÇ ÇüÅÂ. Áï, ResultSet.TYPE_XXX
¹Ýȯ°ª:
¿Ü·Î ÇàÇØÁø »ðÀÔÀÌ ResultSet ÀÇ ÇüÅ¿¡ ´ëÇØ °¡½ÃÀÇ °æ¿ì´Â true, ±×·¸Áö ¾ÊÀº °æ¿ì´Â false
¿¹¿Ü:
ResourceException - Á¤º¸ÀÇ Ãëµæ¿¡ ½ÇÆÐÇßÀ» °æ¿ì

ownUpdatesAreVisible

public boolean ownUpdatesAreVisible(int type)
                             throws ResourceException 

ownInsertsAreVisible

public boolean ownInsertsAreVisible(int type)
                             throws ResourceException 

ownDeletesAreVisible

public boolean ownDeletesAreVisible(int type)
                             throws ResourceException 


Copyright 2002 Sun Microsystems, Inc. All rights reserved.
»ç¿ë¿¡´Â»ç¿ë Çã¶ô °è¾àÀÌ Àû¿ëµË´Ï´Ù.