Class SpringClient

  • All Implemented Interfaces:
    org.teiid.odata.api.Client

    public class SpringClient
    extends org.teiid.olingo.service.LocalClient
    • Method Detail

      • open

        public Connection open()
                        throws SQLException,
                               org.teiid.core.TeiidProcessingException
        Specified by:
        open in interface org.teiid.odata.api.Client
        Overrides:
        open in class org.teiid.olingo.service.LocalClient
        Throws:
        SQLException
        org.teiid.core.TeiidProcessingException
      • close

        public void close()
                   throws SQLException
        Specified by:
        close in interface org.teiid.odata.api.Client
        Overrides:
        close in class org.teiid.olingo.service.LocalClient
        Throws:
        SQLException
      • getConnection

        public org.teiid.jdbc.ConnectionImpl getConnection()
        Overrides:
        getConnection in class org.teiid.olingo.service.LocalClient
      • startTransaction

        public String startTransaction()
                                throws SQLException
        Specified by:
        startTransaction in interface org.teiid.odata.api.Client
        Overrides:
        startTransaction in class org.teiid.olingo.service.LocalClient
        Throws:
        SQLException
      • commit

        public void commit​(String txnId)
                    throws SQLException
        Specified by:
        commit in interface org.teiid.odata.api.Client
        Overrides:
        commit in class org.teiid.olingo.service.LocalClient
        Throws:
        SQLException
      • rollback

        public void rollback​(String txnId)
                      throws SQLException
        Specified by:
        rollback in interface org.teiid.odata.api.Client
        Overrides:
        rollback in class org.teiid.olingo.service.LocalClient
        Throws:
        SQLException