<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
    xmlns:content="http://purl.org/rss/1.0/modules/content/"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
    xmlns:atom="http://www.w3.org/2005/Atom">
    <channel>
        <title>database connection — Sahi Pro Community</title>
        <link>https://community.sahipro.com/forums/</link>
        <pubDate>Fri, 13 Nov 2026 00:33:53 +0000</pubDate>
        <language>en</language>
            <description>database connection — Sahi Pro Community</description>
    <atom:link href="https://community.sahipro.com/forums/discussions/tagged/feed.rss" rel="self" type="application/rss+xml"/>
    <item>
        <title>Excel update _getDB</title>
        <link>https://community.sahipro.com/forums/discussion/1293/excel-update-getdb</link>
        <pubDate>Wed, 09 Dec 2009 05:20:34 +0000</pubDate>
        <category>Sahi - Open Source</category>
        <dc:creator>chejness</dc:creator>
        <guid isPermaLink="false">1293@/forums/discussions</guid>
        <description><![CDATA[Hi Team,<br />
<br />
I am still stuck with the connect to database problem!<br />
I tried the same with the excel sheet too.<br />
None of the options working for me.<br />
Checked the post:<br />
<a href="/forums/home/leaving?target=http%3A%2F%2Fsahi.co.in%2Fforums%2Fviewtopic.php%3Fid%3D1075" rel="nofollow">http://sahi.co.in/forums/viewtopic.php?id=1075</a><br />
Made the necessary changes.<br />
Still it doesn't seem to work!<br />
May be I have missed out something very crucial there.<br />
Can you please check and let me know the fix?<br />
<br />
<br />
The script is:<br />
var db = _getDB(&quot;sun.jdbc.odbc.JdbcOdbcDriver&quot;, &quot;jdbc:odbc:Driver={Microsoft Excel Driver (*.xls)};DBQ=C:\\sahi\\scripts\\testSheet.xls;readOnly=false&quot;, &quot;&quot;, &quot;&quot;);<br />
_alert(&quot;db end&quot;);<br />
db.update(&quot;update [Sheet1$] set Age=21 where Name='Aby'&quot;);<br />
_alert(&quot;db update end&quot;);<br />
var $rs = db.select(&quot;select * from [Sheet1$]&quot;);<br />
_assertEqual('Aby', $rs[0][&quot;Name&quot;]);<br />
<br />
This is not updating the excel sheet!!<br />
<br />
Please let me know how to resolve this problem.]]>
        </description>
    </item>
    <item>
        <title>_getDB</title>
        <link>https://community.sahipro.com/forums/discussion/1227/getdb</link>
        <pubDate>Mon, 26 Oct 2009 10:19:26 +0000</pubDate>
        <category>Sahi - Open Source</category>
        <dc:creator>chejness</dc:creator>
        <guid isPermaLink="false">1227@/forums/discussions</guid>
        <description><![CDATA[Hi Team,<br />
<br />
<br />
I am unable to read data from database by using the<br />
_getDB option:<br />
<br />
My sahi.bat is:<br />
<br />
cd /d %~dp0<br />
SET EXT_CLASS_PATH=..\extlib\db\mysql-connector-java-5.0.4-bin.jar;C:\sahi\extlib\classes12.jar;<br />
SET SAHI_CLASS_PATH=..\lib\sahi.jar;..\extlib\rhino\js.jar;..\extlib\apc\commons-codec-1.3.jar;<br />
java -classpath C:\sahi\extlib\classes12.jar;../lib/sahi.jar net.sf.sahi.Proxy<br />
<br />
my code is:<br />
<br />
var db = _getDB(&quot;oracle.jdbc.driver.OracleDriver&quot;, &quot;jdbc:oracle:thin:<a href="https://community.sahipro.com/forums/profile/host" rel="nofollow">@host</a>:port:sid&quot;, &quot;usrname&quot;, &quot;pwd&quot;);<br />
var $rs = db.select(&quot;select * from emptable where emp_name = 'chej'&quot;);<br />
_wait(1000);<br />
_alert($rs);<br />
_assertEqual(&quot;nes&quot;, $rs[0][&quot;emp_name&quot;]);<br />
<br />
Please let me know what is the error.]]>
        </description>
    </item>
   </channel>
</rss>
