persistentstorage/sql/SRC/Server/SqlSrvStatement.h
branchRCL_3
changeset 11 211563e4b919
parent 0 08ec8eefde2f
child 23 26645d81f48d
equal deleted inserted replaced
10:31a8f755b7fe 11:211563e4b919
     1 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 2005-2010 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     2 // All rights reserved.
     3 // This component and the accompanying materials are made available
     3 // This component and the accompanying materials are made available
     4 // under the terms of "Eclipse Public License v1.0"
     4 // under the terms of "Eclipse Public License v1.0"
     5 // which accompanies this distribution, and is available
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 //
     7 //
     8 // Initial Contributors:
     8 // Initial Contributors:
     9 // Nokia Corporation - initial contribution.
     9 // Nokia Corporation - initial contribution.
    10 //
    10 //
    11 // Contributors:
    11 // Contributors:
       
    12 // NTT DOCOMO, INC - Fix for Bug 1915 "SQL server panics when using long column type strings"
    12 //
    13 //
    13 // Description:
    14 // Description:
    14 //
    15 //
    15 
    16 
    16 #ifndef __SQLSRVSTATEMENT_H__
    17 #ifndef __SQLSRVSTATEMENT_H__
   221 	TInt ColumnSource(TInt aColumnIndex, TPtrC8& aColumnSource) const;
   222 	TInt ColumnSource(TInt aColumnIndex, TPtrC8& aColumnSource) const;
   222 	
   223 	
   223 	TInt ColumnInt(TInt aColIdx) const;
   224 	TInt ColumnInt(TInt aColIdx) const;
   224 	TInt64 ColumnInt64(TInt aColIdx) const;
   225 	TInt64 ColumnInt64(TInt aColIdx) const;
   225 	TReal ColumnReal(TInt aColIdx) const;
   226 	TReal ColumnReal(TInt aColIdx) const;
   226 	TPtrC ColumnText(TInt aColIdx) const;
   227 	TPtrC ColumnTextL(TInt aColIdx) const;
   227 	TPtrC8 ColumnBinary(TInt aColIdx) const;
   228 	TPtrC8 ColumnBinary(TInt aColIdx) const;
   228 	
   229 	
   229 	HBufC* GetDeclColumnTypesL();
   230 	const RSqlBufFlat& GetDeclColumnTypesL();
   230 	
   231 	
   231 	HSqlSrvStmtParamBuf* GetParamBufL(TInt aParamIndex, HSqlSrvStmtParamBuf::TDataType aDataType, HSqlSrvStmtParamBuf::TBufType aBufType);
   232 	HSqlSrvStmtParamBuf* GetParamBufL(TInt aParamIndex, HSqlSrvStmtParamBuf::TDataType aDataType, HSqlSrvStmtParamBuf::TBufType aBufType);
   232 	void BindParamBufL(TInt aParamIndex);
   233 	void BindParamBufL(TInt aParamIndex);
   233 		
   234 		
   234 private:
   235 private: