⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cmttransactionfactory.html

📁 非常好的 Hibernate中文API ,供各位开发参考
💻 HTML
📖 第 1 页 / 共 2 页
字号:
</TABLE>
&nbsp;
<P>

<!-- ============ FIELD DETAIL =========== -->


<!-- ========= CONSTRUCTOR DETAIL ======== -->

<A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TD>
</TR>
</TABLE>

<A NAME="CMTTransactionFactory()"><!-- --></A><H3>
CMTTransactionFactory</H3>
<PRE>
public <B>CMTTransactionFactory</B>()</PRE>
<DL>
</DL>

<!-- ============ METHOD DETAIL ========== -->

<A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT></TD>
</TR>
</TABLE>

<A NAME="getDefaultReleaseMode()"><!-- --></A><H3>
getDefaultReleaseMode</H3>
<PRE>
public <A HREF="../../../org/hibernate/ConnectionReleaseMode.html" title="class in org.hibernate">ConnectionReleaseMode</A> <B>getDefaultReleaseMode</B>()</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../org/hibernate/transaction/TransactionFactory.html" title="interface in org.hibernate.transaction">TransactionFactory</A></CODE></B></DD>
<DD>Get the default connection release mode
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/hibernate/transaction/TransactionFactory.html#getDefaultReleaseMode()">getDefaultReleaseMode</A></CODE> in interface <CODE><A HREF="../../../org/hibernate/transaction/TransactionFactory.html" title="interface in org.hibernate.transaction">TransactionFactory</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="configure(java.util.Properties)"><!-- --></A><H3>
configure</H3>
<PRE>
public void <B>configure</B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/util/Properties.html" title="class or interface in java.util">Properties</A>&nbsp;props)               throws <A HREF="../../../org/hibernate/HibernateException.html" title="class in org.hibernate">HibernateException</A></PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../org/hibernate/transaction/TransactionFactory.html" title="interface in org.hibernate.transaction">TransactionFactory</A></CODE></B></DD>
<DD>Configure from the given properties.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/hibernate/transaction/TransactionFactory.html#configure(java.util.Properties)">configure</A></CODE> in interface <CODE><A HREF="../../../org/hibernate/transaction/TransactionFactory.html" title="interface in org.hibernate.transaction">TransactionFactory</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>props</CODE> - <DT><B>Throws:</B><DD><CODE><A HREF="../../../org/hibernate/HibernateException.html" title="class in org.hibernate">HibernateException</A></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="createTransaction(org.hibernate.jdbc.JDBCContext, org.hibernate.transaction.TransactionFactory.Context)"><!-- --></A><H3>
createTransaction</H3>
<PRE>
public <A HREF="../../../org/hibernate/Transaction.html" title="interface in org.hibernate">Transaction</A> <B>createTransaction</B>(<A HREF="../../../org/hibernate/jdbc/JDBCContext.html" title="class in org.hibernate.jdbc">JDBCContext</A>&nbsp;jdbcContext,                                     <A HREF="../../../org/hibernate/transaction/TransactionFactory.Context.html" title="interface in org.hibernate.transaction">TransactionFactory.Context</A>&nbsp;transactionContext)                              throws <A HREF="../../../org/hibernate/HibernateException.html" title="class in org.hibernate">HibernateException</A></PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../org/hibernate/transaction/TransactionFactory.html" title="interface in org.hibernate.transaction">TransactionFactory</A></CODE></B></DD>
<DD>Begin a transaction and return the associated <tt>Transaction</tt> instance.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/hibernate/transaction/TransactionFactory.html#createTransaction(org.hibernate.jdbc.JDBCContext, org.hibernate.transaction.TransactionFactory.Context)">createTransaction</A></CODE> in interface <CODE><A HREF="../../../org/hibernate/transaction/TransactionFactory.html" title="interface in org.hibernate.transaction">TransactionFactory</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>jdbcContext</CODE> - The jdbc context to which the transaction belongs<DD><CODE>transactionContext</CODE> - The contract regarding the context in which this transaction will operate.<DT><B>Returns:</B><DD>Transaction<DT><B>Throws:</B><DD><CODE><A HREF="../../../org/hibernate/HibernateException.html" title="class in org.hibernate">HibernateException</A></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="isTransactionManagerRequired()"><!-- --></A><H3>
isTransactionManagerRequired</H3>
<PRE>
public boolean <B>isTransactionManagerRequired</B>()</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../org/hibernate/transaction/TransactionFactory.html" title="interface in org.hibernate.transaction">TransactionFactory</A></CODE></B></DD>
<DD>Do we require access to the JTA TransactionManager for this strategy?
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/hibernate/transaction/TransactionFactory.html#isTransactionManagerRequired()">isTransactionManagerRequired</A></CODE> in interface <CODE><A HREF="../../../org/hibernate/transaction/TransactionFactory.html" title="interface in org.hibernate.transaction">TransactionFactory</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="areCallbacksLocalToHibernateTransactions()"><!-- --></A><H3>
areCallbacksLocalToHibernateTransactions</H3>
<PRE>
public boolean <B>areCallbacksLocalToHibernateTransactions</B>()</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../org/hibernate/transaction/TransactionFactory.html" title="interface in org.hibernate.transaction">TransactionFactory</A></CODE></B></DD>
<DD>Are all transaction callbacks local to Hibernate Transactions? Or can the callbacks originate from some other source (e.g. a JTA Synchronization).
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/hibernate/transaction/TransactionFactory.html#areCallbacksLocalToHibernateTransactions()">areCallbacksLocalToHibernateTransactions</A></CODE> in interface <CODE><A HREF="../../../org/hibernate/transaction/TransactionFactory.html" title="interface in org.hibernate.transaction">TransactionFactory</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>true if callbacks only ever originate from the Hibernate <A HREF="../../../org/hibernate/Transaction.html" title="interface in org.hibernate"><CODE>Transaction</CODE></A>; false otherwise.</DL>
</DD>
</DL>
<HR>

