#92232# fixes for BIGINT type and new property HELPTEXT
This commit is contained in:
@@ -2,9 +2,9 @@
|
||||
*
|
||||
* $RCSfile: RowSet.cxx,v $
|
||||
*
|
||||
* $Revision: 1.91 $
|
||||
* $Revision: 1.92 $
|
||||
*
|
||||
* last change: $Author: oj $ $Date: 2001-09-18 11:24:33 $
|
||||
* last change: $Author: oj $ $Date: 2001-09-20 12:56:18 $
|
||||
*
|
||||
* The Contents of this file are made available subject to the terms of
|
||||
* either of the following licenses
|
||||
@@ -771,7 +771,7 @@ void SAL_CALL ORowSet::updateInt( sal_Int32 columnIndex, sal_Int32 x ) throw(SQL
|
||||
// -------------------------------------------------------------------------
|
||||
void SAL_CALL ORowSet::updateLong( sal_Int32 columnIndex, sal_Int64 x ) throw(SQLException, RuntimeException)
|
||||
{
|
||||
updateValue(columnIndex,(double)x);
|
||||
updateValue(columnIndex,x);
|
||||
}
|
||||
// -------------------------------------------------------------------------
|
||||
void SAL_CALL ORowSet::updateFloat( sal_Int32 columnIndex, float x ) throw(SQLException, RuntimeException)
|
||||
@@ -1618,6 +1618,8 @@ void ORowSet::execute_NoApprove_NoNewConn(ClearableMutexGuard& _rClearForNotific
|
||||
pColumn->setFastPropertyValue_NoBroadcast(PROPERTY_ID_HIDDEN,xColumn->getPropertyValue(PROPERTY_HIDDEN));
|
||||
if(xInfo.is() && xInfo->hasPropertyByName(PROPERTY_CONTROLMODEL))
|
||||
pColumn->setFastPropertyValue_NoBroadcast(PROPERTY_ID_CONTROLMODEL,xColumn->getPropertyValue(PROPERTY_CONTROLMODEL));
|
||||
if(xInfo.is() && xInfo->hasPropertyByName(PROPERTY_HELPTEXT))
|
||||
pColumn->setFastPropertyValue_NoBroadcast(PROPERTY_ID_HELPTEXT,xColumn->getPropertyValue(PROPERTY_HELPTEXT));
|
||||
}
|
||||
catch(Exception&)
|
||||
{
|
||||
@@ -1996,7 +1998,7 @@ void SAL_CALL ORowSet::setInt( sal_Int32 parameterIndex, sal_Int32 x ) throw(SQL
|
||||
// -------------------------------------------------------------------------
|
||||
void SAL_CALL ORowSet::setLong( sal_Int32 parameterIndex, sal_Int64 x ) throw(SQLException, RuntimeException)
|
||||
{
|
||||
setParameter(parameterIndex,(double)x);
|
||||
setParameter(parameterIndex,x);
|
||||
}
|
||||
// -------------------------------------------------------------------------
|
||||
void SAL_CALL ORowSet::setFloat( sal_Int32 parameterIndex, float x ) throw(SQLException, RuntimeException)
|
||||
@@ -2218,6 +2220,7 @@ ORowSetClone::ORowSetClone(ORowSet& rParent,::osl::Mutex& _rMutex)
|
||||
pColumn->setFastPropertyValue_NoBroadcast(PROPERTY_ID_WIDTH,xColumn->getPropertyValue(PROPERTY_WIDTH));
|
||||
pColumn->setFastPropertyValue_NoBroadcast(PROPERTY_ID_HIDDEN,xColumn->getPropertyValue(PROPERTY_HIDDEN));
|
||||
pColumn->setFastPropertyValue_NoBroadcast(PROPERTY_ID_CONTROLMODEL,xColumn->getPropertyValue(PROPERTY_CONTROLMODEL));
|
||||
pColumn->setFastPropertyValue_NoBroadcast(PROPERTY_ID_HELPTEXT,xColumn->getPropertyValue(PROPERTY_HELPTEXT));
|
||||
|
||||
}
|
||||
m_pColumns = new ORowSetDataColumns(rParent.m_xActiveConnection->getMetaData()->supportsMixedCaseQuotedIdentifiers(),
|
||||
|
Reference in New Issue
Block a user