summaryrefslogtreecommitdiff
path: root/cpp/demo/Database/Oracle/proc/DeptFactoryI.pc
diff options
context:
space:
mode:
authorBernard Normier <bernard@zeroc.com>2007-02-01 17:09:49 +0000
committerBernard Normier <bernard@zeroc.com>2007-02-01 17:09:49 +0000
commitabada90e3f84dc703b8ddc9efcbed8a946fadead (patch)
tree2c6f9dccd510ea97cb927a7bd635422efaae547a /cpp/demo/Database/Oracle/proc/DeptFactoryI.pc
parentremoving trace message (diff)
downloadice-abada90e3f84dc703b8ddc9efcbed8a946fadead.tar.bz2
ice-abada90e3f84dc703b8ddc9efcbed8a946fadead.tar.xz
ice-abada90e3f84dc703b8ddc9efcbed8a946fadead.zip
Expanded tabs into spaces
Diffstat (limited to 'cpp/demo/Database/Oracle/proc/DeptFactoryI.pc')
-rw-r--r--cpp/demo/Database/Oracle/proc/DeptFactoryI.pc28
1 files changed, 14 insertions, 14 deletions
diff --git a/cpp/demo/Database/Oracle/proc/DeptFactoryI.pc b/cpp/demo/Database/Oracle/proc/DeptFactoryI.pc
index 1d72b58d0db..e6bcdd56145 100644
--- a/cpp/demo/Database/Oracle/proc/DeptFactoryI.pc
+++ b/cpp/demo/Database/Oracle/proc/DeptFactoryI.pc
@@ -62,13 +62,13 @@ DeptFactoryI::findAll(const Ice::Current& current)
for(;;)
{
- EXEC SQL FETCH depCursor1 INTO :deptno;
+ EXEC SQL FETCH depCursor1 INTO :deptno;
- Ice::Identity deptId;
- deptId.category = _deptCategory;
- deptId.name = encodeName(deptno);
+ Ice::Identity deptId;
+ deptId.category = _deptCategory;
+ deptId.name = encodeName(deptno);
- result.push_back(HR::DeptPrx::uncheckedCast(current.adapter->createProxy(deptId)));
+ result.push_back(HR::DeptPrx::uncheckedCast(current.adapter->createProxy(deptId)));
}
EXEC SQL CLOSE depCursor1;
@@ -94,13 +94,13 @@ DeptFactoryI::findByName(const string& name, const Ice::Current& current)
for(;;)
{
- EXEC SQL FETCH depCursor2 INTO :deptno;
+ EXEC SQL FETCH depCursor2 INTO :deptno;
- Ice::Identity deptId;
- deptId.category = _deptCategory;
- deptId.name = encodeName(deptno);
+ Ice::Identity deptId;
+ deptId.category = _deptCategory;
+ deptId.name = encodeName(deptno);
- result.push_back(HR::DeptPrx::uncheckedCast(current.adapter->createProxy(deptId)));
+ result.push_back(HR::DeptPrx::uncheckedCast(current.adapter->createProxy(deptId)));
}
EXEC SQL CLOSE depCursor2;
@@ -121,11 +121,11 @@ DeptFactoryI::findDeptByNo(int deptno, const Ice::Current& current)
//
try
{
- prx->ice_ping();
+ prx->ice_ping();
}
catch(const Ice::ObjectNotExistException&)
{
- return 0;
+ return 0;
}
return HR::DeptPrx::uncheckedCast(prx);
@@ -144,11 +144,11 @@ DeptFactoryI::findEmpByNo(int empno, const Ice::Current& current)
//
try
{
- prx->ice_ping();
+ prx->ice_ping();
}
catch(const Ice::ObjectNotExistException&)
{
- return 0;
+ return 0;
}
return HR::EmpPrx::uncheckedCast(prx);