<A NAME="isTransactionInProgress(org.hibernate.jdbc.JDBCContext, org.hibernate.transaction.TransactionFactory.Context, org.hibernate.Transaction)"><!-- --></A><H3>
isTransactionInProgress</H3>
<PRE>
public boolean <B>isTransactionInProgress</B>(<A HREF="../../../org/hibernate/jdbc/JDBCContext.html" title="class in org.hibernate.jdbc">JDBCContext</A>&nbsp;jdbcContext,                                       <A HREF="../../../org/hibernate/transaction/TransactionFactory.Context.html" title="interface in org.hibernate.transaction">TransactionFactory.Context</A>&nbsp;transactionContext,                                       <A HREF="../../../org/hibernate/Transaction.html" title="interface in org.hibernate">Transaction</A>&nbsp;transaction)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../org/hibernate/transaction/TransactionFactory.html" title="interface in org.hibernate.transaction">TransactionFactory</A></CODE></B></DD>
<DD>Determine whether an underlying transaction is in progress. <p/> Mainly this is used in determining whether to register a synchronization as well as whether or not to circumvent auto flushing outside transactions.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/hibernate/transaction/TransactionFactory.html#isTransactionInProgress(org.hibernate.jdbc.JDBCContext, org.hibernate.transaction.TransactionFactory.Context, org.hibernate.Transaction)">isTransactionInProgress</A></CODE> in interface <CODE><A HREF="../../../org/hibernate/transaction/TransactionFactory.html" title="interface in org.hibernate.transaction">TransactionFactory</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>jdbcContext</CODE> - <DD><CODE>transactionContext</CODE> - <DD><CODE>transaction</CODE> - <DT><B>Returns:</B><DD>true if an underlying transaction is know to be in effect.</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>

<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/CMTTransactionFactory.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../org/hibernate/transaction/CMTTransaction.html" title="class in org.hibernate.transaction"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../org/hibernate/transaction/JBossTransactionManagerLookup.html" title="class in org.hibernate.transaction"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../index.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="CMTTransactionFactory.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<SCRIPT type="text/javascript">
  <!--
  if(window==top) {
    document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
  }
  //-->
</SCRIPT>
<NOSCRIPT>
  <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= -->

<HR>

</BODY>
</HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -