|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
°³¿ä: NESTED | Çʵå | »ý¼ºÀÚ | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå |
public interface Savepoint
Connection.rollback
¸Þ¼µå·ÎºÎÅÍ ÂüÁ¶µÇ´Â ÇöÀçÀÇ Æ®·£Àè¼Ç(transaction)³»ÀÇ Æ÷ÀÎÆ®ÀÎ ¼¼ÀÌºê Æ÷ÀÎÆ®ÀÇ Ç¥ÇöÀÔ´Ï´Ù. Æ®·£Àè¼Ç(transaction)°¡ ¼¼ÀÌºê Æ÷ÀÎÆ®¿¡ ·Ñ¹é(rollback) µÇ¸é, ±× ¼¼ÀÌºê Æ÷ÀÎÆ®ÀÇ ÈÄ¿¡ ÇàÇØÁø ¸ðµç º¯°æÀÌ ¹ÙÅÁÀ¸·Î µÇµ¹·ÁÁý´Ï´Ù.
À̸§ ÷ºÎ¿Í À̸§ ¾øÀ½ÀÇ ¼¼ÀÌºê Æ÷ÀÎÆ®°¡ ÀÖ½À´Ï´Ù. À̸§ ¾øÀ½ÀÇ ¼¼ÀÌºê Æ÷ÀÎÆ®´Â ±âº»ÀÇ µ¥ÀÌÅÍ ¼Ò½º¿¡ ÀÇÇØ »ý¼ºµÇ´Â ID ·Î ½Äº°µË´Ï´Ù.
¸Þ¼µå °³¿ä | |
---|---|
int |
getSavepointId ()
ÀÌ Savepoint °´Ã¼°¡ ³ªÅ¸³»´Â ¼¼ÀÌºê Æ÷ÀÎÆ®ÀÇ »ý¼ºµÈ ID¸¦ ÃëµæÇÕ´Ï´Ù. |
String |
getSavepointName ()
ÀÌ Savepoint °´Ã¼°¡ ³ªÅ¸³»´Â ¼¼ÀÌºê Æ÷ÀÎÆ®ÀÇ À̸§À» ÃëµæÇÕ´Ï´Ù. |
¸Þ¼µåÀÇ »ó¼¼ |
---|
int getSavepointId() throws SQLException
Savepoint
°´Ã¼°¡ ³ªÅ¸³»´Â ¼¼ÀÌºê Æ÷ÀÎÆ®ÀÇ »ý¼ºµÈ ID¸¦ ÃëµæÇÕ´Ï´Ù.
SQLException
- ÀÌ ¼¼ÀÌºê Æ÷ÀÎÆ®°¡ À̸§ ÷ºÎÀÇ °æ¿ìString getSavepointName() throws SQLException
Savepoint
°´Ã¼°¡ ³ªÅ¸³»´Â ¼¼ÀÌºê Æ÷ÀÎÆ®ÀÇ À̸§À» ÃëµæÇÕ´Ï´Ù.
SQLException
- ÀÌ ¼¼ÀÌºê Æ÷ÀÎÆ®°¡ À̸§ ¾øÀ½ÀÇ °æ¿ì
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
°³¿ä: NESTED | Çʵå | »ý¼ºÀÚ | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå |
Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy µµ ÂüÁ¶ÇϽʽÿÀ.