腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
文章
问答
(9999+)
视频
沙龙
1
回答
从Pro*C连接获得
OCCI
连接?
c++
、
oracle
、
unix
、
oracle-pro-c
、
occi
我们维护大量用C++编写的组件,这些组件在
Linux
、Solaris、AIX和HP/UX下运行,这些组件使用Pro*C连接到Oracle数据库。是否有可能从这获得一个
OCCI
连接,这样我就可以让基类实现完好无损,但在组件中使用
OCCI
吗?
浏览 9
提问于2011-11-01
得票数 3
1
回答
在"Oracle
linux
“上
编译
OCCI
c++
、
linux
、
oracle
我正在尝试开发一些应用程序使用甲骨文与
OCCI
在c++。我成功安装了"oracle
linux
“和oracle db 12c。我假设
OCCI
包含了db作为它的一部分,所以我只是尝试
编译
下面的代码,如下所示。g++ -std=c++11 one.cc -o mm#include <
occi
.h>return 0;}fatal error:
occi
浏览 13
提问于2016-06-22
得票数 0
1
回答
在
Linux
中用g++
编译
OCCI
c++
、
oracle
、
g++
、
occi
我试图用
OCCI
库
编译
一个基本程序。g++ -I./test.cpp:170: undefined reference to `oracle::
occi
::Environment::terminateEnvironment(oracle::
occi
::()' /home/xxx/
occi
/test.cpp:158: undefined reference to `oracle::
occi
::S
浏览 14
提问于2012-06-12
得票数 0
1
回答
OCCI
与GCC在SOLARIS中
oracle
、
unix
、
solaris
、
occi
我们正在尝试将
OCCI
与GCC一起使用。
OCCI
是使用sun studio
编译
器
编译
的。有没有可能将
OCCI
与GCC一起使用,而不是sun本机
编译
器CC?
浏览 0
提问于2016-05-30
得票数 1
3
回答
Ubuntu 24960:属性OCI_ATTR_USERNAME大于最大允许长度255个
oracle
、
ubuntu
、
occi
我试图在Ubuntu上运行以下测试程序,以便使用即时客户端
OCCI
库连接到oracle数据库。#include <iostream>int main() { env->terminateConnection(conn); Environment::terminateEnvironment(e
浏览 9
提问于2017-03-19
得票数 3
回答已采纳
1
回答
具有C++错误的
OCCI
: TNS:net服务名未正确指定
c++
、
oracle
、
occi
我已经创建了一个简单的C++程序来连接Oracle
OCCI
和一个OracleDB实例。代码如下:#include <string>const std::::
occi
::Connection *conn = env->createConnection(userName, password, connectString);
浏览 11
提问于2020-04-27
得票数 1
2
回答
与gcc 5的
OCCI
联动误差
linux
、
c++11
、
gcc
、
occi
这导致
OCCI
库的链接错误:#include <iostream>using namespace oracle::
occi
;{ Connection *conn; gmake: **
浏览 4
提问于2015-08-31
得票数 1
2
回答
如何让Oracle C++调用接口(
OCCI
)在Visual Studio上运行?
oracle
、
visual-c++
、
visual-studio-2017
、
oracle-sqldeveloper
、
occi
我一直在搜索,我发现Oracle有Oracle C++调用接口(
OCCI
),使用它我可以实现我想要的。 我的问题是,有人知道我到底需要做什么才能让
OCCI
在Visual Studio上工作?
浏览 72
提问于2020-03-26
得票数 0
回答已采纳
2
回答
c++程序与Oracle的连接
c++
、
oracle
、
g++
、
database-connection
、
occi
我的C++程序是(我正在使用ubuntu中的g++
编译
器),#include <iostream> { oracle::
occi
::Environment *env = oracle::
occi
::Environment::createEnvironment(); oracle::
occi
*conn = env->createConnection(&quo
浏览 1
提问于2017-10-17
得票数 1
1
回答
利用
occi
库实现c++程序与Oracle的连接
c++
、
oracle
、
g++
、
mingw-w64
、
occi
我现在的C++程序是(我在windows中使用mingw64 g++
编译
器): #include <
occi
.h> { using namespace std; Connection *connenv->createConnection ("dasdas", "dasdas&quo
浏览 51
提问于2019-04-01
得票数 1
2
回答
使用
occi
为oracle db编写udf时出错
c++
、
oracle
、
oracle11g
我正在尝试使用头
occi
.h代码
编译
cpp代码,我使用的代码是#include <
occi
.h> oracle::
occi
::Connection *con; oracle::<e
浏览 0
提问于2017-05-12
得票数 0
1
回答
OCCI
链接:未定义的符号
c++
、
oracle
、
solaris
、
sparc
、
occi
我正在使用
OCCI
,但是我们很难在Solaris 11中链接。在
Linux
(OpenSUSE和Mint)中,解决方案“就像魅力一样”工作,而在Solaris 11中则不然。我正在使用Netbeans并在Solaris 11中远程
编译
。 g++ -m64 -c -g -std=c++98 -MMD -MP -MF“build/Debug/GNU Sparc/main.o.d”-o build/Debug/GNUpaineldae
浏览 0
提问于2018-04-09
得票数 0
1
回答
在C++中使用Qt在
Linux
上连接到Oracle DB
c++
、
linux
、
database
、
oracle
、
qt
我已经阅读了
OCCI
的Oracle文档,但我对文档的理解存在严重问题。我在
Linux
计算机上安装了Instant Client,并尝试使用SQL*Plus进行设置,一切正常。我尝试过库SQLAPI++,但无法
编译
代码。但是,我尝试使用
OCCI
。 我还没有找到一个有用的教程。甲骨文文档并不能帮助理解。 现在,我如何使用Qt连接到数据库?
浏览 21
提问于2019-05-11
得票数 0
回答已采纳
1
回答
为node-mapnik构建
occi
插件
node.js
、
mapnik
、
oracle-spatial
、
occi
'
occi
':{'default':False,'path':'
OCCI
','inc':'
occi
.h','lib':'clntsh','lang':'C++'},
OCCI
_INCLUDES = '/usr/lib/oracle&
浏览 3
提问于2016-10-27
得票数 0
3
回答
为什么在我的`readSQL`方法中`getVector`的时候会得到OCI-30757?
c++
、
oracle
、
occi
我正在升级我们的应用程序以使用最新的Oracle Instant Client库(
linux
-x64 v21.1.0.0.0),并且我遇到了一个我们以前从未见过的新异常。oracle::
occi
::getVector(stream, mNames); // std::vector<std::string>为了支持新的
occi
版本,我们需要对readSQL方法进行一些更改吗下面是callstack: oracle::
occi
::SQLException::SQLException(ora
浏览 2
提问于2021-07-03
得票数 0
2
回答
与Oracle
OCCI
和g++ 7.1的兼容性问题
c++
、
oracle
、
g++
、
occi
、
oracle18c
我正在尝试用
OCCI
(版本11,12,18,都会导致下面解释的相同问题)创建一个C++应用程序,使用的是gcc 7.1。下面的应用程序可以在RHEL7下的gcc 4.8.5下
编译
和运行得很好,但在使用gcc 7.1
编译
时会抛出错误ORA-24960: the attribute OCI_ATTR_USERNAME is似乎解决了这个问题,但在我的情况下,降级到较低的
编译
器版本是没有选择的,因为我需要将
OCCI
调用集成到一个更大的应用程序中,该应用程序依赖于gcc 7.1。下面是一个MCVE,用于简单地
浏览 2
提问于2018-08-29
得票数 0
1
回答
从vc++链接到oci库时出错
visual-c++
、
c++-cli
、
oracle-call-interface
(我使用visual c++ 2005)我包含了oci中的所有lib文件,并将它们包含在额外的依赖项中,但是当我
编译
以下代码时,我得到了链接器错误。::Environment* environment; oracle::
occi
::Statement* stmt;oracle::
occi
::ResultSet* res; environment = oracle::
occi
::Environment::c
浏览 8
提问于2011-03-09
得票数 2
回答已采纳
6
回答
甲骨文C++
linux
和更奇怪的东西
c++
、
windows
、
linux
、
eclipse
、
oracle
我有一个使用
Linux
和更多开源工具的设备(顺便说一下,它是一个ARM)。我的任务是用它创建一些神奇的收银机应用程序。#include <
occi
.h> Environment *envEnvironment::terminateEnvironment(env);} 链接到"${workspace_loc:
浏览 0
提问于2009-11-27
得票数 0
回答已采纳
1
回答
Ubuntu16.04LTS和Oracle即时客户端- C++链接错误
c++
、
oracle
、
ubuntu-14.04
、
instantclient
、
ubuntu-16.04
编译
该项目在两台机器上正确运行,但问题是在Ubuntu16.04上链接。我不断地发现以下错误:build/Release/GNU-
Linu
浏览 15
提问于2016-04-22
得票数 1
1
回答
oracle
occi
ResultSet::next()核心转储
c++
、
oracle
、
occi
/usr/java/jdk1.7.0_67-cloudera/jre/lib/amd64/server/libjvm.so#6 0x00007ff5fe8f218e in LdiInterFromArray () from /home/zhaojuan/project/DataType/thirdparty/
浏览 4
提问于2016-10-11
得票数 0
点击加载更多
热门
标签
更多标签
云服务器
ICP备案
对象存储
云点播
即时通信 IM
活动推荐
运营活动
广告
关闭
领券