Connecting to a eXtremeDB「建议收藏」

Connecting to a eXtremeDB「建议收藏」TheeXtremeDBODBCdrivercanconnecttoaneXtremeDBdatabaseintwomanners.Thefirst(whichwerecommended)assumesthatthedriveractslikeaRemoteSQLclient.Thisisathinclientthatserializ

大家好,又见面了,我是你们的朋友全栈君。如果您正在找激活码,请点击查看最新教程,关注关注公众号 “全栈程序员社区” 获取激活教程,可能之前旧版本教程已经失效.最新Idea2022.1教程亲测有效,一键激活。

Jetbrains全系列IDE稳定放心使用

The eXtremeDB ODBC driver can connect to an eXtremeDB databasein two manners. The first (which we recommended) assumes that the driver actslike a Remote SQL client. This is a thin client that serializes SQL queries anddeserializes the results via a TCP connection to the eXtremeSQL server. Forexample, you may use the xsqlcmd utility or sample xsql, or a customapplication with SQL server enabled.

 

Secondly, the eXtremeDB ODBC driver can open a database locallyin shared memory. In this case a process which loads the ODBC driver in itsmemory space does direct access to the database in shared memory. In this casea crash of the application (or terminating it inside an opened transaction) cancause corruption of the database.

 

Both database access methods are described in “Chapter 7:McObject ODBC Driver” of the eXtremeSQL User Guide. Practically, themethod of database access depends on the string “DSN=…;” in the ODBCconfiguration file. If the DSN string has a TCP address semantic like ‘192.168.1.1:5000’or ‘localhost:5000’ (here the substring “:port_number” indicates anaddress), then the ODBC driver acts as a RemoteSQL client and tries to connectto the specified address. When the DSN string specifies just a name with no ‘:’symbol, the ODBC driver tries to connect to a local database in shared memoryby that name.

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请联系我们举报,一经查实,本站将立刻删除。

发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/181953.html原文链接:https://javaforall.net

(0)
全栈程序员-站长的头像全栈程序员-站长


相关推荐

  • 5.16 综合案例2.0-久坐提醒系统(2.2版本接口有更新)

    5.16 综合案例2.0-久坐提醒系统(2.2版本接口有更新)综合案例2.0-久坐提醒系统简介准备硬件连接图代码流程功能实现1、物联网平台开发2、设备端开发3、调试调试结果4、钉钉消息提醒4.1添加钉钉机器人4.2、IoTStudio设置简介长期久坐会损害身体健康,本案例就是为了提醒人们不要坐太久而设计的一个提醒系统。当你长时间在工位上坐着,他会通过顶顶提醒你,让你每隔一段时间活动一下筋骨。久坐提醒设备是通过人体红外检测周围区域是否有人移动,当累计检测时长超过设定值,将会在钉钉群发来提醒,每次回到座位会重新开始计时。并且提醒时间可以自行调节,默认30分钟。准备

    2022年10月1日
    0
  • webservice有哪些框架_abp开发框架

    webservice有哪些框架_abp开发框架1、JWS是Java语言对WebService服务的一种实现,用来开发和发布服务。而从服务本身的角度来看JWS服务是没有语言界限的。但是Java语言为Java开发者提供便捷发布和调用WebService服务的一种途径。JavaSE6封装了JAX-WS(JavaAPIforXML-WebServices),而JAX-WS同时支持基于SOAP的Web服务和REST风格的Web服务。

    2022年9月21日
    0
  • php一行代码获取本周一,本周日,上周一,上周日,本月一日,本月最后一日,上月一日,上月最后一日日期[通俗易懂]

    php一行代码获取本周一,本周日,上周一,上周日,本月一日,本月最后一日,上月一日,上月最后一日日期

    2022年2月15日
    46
  • mina框架是什么意思(个人年度总结框架)

    参考:http://xinsync.xju.edu.cn/index.php/archives/category/prglang/java/mina简单介绍:MINA框架是对java的NIO包的一个封装,简化了NIO程序开发的难度,封装了很多底层的细节,然开发者把精力集中到业务逻辑上来,最近做了一个相关的项目,为了备忘对MINA做一个总结。下面这个start方法用来初始化MINA:priv…

    2022年4月16日
    47
  • 三种JS截取字符串方法

    三种JS截取字符串方法转载: https://www.cnblogs.com/zccfun/p/6054533.htmlJS提供三个截取字符串的方法,分别是:slice(),substring()和substr(),它们都可以接受一个或两个参数:varstmp="rcinn.cn";使用一个参数alert(stmp.slice(3));//从第4个字符开始,截取到最后个字符;返回"nn.cn"a…

    2022年4月29日
    47
  • 一些好玩的代码_100个简单代码

    一些好玩的代码_100个简单代码1.让网页的图片都漂动起来将以下代码复制到地址框,回车。有些浏览器会把"javaScript"过滤掉,可手动添加"javaScript"2.一行代码让电脑

    2022年8月4日
    3

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注

关注全栈程序员社区公众号