<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/">
    <channel>
        <title>CUBRID Q&amp;A</title>
        <link>http://www.cubrid.org/?mid=questions</link>
        <description>CUBRID Q&amp;A</description>
        <language>en</language>
        <pubDate>Fri, 21 Oct 2011 02:37:10 -0800</pubDate>
        <lastBuildDate>Mon, 20 May 2013 01:15:17 -0800</lastBuildDate>
        <generator>XpressEngine 1.4.4.1</generator>
                        										        <item>
            <title>cub_master: Cannot bind local address... aborting.... Permission denied</title>
            <dc:creator>Laura Oh</dc:creator>
            <link>http://www.cubrid.org/questions/660586</link>
            <guid isPermaLink="true">http://www.cubrid.org/questions/660586</guid>
                                    <description><![CDATA[<p>[cub_user@71 conf]$ cubrid service start<br />@ cubrid master start<br />cub_master:  Cannot bind local address... aborting.... Permission denied<br />++ cubrid master  start: fail<br />@ cubrid broker start<br />++ cubrid broker start: success<br />@  cubrid manager server start<br />++ cubrid manager server start: success</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>I encountered the error message saying "Cannot bind local address... aborting.... Permission denied" when runnuing master process. What can I do?</p>
<p><br /> <br /></p>]]></description>
                        <pubDate>Sun, 19 May 2013 23:06:56 -0800</pubDate>
                        <category>cub_master</category>
                        <category>Error Code</category>
                                    <slash:comments>2</slash:comments>
                    </item>
        										        <item>
            <title>Join between multiple Shard</title>
            <dc:creator></dc:creator>
            <link>http://www.cubrid.org/questions/617483</link>
            <guid isPermaLink="true">http://www.cubrid.org/questions/617483</guid>
                                    <description><![CDATA[<p>Hi,</p>
<p>I might miss this out when skimming tru the docs. How do we run query (join) accross multiple shard? if I had few tables in the join that is sharded and they are shard base on different columns, how will the performance like? any best practices or things to avoids?</p>]]></description>
                        <pubDate>Wed, 20 Mar 2013 20:17:56 -0800</pubDate>
                        <category>Sharding</category>
                                    <slash:comments>1</slash:comments>
                    </item>
        										        <item>
            <title>I forgot my DB password. How can I reset it?</title>
            <dc:creator>Laura Oh</dc:creator>
            <link>http://www.cubrid.org/questions/615780</link>
            <guid isPermaLink="true">http://www.cubrid.org/questions/615780</guid>
                                    <description><![CDATA[<p>The previoud employee used auto-saveed DB's password in the client tool. Unfortunately he didn't tell me what it is.</p>
<p>I cannot access a DB. On the console, is it possible to reset DB password? I know DBA is a username.</p>
<p>&nbsp;</p>]]></description>
                        <pubDate>Mon, 18 Mar 2013 19:20:04 -0800</pubDate>
                        <category>password</category>
                                    <slash:comments>1</slash:comments>
                    </item>
        										        <item>
            <title>[CUBRID][ODBC CUBRID Driver][-1006]Server handle not found</title>
            <dc:creator>Laura Oh</dc:creator>
            <link>http://www.cubrid.org/questions/615754</link>
            <guid isPermaLink="true">http://www.cubrid.org/questions/615754</guid>
                                    <description><![CDATA[<p style="font: 11.81px/17.27px NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, 맑은고딕, Dotum, 돋움; margin: 0px; padding: 0px; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; background-color: #ffffff;">I am developing my application with CUBRID ODBC.</p>
<p style="font: 11.81px/17.27px NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, 맑은고딕, Dotum, 돋움; margin: 0px; padding: 0px; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; background-color: #ffffff;">When querying with SELECT, fetching the result works fine. When the last data doesn't exist, it should return False so to end up While loop, however it returns the following error after reader.Read()</p>
<p style="font: 11.81px/17.27px NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, 맑은고딕, Dotum, 돋움; margin: 0px; padding: 0px; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; background-color: #ffffff;">&nbsp;</p>
<p jquery1363659892884="14"><span style="background-color: #c0c0c0;">ERROR [HY000] [CUBRID][ODBC CUBRID  Driver][-1006]Server handle not found</span></p>
<p jquery1363659892884="15"><span style="background-color: #c0c0c0;">ERROR [01000] [CUBRID][ODBC CUBRID Driver][0]Fetch  error</span></p>
<p style="font: 11.81px/17.27px NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, 맑은고딕, Dotum, 돋움; margin: 0px; padding: 0px; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; background-color: #ffffff;">&nbsp;</p>
<p style="font: 11.81px/17.27px NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, 맑은고딕, Dotum, 돋움; margin: 0px; padding: 0px; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; background-color: #ffffff;">As I said, obtaining results is fine but that error seems a little uncomportable.</p>
<p style="font: 11.81px/17.27px NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, 맑은고딕, Dotum, 돋움; margin: 0px; padding: 0px; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; background-color: #ffffff;">&nbsp;</p>
<p style="font: 11.81px/17.27px NanumGothic, 나눔고딕, &quot;Malgun Gothic&quot;, 맑은고딕, Dotum, 돋움; margin: 0px; padding: 0px; color: #000000; text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; background-color: #ffffff;">&nbsp;</p>]]></description>
                        <pubDate>Mon, 18 Mar 2013 18:31:46 -0800</pubDate>
                        <category>Error Code</category>
                        <category>odbc</category>
                                    <slash:comments>1</slash:comments>
                    </item>
        										        <item>
            <title>I encountered Error code= -41 and Error code= -52 Internal error: object overflow address 0|760|-1 may be corrupted</title>
            <dc:creator>Laura Oh</dc:creator>
            <link>http://www.cubrid.org/questions/583157</link>
            <guid isPermaLink="true">http://www.cubrid.org/questions/583157</guid>
                                    <description><![CDATA[<p>From today, all of sudden it is unable to select data.</p>
<p>&nbsp;</p>
<p>When tried the 1st query, the error was -493</p>
<p>Error messages in a SQL log file: <br />Syntax: Internal error: object overflow address 0|760|-1 may be corrupted. select * from scan_temp where (rownum between 1 and 5000)</p>
<p>I searched how to handle this, and the link <a href="http://www.cubrid.com/zbxe/346902">http://www.cubrid.com/zbxe/346902</a> said I should try "cubrid checkdb" so I did.</p>
<p>
<div style="border: #666 1px dotted; border-left: #2AE 5px solid; padding: 5px; background: #FAFAFA url(/modules/editor/components/code_highlighter/code.png) no-repeat top right;" nogutter="false" collapse="false" first_line="1" code_type="Plain" editor_component="code_highlighter">cubrid&nbsp;chckdb&nbsp;-S&nbsp;-r&nbsp;[databasename]</div>
<br /> <br />then I have found different error codes(-41 and -52) the log file of [databasename]_checkdb :  <br />Time: 02/07/13 10:36:29.408 - ERROR *** file ..&#92;..&#92;src&#92;storage&#92;file_manager.c, line 5089 ERROR CODE = -41 Tran = 1, EID = 1<br />Internal error: Page 1|14377(volume "C:&#92;CUBRID&#92;DATABA~1&#92;EB_SCA~1&#92;EB_SCAN_TR_x001") is not part of file VFID 0|9219(volume "C:&#92;CUBRID&#92;DATABA~1&#92;EB_SCA~1&#92;EB_SCAN_TR").<br /> <br />Time: 02/07/13 10:36:29.409 - ERROR *** file ..&#92;..&#92;src&#92;storage&#92;overflow_file.c, line 977 ERROR CODE = -52 Tran = 1, EID = 2<br />Internal error: object overflow address 0|760|-1 may be corrupted.<br /> <br />---------------------------<br /> <br />I also tried to backup with cubrid backupdb utility, but failed.</p>
<p>How should I do?</p>]]></description>
                        <pubDate>Tue, 12 Feb 2013 17:42:22 -0800</pubDate>
                        <category>Error Code</category>
                        <category>backupdb</category>
                        <category>checkdb</category>
                        <category>database volume</category>
                                    <slash:comments>2</slash:comments>
                    </item>
        										        <item>
            <title>Error: 13 An I/O error occurred while reading page 16384 of volume ..Invalid argument</title>
            <dc:creator>Laura Oh</dc:creator>
            <link>http://www.cubrid.org/questions/583143</link>
            <guid isPermaLink="true">http://www.cubrid.org/questions/583143</guid>
                                    <description><![CDATA[<p>I am using CUBRID 2008 R2.2 version on Windows 2003 for years and recently the following error occurs :</p>
<p>02/12/13 11:44:44.965  ERROR  -13  1  37  An I/O error occurred while reading page 16384 of volume "C:&#92;CUBRID&#92;databases&#92;SPOMS&#92;SPOMS_data_x001".... Invalid argument</p>
<p>&nbsp;</p>
<p>I have seen many times these days. What happened in our CUBRID server and how can I solve the problem?</p>
<p>&nbsp;</p>
<p>&nbsp;</p>]]></description>
                        <pubDate>Tue, 12 Feb 2013 17:21:31 -0800</pubDate>
                        <category>Error Code</category>
                        <category>database volume</category>
                                    <slash:comments>1</slash:comments>
                    </item>
        										        <item>
            <title>Strange behavior in HA mode</title>
            <dc:creator></dc:creator>
            <link>http://www.cubrid.org/questions/541665</link>
            <guid isPermaLink="true">http://www.cubrid.org/questions/541665</guid>
                                    <description><![CDATA[<p style="line-height: 1;">Hi!</p>

<p style="line-height: 1;">

</p>

<p style="line-height: 1;">I setup a ha cluster with master+slave following this tutorial:&nbsp;<a href="/manual/843/en/CUBRID%20HA" target="_self">http://www.cubrid.org/manual/843/en/CUBRID%20HA</a>.</p>

<p style="line-height: 1;">

</p>

<p style="line-height: 1;">I called my nodes : <b>cubrid</b> and <b>cubrid2</b>.</p>

<p style="line-height: 1;">

</p>

<p style="line-height: 1;">All nodes have this in <i>cubrid.conf</i>:</p>

<p style="line-height: 1;">

</p>

<p style="line-height: 1;"></p>

<div editor_component="code_highlighter" code_type="Plain" title="" first_line="1" collapse="false" highlight="" nogutter="false" style="border:#666 1px dotted;border-left:#2AE 5px solid;padding:5px;background:#FAFAFA url('./modules/editor/components/code_highlighter/code.png') no-repeat top right;">[@demodb]<br />
ha_mode=on<br />
force_remove_log_archives=no<br />
log_max_archives=100</div>

<p></p>

<p style="line-height: 1;"><i>cubrid_ha.conf</i>:</p>

<p></p>

<p style="line-height: 1;"></p>

<div editor_component="code_highlighter" code_type="Plain" title="" first_line="1" collapse="false" highlight="" nogutter="false" style="border:#666 1px dotted;border-left:#2AE 5px solid;padding:5px;background:#FAFAFA url('./modules/editor/components/code_highlighter/code.png') no-repeat top right;">[common]<br />
ha_copy_sync_mode=sync:sync<br />
ha_port_id=59901<br />
ha_node_list=demodb@cubrid:cubrid2<br />
ha_db_list=demodb<br />
ha_apply_max_mem_size=500</div>

<p></p>

<p style="line-height: 1;"><br /></p>

<p></p>

<p><span style="line-height: 13px;"></span></p>

<div editor_component="code_highlighter" code_type="Bash" title="" first_line="1" collapse="false" highlight="" nogutter="false" style="border:#666 1px dotted;border-left:#2AE 5px solid;padding:5px;background:#FAFAFA url('./modules/editor/components/code_highlighter/code.png') no-repeat top right;">cubrid@cubrid:~$&nbsp;cubrid&nbsp;heartbeat&nbsp;status<br />
@&nbsp;cubrid&nbsp;heartbeat&nbsp;list<br />
&nbsp;HA-Node&nbsp;Info&nbsp;(current&nbsp;cubrid,&nbsp;state&nbsp;master)<br />
&nbsp;&nbsp;&nbsp;Node&nbsp;cubrid2&nbsp;(priority&nbsp;2,&nbsp;state&nbsp;slave)<br />
&nbsp;&nbsp;&nbsp;Node&nbsp;cubrid&nbsp;(priority&nbsp;1,&nbsp;state&nbsp;master)<br />
&nbsp;HA-Process&nbsp;Info&nbsp;(master&nbsp;882,&nbsp;state&nbsp;master)<br />
&nbsp;&nbsp;&nbsp;Applylogdb&nbsp;demodb@localhost:/var/opt/cubrid/databases/demodb_cubrid2&nbsp;(pid&nbsp;3342,&nbsp;state&nbsp;registered)<br />
&nbsp;&nbsp;&nbsp;Copylogdb&nbsp;demodb@cubrid2:/var/opt/cubrid/databases/demodb_cubrid2&nbsp;(pid&nbsp;3340,&nbsp;state&nbsp;registered)<br />
&nbsp;&nbsp;&nbsp;Server&nbsp;demodb&nbsp;(pid&nbsp;3123,&nbsp;state&nbsp;registered_and_active)<br />
<br />
<br />
cubrid@cubrid2:~$&nbsp;cubrid&nbsp;heartbeat&nbsp;status<br />
@&nbsp;cubrid&nbsp;heartbeat&nbsp;list<br />
<br />
&nbsp;HA-Node&nbsp;Info&nbsp;(current&nbsp;cubrid2,&nbsp;state&nbsp;slave)<br />
&nbsp;&nbsp;&nbsp;Node&nbsp;cubrid2&nbsp;(priority&nbsp;2,&nbsp;state&nbsp;slave)<br />
&nbsp;&nbsp;&nbsp;Node&nbsp;cubrid&nbsp;(priority&nbsp;1,&nbsp;state&nbsp;master)<br />
&nbsp;HA-Process&nbsp;Info&nbsp;(master&nbsp;2478,&nbsp;state&nbsp;slave)<br />
&nbsp;&nbsp;&nbsp;Applylogdb&nbsp;demodb@localhost:/var/opt/cubrid/databases/demodb_cubrid&nbsp;(pid&nbsp;2704,&nbsp;state&nbsp;registered)<br />
&nbsp;&nbsp;&nbsp;Copylogdb&nbsp;demodb@cubrid:/var/opt/cubrid/databases/demodb_cubrid&nbsp;(pid&nbsp;2702,&nbsp;state&nbsp;registered)<br />
&nbsp;&nbsp;&nbsp;Server&nbsp;demodb&nbsp;(pid&nbsp;2485,&nbsp;state&nbsp;registered)</div>

<p>When I do some benchmark on the node "cubrid2", I can see node "cubrid" sending the data to cubrid2 then cubrid2 to my client. Using "top" command I can see node "cubrid" becomes busy with many INSERT, where as node "cubrid2" idle.</p>

<p>When I shutdown the node "cubrid", "cubrid2" becomes the new master but I can't send any query to cubrid2, it times out (trying to fetch data from node "cubrid"). When node "cubrid" is back, cubrid2 answer (I have to reload the heartbeat).</p>


<p>I'm using CUBRID version 8.4.3 from Ubuntu (12.04) repository</p>

<p>Thanks!</p>]]></description>
                        <pubDate>Wed, 02 Jan 2013 00:54:07 -0800</pubDate>
                        <category>HA</category>
                                    <slash:comments>3</slash:comments>
                    </item>
        										        <item>
            <title>비동기 질문</title>
            <dc:creator></dc:creator>
            <link>http://www.cubrid.org/questions/543339</link>
            <guid isPermaLink="true">http://www.cubrid.org/questions/543339</guid>
                                    <description><![CDATA[<p>node.js에서 node-cubrid를 이용 중인데요.</p>

<p>한번에 여러 query()를 보내니, 'Another query is already in progress! - denying current query request.' 라는 메시지가 나옵니다. 아무래도 비동기를 지원하지 않는 것 같은데요.</p>

<p>node.js는 근본이 비동기인데, 쿼리 실행할때마다, 커넥션 새로 맺고 쿼리 실행하고 하면, 잘 버틸 수 있을지 의문이 들구요. 한가지 불편한 것은 비동기 방식으로 작성하다가, cubrid에서만 동기 방식으로 작성해야되니, 여러가지를 고려 안할 수가 없네요. mysql 모듈은 비동기를 잘 지원하던데, cubrid는 비동기 지원이 힘든건가요?</p>]]></description>
                        <pubDate>Thu, 03 Jan 2013 20:25:25 -0800</pubDate>
                        <category>nodejs</category>
                                    <slash:comments>1</slash:comments>
                    </item>
        										        <item>
            <title>CM returns: &quot;-2003 Cannot communicate with broker&quot;</title>
            <dc:creator>Laura Oh</dc:creator>
            <link>http://www.cubrid.org/questions/487976</link>
            <guid isPermaLink="true">http://www.cubrid.org/questions/487976</guid>
                                    <description><![CDATA[<p>


I am using CUBRID Manager with CUBRID 2008 R2.2&nbsp;version engine. <br />When I trying to connect to a DB, I have encountered an error message as "-2003 Cannot communicate with broker". <br />How can I do? </p>]]></description>
                        <pubDate>Mon, 12 Nov 2012 19:28:24 -0800</pubDate>
                        <category>CM</category>
                        <category>broker</category>
                        <category>Error Code</category>
                                    <slash:comments>4</slash:comments>
                    </item>
        										        <item>
            <title>cubrid shard start: fail:   failed to connect database</title>
            <dc:creator>lzfcome</dc:creator>
            <link>http://www.cubrid.org/questions/507666</link>
            <guid isPermaLink="true">http://www.cubrid.org/questions/507666</guid>
                                    <description><![CDATA[<div><div><div editor_component="code_highlighter" code_type="Bash" title="" first_line="1" collapse="false" highlight="" nogutter="false" style="border:#666 1px dotted;border-left:#2AE 5px solid;padding:5px;background:#FAFAFA url('./modules/editor/components/code_highlighter/code.png') no-repeat top right;">sh&gt;&nbsp;cubrid&nbsp;shard&nbsp;start@&nbsp;cubrid&nbsp;shard&nbsp;startfailed&nbsp;to&nbsp;connect&nbsp;database.&nbsp;[shard]<br />
please&nbsp;check&nbsp;your&nbsp;$CUBRID/conf/shard.conf&nbsp;or&nbsp;database&nbsp;status.<br />
[%shard]<br />
SHARD_DB_NAME&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;shard1<br />
SHARD_DB_USER&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;shard<br />
++&nbsp;cubrid&nbsp;shard&nbsp;start:&nbsp;fail</div>

</div>

<div></div>

<div><br /></div>

</div>

<div>My&nbsp;shard_connection.txt :</div>

<div><br /></div>

<div><div editor_component="code_highlighter" code_type="Bash" title="" first_line="1" collapse="false" highlight="" nogutter="false" style="border:#666 1px dotted;border-left:#2AE 5px solid;padding:5px;background:#FAFAFA url('./modules/editor/components/code_highlighter/code.png') no-repeat top right;">&nbsp;#&nbsp;cubrid<br />
<br />
0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;shard1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;10.34.64.220<br />
<br />
1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;shard1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;10.34.64.220<br />
<br />
2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;shard1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;localhost<br />
<br />
3&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;shard1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;localhost</div>

<p>The database shard1 in localhost and the&nbsp;database <b>shard1</b> in 10.4.64.220 are OK, &nbsp;I can connect to either.</p>

<p>The error_log/shard_1_0_1.err:</p>

<p></p>

<div editor_component="code_highlighter" code_type="Bash" title="" first_line="1" collapse="false" highlight="" nogutter="false" style="border:#666 1px dotted;border-left:#2AE 5px solid;padding:5px;background:#FAFAFA url('./modules/editor/components/code_highlighter/code.png') no-repeat top right;">[tobi@NC-PL-DEV001&nbsp;conf]$&nbsp;tail&nbsp;../log/broker/error_log/shard_1_1_1.err&nbsp;<br />
<br />
Server&nbsp;bit&nbsp;platform&nbsp;(64)&nbsp;is&nbsp;different&nbsp;from&nbsp;client&nbsp;bit&nbsp;platform&nbsp;(32).<br />
<br />
Time:&nbsp;05/15/06&nbsp;04:28:50.048&nbsp;-&nbsp;ERROR&nbsp;***&nbsp;file&nbsp;../../src/transaction/boot_cl.c,&nbsp;line&nbsp;1453&nbsp;ERROR&nbsp;CODE&nbsp;=&nbsp;-677&nbsp;Tran&nbsp;=&nbsp;-1,&nbsp;EID&nbsp;=&nbsp;206<br />
<br />
Failed&nbsp;to&nbsp;connect&nbsp;to&nbsp;database&nbsp;server,&nbsp;'shard1',&nbsp;on&nbsp;the&nbsp;following&nbsp;host(s):&nbsp;10.34.64.220<br />
<br />
Time:&nbsp;05/15/06&nbsp;04:28:50.048&nbsp;-&nbsp;ERROR&nbsp;***&nbsp;file&nbsp;../../src/transaction/boot_cl.c,&nbsp;line&nbsp;1468&nbsp;ERROR&nbsp;CODE&nbsp;=&nbsp;-677&nbsp;Tran&nbsp;=&nbsp;-1,&nbsp;EID&nbsp;=&nbsp;207<br />
<br />
Failed&nbsp;to&nbsp;connect&nbsp;to&nbsp;database&nbsp;server,&nbsp;'shard1',&nbsp;on&nbsp;the&nbsp;following&nbsp;host(s):&nbsp;10.34.64.220:10.34.64.220<br />
<br />
***&nbsp;The&nbsp;previous&nbsp;error&nbsp;message&nbsp;is&nbsp;the&nbsp;last&nbsp;one.&nbsp;***</div>

<p>Can you help me? thanks.</p>

</div>]]></description>
                        <pubDate>Mon, 26 Nov 2012 22:06:13 -0800</pubDate>
                        <category>HA</category>
                        <category>Sharding</category>
                                    <slash:comments>1</slash:comments>
                    </item>
        										        <item>
            <title>Error: The argument is invalid</title>
            <dc:creator>Laura Oh</dc:creator>
            <link>http://www.cubrid.org/questions/490836</link>
            <guid isPermaLink="true">http://www.cubrid.org/questions/490836</guid>
                                    <description><![CDATA[<p>

When I execute a query "SELECT * FROM t_info" on Java application thru CUBRID JDBC, <br />an error "The argument is invalid" popped up. I'd like to know what&nbsp;happened and how I handle. </p>

<p>&nbsp;</p>

<p>&nbsp;</p>]]></description>
                        <pubDate>Thu, 15 Nov 2012 19:21:04 -0800</pubDate>
                        <category>SQL</category>
                        <category>Error Code</category>
                        <category>JDBC</category>
                        <category>Java</category>
                                    <slash:comments>1</slash:comments>
                    </item>
        										        <item>
            <title>Error: Your transaction has been unilaterally aborted by the system.</title>
            <dc:creator>Laura Oh</dc:creator>
            <link>http://www.cubrid.org/questions/487996</link>
            <guid isPermaLink="true">http://www.cubrid.org/questions/487996</guid>
                                    <description><![CDATA[<p><span style="font-size: 13px;">


When I insert records into CUBRID DB(2008 R3.0), the following error was popped up. </span><br /><span style="font-size: 13px;">"</span><span style="font: 13px/normal 나눔고딕; text-align: left; color: rgb(0, 0, 0); text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: rgb(255, 255, 255); -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;">ERROR<span style="font-size: 13px;" class="Apple-converted-space">&nbsp;CA001CUBRIDCUBRID ODBC Driver Transaction</span></span><span style="font: 13px/normal 나눔고딕; text-align: left; color: rgb(0, 0, 0); text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: rgb(255, 255, 255); -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;">(index1, dba@localhost|20383) has been unilaterally aborted by the system" <br />What does it mean and what can I do? </span></p>

<p><span style="font: small/normal 나눔고딕; text-align: left; color: rgb(0, 0, 0); text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: rgb(255, 255, 255); -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;"></span>&nbsp;</p>

<p>&nbsp;</p>]]></description>
                        <pubDate>Mon, 12 Nov 2012 20:00:06 -0800</pubDate>
                        <category>SQL</category>
                        <category>Error Code</category>
                                    <slash:comments>1</slash:comments>
                    </item>
        										        <item>
            <title>JDBC: Cannot coerce host var to type nchar</title>
            <dc:creator>vbergmann</dc:creator>
            <link>http://www.cubrid.org/questions/329488</link>
            <guid isPermaLink="true">http://www.cubrid.org/questions/329488</guid>
                                    <description><![CDATA[I created a test table with all *char types supported by CUBRID.<br />
<br />
When using JDBC to persist a row in which each column is set to a string
 value containing only uppercase latin letters (e.g. char_col=KFX, 
varchar_col=J, nchar_col=XZDFOY, nchar_varying_col=YYCY), I get the 
following exception:<br />
<br />
<div style='background: url("./modules/editor/components/code_highlighter/code.png") no-repeat right top rgb(250, 250, 250); border-width: 1px 1px 1px 5px; border-style: dotted dotted dotted solid; border-color: rgb(102, 102, 102) rgb(102, 102, 102) rgb(102, 102, 102) rgb(34, 170, 238); padding: 5px;' description="" nocontrols="false" nogutter="false" collapse="false" first_line="1" file_path="" code_type="Java" editor_component="code_highlighter">Caused by: cubrid.jdbc.driver.CUBRIDException: Semantic: Cannot coerce host var to type nchar.<br />
&nbsp;&nbsp;&nbsp; at cubrid.jdbc.driver.CUBRIDConnection.createCUBRIDException(CUBRIDConnection.java:829)<br />
&nbsp;&nbsp;&nbsp; at cubrid.jdbc.driver.CUBRIDStatement.checkExecuteError(CUBRIDStatement.java:941)<br />
&nbsp;&nbsp;&nbsp; at cubrid.jdbc.driver.CUBRIDStatement.executeCoreInternal(CUBRIDStatement.java:830)<br />
&nbsp;&nbsp;&nbsp; at cubrid.jdbc.driver.CUBRIDStatement.executeCore(CUBRIDStatement.java:791)<br />
&nbsp;&nbsp;&nbsp; at cubrid.jdbc.driver.CUBRIDPreparedStatement.executeUpdate(CUBRIDPreparedStatement.java:140)<br />
&nbsp;&nbsp;&nbsp; at org.databene.platform.db.DBSystem.persistOrUpdate(DBSystem.java:867)<br />
&nbsp;&nbsp;&nbsp; ... 44 more&nbsp;</div>

<p>The code that provoked the error was something like this:<br />
</p>

<div style='background: url("./modules/editor/components/code_highlighter/code.png") no-repeat right top rgb(250, 250, 250); border-width: 1px 1px 1px 5px; border-style: dotted dotted dotted solid; border-color: rgb(102, 102, 102) rgb(102, 102, 102) rgb(102, 102, 102) rgb(34, 170, 238); padding: 5px;' description="" nocontrols="false" nogutter="false" collapse="false" first_line="1" file_path="" code_type="Java" editor_component="code_highlighter">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; PreparedStatement statement = ...;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; statement.setObject(1, "KFX");<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; statement.setObject(2, "J");<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; statement.setObject(3, "XZDFOY");<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; statement.setObject(4, "YYCY");<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; int rowCount = statement.executeUpdate();</div>

<p>
</p>

<p>The table definition is<br />
</p>

<div style='background: url("./modules/editor/components/code_highlighter/code.png") no-repeat right top rgb(250, 250, 250); border-width: 1px 1px 1px 5px; border-style: dotted dotted dotted solid; border-color: rgb(102, 102, 102) rgb(102, 102, 102) rgb(102, 102, 102) rgb(34, 170, 238); padding: 5px;' description="" nocontrols="false" nogutter="false" collapse="false" first_line="1" file_path="" code_type="Sql" editor_component="code_highlighter">&nbsp;&nbsp;&nbsp; create table chartest (<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; char_col&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; char(4) not null,<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; varchar_col&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; varchar(8) not null,<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; nchar_col&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; nchar(6) not null,<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; nchar_varying_col nchar varying(10) not null<br />
&nbsp;&nbsp;&nbsp; );</div>
<br />
What's wrong?<br />
<br />
Regards, Volker]]></description>
                        <pubDate>Wed, 18 Apr 2012 07:01:55 -0800</pubDate>
                        <category>JDBC</category>
                        <category>SQL</category>
                        <category>N</category>
                        <category>VAR</category>
                        <category>Error Code</category>
                                    <slash:comments>2</slash:comments>
                    </item>
        										        <item>
            <title>What does &quot;Error: CCI, -4, Cannot communicate with server&quot; mean?</title>
            <dc:creator>eye</dc:creator>
            <link>http://www.cubrid.org/questions/295947</link>
            <guid isPermaLink="true">http://www.cubrid.org/questions/295947</guid>
                                    <description><![CDATA[<p>I installed CUBRID and the PHP API yesterday. Everything was working perfect. I was quite glad. I created some code and could work with CUBRID. But today in the morning I started my Web server, navigated to my site, and I saw this error:</p>

<p></p>

<div editor_component="code_highlighter" code_type="Php" file_path="" description="" first_line="1" collapse="false" nogutter="false" nocontrols="false" style="border: #666666 1px dotted; border-left: #22aaee 5px solid; padding: 5px; background: #FAFAFA url('./modules/editor/components/code_highlighter/code.png') no-repeat top right;">Error: CCI, -4, Cannot communicate with server</div>

<p>What does it mean, and how can I resolve it?</p>]]></description>
                        <pubDate>Tue, 14 Feb 2012 20:00:49 -0800</pubDate>
                        <category>PHP</category>
                        <category>Error Code</category>
                        <category>CCI</category>
                                    <slash:comments>1</slash:comments>
                    </item>
        										        <item>
            <title>Error -493 when saving</title>
            <dc:creator></dc:creator>
            <link>http://www.cubrid.org/questions/424221</link>
            <guid isPermaLink="true">http://www.cubrid.org/questions/424221</guid>
                                    <description><![CDATA[<p>


We are using Samsung HOTELTV and when we save a change to a page, we're getting the following error - anyone any suggestions?</p>

<div editor_component="code_highlighter" code_type="Sql" title="" first_line="1" collapse="false" highlight="" nogutter="false" style="border:#666 1px dotted;border-left:#2AE 5px solid;padding:5px;background:#FAFAFA url('./modules/editor/components/code_highlighter/code.png') no-repeat top right;">A&nbsp;Database&nbsp;Error&nbsp;Occurred<br />
Error&nbsp;Number:&nbsp;-493<br />
Syntax:&nbsp;syntax&nbsp;error,&nbsp;unexpected&nbsp;','&nbsp;<br />
INSERT&nbsp;INTO&nbsp;sds_framecontents&nbsp;(men_idx,&nbsp;men_key,&nbsp;lay_idx,&nbsp;fra_idx,&nbsp;men_lang,&nbsp;regdate,&nbsp;editdate)&nbsp;<br />
VALUES&nbsp;(,&nbsp;104,&nbsp;1,&nbsp;,&nbsp;'ENG',&nbsp;1347031405,&nbsp;1347031405)</div>]]></description>
                        <pubDate>Fri, 07 Sep 2012 07:24:54 -0800</pubDate>
                        <category>Error Code</category>
                                    <slash:comments>2</slash:comments>
                    </item>
        										        <item>
            <title>&quot;ha_node_list&quot;: Unknown system parameter or bad value.</title>
            <dc:creator></dc:creator>
            <link>http://www.cubrid.org/questions/472808</link>
            <guid isPermaLink="true">http://www.cubrid.org/questions/472808</guid>
                                    <description><![CDATA[<div>I'am trying to configure HA with CentOS5/CUBRID 9.0 Beta. All configs are filled according to manual, but both servers print error on start:</div><div><br /></div><div>Time: 10/30/12 02:33:30.825 - ERROR *** file ../src/executables/master_heartbeat.c, line 3164 ERROR CODE = -839 Tran = -1, EID = 1</div><div>"ha_node_list": Unknown system parameter or bad value.</div><div><br /></div><div><br /></div><div><div>cubrid_ha.conf contains line:</div><div>ha_node_list=cubrid@nodeA:nodeB</div></div><div><br /></div><div>nodeA and nodeB are described in /etc/hosts</div>]]></description>
                        <pubDate>Mon, 29 Oct 2012 22:45:26 -0800</pubDate>
                        <category>HA</category>
                                    <slash:comments>3</slash:comments>
                    </item>
        										        <item>
            <title>How do I SHOW CREATE TABLE in CUBRID?</title>
            <dc:creator>eye</dc:creator>
            <link>http://www.cubrid.org/questions/242600</link>
            <guid isPermaLink="true">http://www.cubrid.org/questions/242600</guid>
                                    <description><![CDATA[<p>MySQL provides <strong>SHOW CREATE TABLE </strong>syntax which shows the CREATE TABLE statement that creates the given table including all its CONSTRAINTS and INDEXes. How do I obtain the same information in CUBRID?</p>
<p><strong>Edit:</strong> I need an SQL solution so that I can execute the query in scripting language such as PHP. So, CUBRID Manager solution is not exactly what I&nbsp;am looking for.</p><p>Considering that $object_name = 'stadium', the following will be the output.</p><p></p><p></p><div editor_component="code_highlighter" code_type="Sql" file_path="" description="" first_line="1" collapse="false" nogutter="false" nocontrols="false" style="border: #666666 1px dotted; border-left: #22aaee 5px solid; padding: 5px; background: #FAFAFA url(/modules/editor/components/code_highlighter/code.png) no-repeat top right;"><p>CREATE TABLE stadium(<br />&nbsp; &nbsp; code INTEGER NOT NULL,<br />&nbsp; &nbsp; nation_code CHAR NOT NULL,<br />&nbsp; &nbsp;&nbsp;name VARCHAR(50) NOT NULL,<br />&nbsp; &nbsp;&nbsp;area NUMERIC,<br />&nbsp; &nbsp;&nbsp;seats INTEGER,<br />&nbsp; &nbsp;&nbsp;address VARCHAR(100),<br />&nbsp; &nbsp;&nbsp;CONSTRAINT pk_stadium_code PRIMARY KEY (code)<br />);</p></div><p></p><p></p><p></p><p>Does anyone know pure PHP solution?</p>]]></description>
                        <pubDate>Mon, 28 Nov 2011 22:43:30 -0800</pubDate>
                        <category>SQL</category>
                        <category>schema</category>
                        <category>PHP</category>
                                    <slash:comments>5</slash:comments>
                    </item>
        										        <item>
            <title>Can I install and run two versions of CUBRID on the same machine?</title>
            <dc:creator>corina28</dc:creator>
            <link>http://www.cubrid.org/questions/325978</link>
            <guid isPermaLink="true">http://www.cubrid.org/questions/325978</guid>
                                    <description><![CDATA[<p>I need to test my app against both versions and I'm not sure if installing both would be a good idea.&nbsp;</p><p>I'm interested in knowing if this would work both on Windows and on Ubuntu.</p><p>Thanks!</p>]]></description>
                        <pubDate>Thu, 12 Apr 2012 07:04:15 -0800</pubDate>
                        <category>installation</category>
                        <category>Windows</category>
                        <category>Ubuntu</category>
                                    <slash:comments>1</slash:comments>
                    </item>
        										        <item>
            <title>How does CUBRID compare to Postgres in terms of security (brute force, sql injection, etc.)?</title>
            <dc:creator></dc:creator>
            <link>http://www.cubrid.org/questions/448072</link>
            <guid isPermaLink="true">http://www.cubrid.org/questions/448072</guid>
                                    <description><![CDATA[<p>How does CUBRID compare to Postgres in terms of security (brute force, sql injections, etc.)? I am currently weighing my options right now and am impressed with CUBRID's speed but an concerned about security and data protection.</p>]]></description>
                        <pubDate>Thu, 11 Oct 2012 21:25:19 -0800</pubDate>
                        <category>security</category>
                                    <slash:comments>1</slash:comments>
                    </item>
        										        <item>
            <title>Does the CUBRID db supports the Grails Hibernate function?</title>
            <dc:creator></dc:creator>
            <link>http://www.cubrid.org/questions/444261</link>
            <guid isPermaLink="true">http://www.cubrid.org/questions/444261</guid>
                                    <description><![CDATA[<p>Hi&nbsp;</p><p>I am encountering big problem with the cubrid database and grails hibernate function. I have created the domain class and the mappings as follow.&nbsp;</p><p></p><p></p><div editor_component="code_highlighter" code_type="Java" title="" first_line="1" collapse="false" highlight="" nogutter="false" style="border:#666 1px dotted;border-left:#2AE 5px solid;padding:5px;background:#FAFAFA url('./modules/editor/components/code_highlighter/code.png') no-repeat top right;">class&nbsp;DEvent&nbsp;{<br />
&nbsp;&nbsp;&nbsp;&nbsp;String&nbsp;city<br />
&nbsp;&nbsp;&nbsp;&nbsp;String&nbsp;name<br />
&nbsp;&nbsp;&nbsp;&nbsp;DUser&nbsp;organizer<br />
&nbsp;&nbsp;&nbsp;&nbsp;String&nbsp;venue<br />
&nbsp;&nbsp;&nbsp;&nbsp;Date&nbsp;startDate<br />
&nbsp;&nbsp;&nbsp;&nbsp;Date&nbsp;endDate<br />
&nbsp;&nbsp;&nbsp;&nbsp;String&nbsp;description<br />
&nbsp;&nbsp;&nbsp;&nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp;static&nbsp;hasMany&nbsp;=&nbsp;[volunteers:DUser,&nbsp;sponsorships:SponsorShip,&nbsp;tasks:Task,&nbsp;messages:Message]<br />
&nbsp;&nbsp;&nbsp;&nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp;String&nbsp;toString(){<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"$name,&nbsp;$city"<br />
&nbsp;&nbsp;&nbsp;&nbsp;}<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;static&nbsp;constraints&nbsp;=&nbsp;{<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;name()<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;city()<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;description(maxSize&nbsp;:&nbsp;5000)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;organizer()<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;venue()<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;startDate()<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;endDate()<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;volunteers(nullable&nbsp;:&nbsp;true)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sponsorships(nullable&nbsp;:&nbsp;true)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;tasks(nullable&nbsp;:&nbsp;true)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;messages(nullable&nbsp;:&nbsp;true)<br />
&nbsp;&nbsp;&nbsp;&nbsp;}</div><p></p><p></p><p>And my DUser domain class look like this:</p><p></p><p></p><div editor_component="code_highlighter" code_type="Java" title="" first_line="1" collapse="false" highlight="" nogutter="false" style="border:#666 1px dotted;border-left:#2AE 5px solid;padding:5px;background:#FAFAFA url('./modules/editor/components/code_highlighter/code.png') no-repeat top right;">class&nbsp;DUser&nbsp;{<br />
&nbsp;&nbsp;&nbsp;&nbsp;String&nbsp;fullName<br />
&nbsp;&nbsp;&nbsp;&nbsp;String&nbsp;userName<br />
&nbsp;&nbsp;&nbsp;&nbsp;String&nbsp;password<br />
&nbsp;&nbsp;&nbsp;&nbsp;String&nbsp;email<br />
&nbsp;&nbsp;&nbsp;&nbsp;String&nbsp;website<br />
&nbsp;&nbsp;&nbsp;&nbsp;String&nbsp;bio<br />
&nbsp;&nbsp;&nbsp;&nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp;String&nbsp;toString(){&nbsp;fullName}<br />
&nbsp;&nbsp;&nbsp;&nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp;static&nbsp;constraints&nbsp;=&nbsp;{<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;fullName()<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;userName()<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;email()<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;website()<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;bio(maxSize:5000)<br />
&nbsp;&nbsp;&nbsp;&nbsp;}<br />
}</div><p>When i try to run the grails application it prompted to a error message l</p><p></p><p></p><div editor_component="code_highlighter" code_type="Java" title="" first_line="1" collapse="false" highlight="" nogutter="false" style="border:#666 1px dotted;border-left:#2AE 5px solid;padding:5px;background:#FAFAFA url('./modules/editor/components/code_highlighter/code.png') no-repeat top right;">Caused&nbsp;by&nbsp;MappingException:&nbsp;No&nbsp;Dialect&nbsp;mapping&nbsp;for&nbsp;JDBC&nbsp;type:&nbsp;12<br />
-&gt;&gt;&nbsp;&nbsp;334&nbsp;|&nbsp;innerRun&nbsp;&nbsp;in&nbsp;java.util.concurrent.FutureTask$Sync<br />
-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;-&nbsp;<br />
|&nbsp;&nbsp;&nbsp;&nbsp;166&nbsp;|&nbsp;run&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;in&nbsp;java.util.concurrent.FutureTask<br />
|&nbsp;&nbsp;&nbsp;1110&nbsp;|&nbsp;runWorker&nbsp;in&nbsp;java.util.concurrent.ThreadPoolExecutor<br />
|&nbsp;&nbsp;&nbsp;&nbsp;603&nbsp;|&nbsp;run&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;in&nbsp;java.util.concurrent.ThreadPoolExecutor$Worker<br />
^&nbsp;&nbsp;&nbsp;&nbsp;722&nbsp;|&nbsp;run&nbsp;.&nbsp;.&nbsp;.&nbsp;in&nbsp;java.lang.Thread</div><p>Please if you have any one have the answer please let me know. Thank you very much.</p><p></p>]]></description>
                        <pubDate>Mon, 08 Oct 2012 00:44:19 -0800</pubDate>
                        <category>CRUD</category>
                        <category>grails</category>
                        <category>Hibernate</category>
                                    <slash:comments>1</slash:comments>
                    </item>
        										        <item>
            <title>How to connect the Grails web application with CUBRID database?</title>
            <dc:creator></dc:creator>
            <link>http://www.cubrid.org/questions/442881</link>
            <guid isPermaLink="true">http://www.cubrid.org/questions/442881</guid>
                                    <description><![CDATA[<p>Hi,</p><p>I am creating web application with Grails web frame work. I have created the application and modify the DataSource.groovy file like this.</p><p></p><div editor_component="code_highlighter" code_type="Java" title="" first_line="1" collapse="false" highlight="" nogutter="false" style="border:#666 1px dotted;border-left:#2AE 5px solid;padding:5px;background:#FAFAFA url('./modules/editor/components/code_highlighter/code.png') no-repeat top right;">dataSource&nbsp;{<br />
&nbsp;&nbsp;&nbsp;&nbsp;pooled&nbsp;=&nbsp;true<br />
&nbsp;&nbsp;&nbsp;&nbsp;driverClassName&nbsp;=&nbsp;"cubrid.jdbc.driver.CUBRIDDriver"<br />
&nbsp;&nbsp;&nbsp;&nbsp;username&nbsp;=&nbsp;"dba"<br />
&nbsp;&nbsp;&nbsp;&nbsp;password&nbsp;=&nbsp;"123"<br />
}</div><p></p><p>And my&nbsp;environment&nbsp;for the connection is development coded like this which connects my application to the CUBRID database.</p><p></p><p></p><div editor_component="code_highlighter" code_type="Java" title="" first_line="1" collapse="false" highlight="" nogutter="false" style="border:#666 1px dotted;border-left:#2AE 5px solid;padding:5px;background:#FAFAFA url('./modules/editor/components/code_highlighter/code.png') no-repeat top right;">environments&nbsp;{<br />
&nbsp;&nbsp;&nbsp;&nbsp;development&nbsp;{<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;dataSource&nbsp;{<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;dbCreate&nbsp;=&nbsp;"create"&nbsp;//&nbsp;one&nbsp;of&nbsp;'create',&nbsp;'create-drop',&nbsp;'update',&nbsp;'validate',&nbsp;''<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;url&nbsp;=&nbsp;"jdbc:cubrid://localhost:30000/grailsDB"<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />
&nbsp;&nbsp;&nbsp;&nbsp;}<br />
}</div><p>I tried several times with CUBRID bt its not work out. It populates the following error message.</p><p>Error creating bean with name 'transactionManagerPostProcessor': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager': Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory': Cannot resolve reference to bean 'hibernateProperties' while setting bean property 'hibernateProperties'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hibernateProperties': Cannot resolve reference to bean 'dialectDetector' while setting bean property 'properties' with key [hibernate.dialect]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dialectDetector': Invocation of init method failed; nested exception is org.springframework.jdbc.support.MetaDataAccess Exception: Error while extracting DatabaseMetaData; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot load JDBC driver class 'cubrid.jdbc.driver.CUBRIDDriver'.</p><p>&nbsp;The driver is not supported (Cannot load JDBC driver class 'cubrid.jdbc.driver.CUBRIDDriver' Error message) but the application is coded in Groovy language. Its well supported with Java language.&nbsp;Please give a&nbsp;solution&nbsp;it would be a great help. Thank you.</p><p>Dhip.</p>]]></description>
                        <pubDate>Fri, 05 Oct 2012 00:36:13 -0800</pubDate>
                        <category>driver</category>
                        <category>grails</category>
                        <category>Java</category>
                                    <slash:comments>3</slash:comments>
                    </item>
        										        <item>
            <title>How can you catch an Exception in python using the CUBRIDdb driver?</title>
            <dc:creator>ovidiuv</dc:creator>
            <link>http://www.cubrid.org/questions/442416</link>
            <guid isPermaLink="true">http://www.cubrid.org/questions/442416</guid>
                                    <description><![CDATA[<p>I want to catch the Error exception or a specific exception using the Python driver. I saw nothing related to this in the manuals.</p>]]></description>
                        <pubDate>Thu, 04 Oct 2012 08:11:17 -0800</pubDate>
                        <category>SQL</category>
                                    <slash:comments>1</slash:comments>
                    </item>
        										        <item>
            <title>port windows to linux</title>
            <dc:creator></dc:creator>
            <link>http://www.cubrid.org/questions/440252</link>
            <guid isPermaLink="true">http://www.cubrid.org/questions/440252</guid>
                                    <description><![CDATA[<p>


If I develop on Windows 64 bit can I port to a Linux 64 bit machine.</p><p>thank you,</p>]]></description>
                        <pubDate>Mon, 01 Oct 2012 17:14:37 -0800</pubDate>
                        <category>porting</category>
                        <category>migration</category>
                        <category>unloaddb</category>
                        <category>loaddb</category>
                                    <slash:comments>1</slash:comments>
                    </item>
        										        <item>
            <title>Does CUBRID support empty list in IN operators like &quot;WHERE id IN()&quot;?</title>
            <dc:creator>eye</dc:creator>
            <link>http://www.cubrid.org/questions/235616</link>
            <guid isPermaLink="true">http://www.cubrid.org/questions/235616</guid>
                                    <description><![CDATA[<p>I am generating in the code an SQL statement which has <strong>IN</strong> operator in the WHERE clause. <strong>IN</strong> operator should received a list of record IDs. However what will happen if that list is just empty?</p>
<p>MySQL correctly parses an empty IN() in which case it just says that nothing has been fond.</p>
<p>Does CUBRID accept empty list in IN operator?</p>]]></description>
                        <pubDate>Mon, 07 Nov 2011 23:53:42 -0800</pubDate>
                        <category>SQL</category>
                        <category>IN</category>
                                    <slash:comments>3</slash:comments>
                    </item>
        										        <item>
            <title>How does CUBRID handle the case sensitivity of identifiers ?</title>
            <dc:creator>ovidiuv</dc:creator>
            <link>http://www.cubrid.org/questions/435607</link>
            <guid isPermaLink="true">http://www.cubrid.org/questions/435607</guid>
                                    <description><![CDATA[<p class="MsoPlainText">I've noticed that CUBRID is case insensitive in
regards to identifiers, which goes against the SQL standard, which requires
that quoted identifiers be handled in a case sensitive manner.&nbsp;Is this the way CUBRID does it by default or can it be changed using a setting ?</p>]]></description>
                        <pubDate>Tue, 25 Sep 2012 00:54:56 -0800</pubDate>
                        <category>SQL</category>
                        <category>case-insensitive</category>
                                    <slash:comments>1</slash:comments>
                    </item>
        										        <item>
            <title>How do I drop a UNIQUE index ?</title>
            <dc:creator>ovidiuv</dc:creator>
            <link>http://www.cubrid.org/questions/435654</link>
            <guid isPermaLink="true">http://www.cubrid.org/questions/435654</guid>
                                    <description><![CDATA[<div>I ran the following commands:</div><div><br /></div><div>CREATE TABLE "ITEMS" ("N" integer, "A" integer);</div><div>CREATE UNIQUE INDEX "test_index" ON "ITEMS" ("N");</div><div>ALTER TABLE "ITEMS" DROP INDEX "
test_index";</div><div><br /></div><div>and I got the error:</div><div><div>Error description:</div><div>Index "test_index" does not exist.</div></div><div><br /></div><div>How can I remove this unique index ?</div>]]></description>
                        <pubDate>Tue, 25 Sep 2012 01:45:01 -0800</pubDate>
                        <category>index</category>
                        <category>drop unique index</category>
                        <category>ALTER TABLE</category>
                                    <slash:comments>1</slash:comments>
                    </item>
        										        <item>
            <title>Can&apos;t create composite foreign key with a different cardinality</title>
            <dc:creator>ovidiuv</dc:creator>
            <link>http://www.cubrid.org/questions/435664</link>
            <guid isPermaLink="true">http://www.cubrid.org/questions/435664</guid>
                                    <description><![CDATA[<div>I can't create composite foreign key with a different cardinality&nbsp;than the referenced table's primary key, even if there is a unique&nbsp;index:</div><div><br /></div><div>CREATE TABLE "ITEMS" (</div><div>&nbsp; "ID" integer AUTO_INCREMENT PRIMARY KEY,</div><div>&nbsp; "ITEM_ID" integer FOREIGN KEY REFERENCES "ITEMS",</div><div>&nbsp; UNIQUE ("ITEM_ID", "ID"),</div><div>&nbsp; FOREIGN KEY ("ID", "ITEM_ID") REFERENCES "ITEMS"("ITEM_ID", "ID")</div><div>);</div><div><br /></div><div>gives error:</div><div><br /></div><div>The number of keys of the foreign key 'fk_items_id_item_id' is different from that of the primary key 'pk_items_id'.</div><div><br /></div>]]></description>
                        <pubDate>Tue, 25 Sep 2012 02:00:42 -0800</pubDate>
                        <category>foreign key</category>
                        <category>cardinality</category>
                        <category>unique</category>
                        <category>primary key</category>
                                    <slash:comments>1</slash:comments>
                    </item>
        										        <item>
            <title>How can you get CUBRID system parameters using SQL ?</title>
            <dc:creator>ovidiuv</dc:creator>
            <link>http://www.cubrid.org/questions/432659</link>
            <guid isPermaLink="true">http://www.cubrid.org/questions/432659</guid>
                                    <description><![CDATA[<p>In CSQL you can use the following function:</p><p>;Get system_parameter - get the value of a system parameter.</p><p>I need the same output as ";Get ansi_quotes" and ";Get no_backslash_escapes" in either SQL or using the Python Driver.</p><p>Basically, I need to know if ansi_quotes and no_backslash_escapes options are active within cubrid.conf. For other scenarios it would be good to be possible to obtain using SQL the values specified in the manual page:</p><p><a href="/manual/841/en/cubrid.conf%20Configuration%20File%20and%20Default%20Parameters">http://www.cubrid.org/manual/841/en/cubrid.conf%20Configuration%20File%20and%20Default%20Parameters</a>&nbsp;</p>]]></description>
                        <pubDate>Thu, 20 Sep 2012 04:01:22 -0800</pubDate>
                        <category>python</category>
                                    <slash:comments>1</slash:comments>
                    </item>
        										        <item>
            <title>How can you get Collations list from the server ?</title>
            <dc:creator>ovidiuv</dc:creator>
            <link>http://www.cubrid.org/questions/432590</link>
            <guid isPermaLink="true">http://www.cubrid.org/questions/432590</guid>
                                    <description><![CDATA[<p>In MySQL this can be obtained using "SHOW COLLATION" query. Is there a CUBRID equivalent ?</p>]]></description>
                        <pubDate>Thu, 20 Sep 2012 02:14:25 -0800</pubDate>
                        <category>SQL</category>
                                    <slash:comments>1</slash:comments>
                    </item>
        										        <item>
            <title>How to find out if the database is case sensitive or not regarding table names ?</title>
            <dc:creator>ovidiuv</dc:creator>
            <link>http://www.cubrid.org/questions/432406</link>
            <guid isPermaLink="true">http://www.cubrid.org/questions/432406</guid>
                                    <description><![CDATA[<p>In MySQL, in order to find out if the database table names are case sensitive, you can use "SHOW VARIABLES LIKE 'lower_case_table_names' ". What's the equivalent for CUBRID ?</p>]]></description>
                        <pubDate>Wed, 19 Sep 2012 22:41:58 -0800</pubDate>
                        <category>case-insensitive</category>
                        <category>SQL</category>
                        <category>identifiers</category>
                                    <slash:comments>1</slash:comments>
                    </item>
        										        <item>
            <title>Case-insensitive identifiers and object names</title>
            <dc:creator>impega</dc:creator>
            <link>http://www.cubrid.org/questions/234837</link>
            <guid isPermaLink="true">http://www.cubrid.org/questions/234837</guid>
                                    <description><![CDATA[<p>


The object names in CUBRID are case-insesitive? Is there a parameter controlling this?</p><p>Does it make any difference in SQL and drivers what letters-case is used?</p><p>&nbsp;</p>]]></description>
                        <pubDate>Fri, 04 Nov 2011 01:27:11 -0800</pubDate>
                        <category>SQL</category>
                        <category>definition</category>
                        <category>identifiers</category>
                        <category>case-insensitive</category>
                                    <slash:comments>1</slash:comments>
                    </item>
        										        <item>
            <title>How can you get the transaction isolation level in CUBRID ?</title>
            <dc:creator>ovidiuv</dc:creator>
            <link>http://www.cubrid.org/questions/432359</link>
            <guid isPermaLink="true">http://www.cubrid.org/questions/432359</guid>
                                    <description><![CDATA[<p>Hello,</p><p>I tried running the command "GET TRANSACTION ISOLATION LEVEL;" in CUBRID Manager and Python Driver. I followed the example below:</p><p><a href="/manual/841/en/GET%20TRANSACTION%20ISOLATION%20LEVEL">http://www.cubrid.org/manual/841/en/GET%20TRANSACTION%20ISOLATION%20LEVEL</a>
</p><p>Instead of getting the result, in Python Driver I obtained a "None" object, while in CUBRID Manager, the output was simply:</p><p></p><div editor_component="code_highlighter" code_type="Sql" title="" first_line="1" collapse="false" highlight="" nogutter="false" style="border:#666 1px dotted;border-left:#2AE 5px solid;padding:5px;background:#FAFAFA url('./modules/editor/components/code_highlighter/code.png') no-repeat top right;">1'th&nbsp;SQL&nbsp;successfully&nbsp;executed.[0.446&nbsp;second]<br />
GET&nbsp;TRANSACTION&nbsp;ISOLATION&nbsp;LEVEL;</div><p></p><p></p><p>How can this command be ran correctly to obtain the isolation level ?</p><p>I checked now and in CSQL it works like this:</p><p></p><p></p><div editor_component="code_highlighter" code_type="Bash" title="" first_line="1" collapse="false" highlight="" nogutter="false" style="border:#666 1px dotted;border-left:#2AE 5px solid;padding:5px;background:#FAFAFA url('./modules/editor/components/code_highlighter/code.png') no-repeat top right;">csql&gt;&nbsp;GET&nbsp;TRANSACTION&nbsp;ISOLATION&nbsp;LEVEL;<br />
===&nbsp;&lt;Result&nbsp;of&nbsp;GET&nbsp;ISOLATION&nbsp;LEVEL&nbsp;Command&nbsp;in&nbsp;Line&nbsp;1&gt;&nbsp;===<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Result<br />
=============<br />
&nbsp;&nbsp;REPEATABLE&nbsp;READ&nbsp;SCHEMA,&nbsp;READ&nbsp;UNCOMMITTED&nbsp;INSTANCES<br />
Current&nbsp;transaction&nbsp;has&nbsp;been&nbsp;committed.<br />
1&nbsp;command(s)&nbsp;successfully&nbsp;processed.</div><p></p><p></p><p>However, I need it to work in Python Driver and CUBRID Manager also.</p><p></p><p>Best regards,</p><p>Ovidiu</p>]]></description>
                        <pubDate>Wed, 19 Sep 2012 22:08:04 -0800</pubDate>
                        <category>python</category>
                        <category>isolation level</category>
                        <category>CM</category>
                                    <slash:comments>1</slash:comments>
                    </item>
        										        <item>
            <title>How to instal CUBRID server with .net aplications in windows 7</title>
            <dc:creator></dc:creator>
            <link>http://www.cubrid.org/questions/432328</link>
            <guid isPermaLink="true">http://www.cubrid.org/questions/432328</guid>
                                    <description><![CDATA[<p>


How to use CUBRID server as a database for .NET applications on Windows server? What are all the components I need to download. What's the order of installation? Are there any tutorial to work with CUBRID? How to write procedures as in SQL? How to connect to CUBRID server from a .net application?</p>]]></description>
                        <pubDate>Wed, 19 Sep 2012 21:50:03 -0800</pubDate>
                        <category>driver</category>
                        <category>Windows</category>
                        <category>.NET</category>
                                    <slash:comments>1</slash:comments>
                    </item>
        										        <item>
            <title>How can you get Server Info using Python Driver ?</title>
            <dc:creator>ovidiuv</dc:creator>
            <link>http://www.cubrid.org/questions/431841</link>
            <guid isPermaLink="true">http://www.cubrid.org/questions/431841</guid>
                                    <description><![CDATA[<p>I want to obtain using the Python Driver the details regarding the CUBRID server version. The MySQL driver offers get_server_info() function to perform this task. </p><p>What can be done in CUBRID to obtain the information ?</p><p><p>I saw here:</p><p><a href="http://packages.python.org/CUBRID-Python/">http://packages.python.org/CUBRID-Python/</a></p><p>That the server_version() function exists for _cubrid connection object alongside many other functions. Why are these functions only working for _cubrid and not for CUBRIDdb also ?</p></p>]]></description>
                        <pubDate>Wed, 19 Sep 2012 05:38:04 -0800</pubDate>
                        <category>driver</category>
                        <category>server</category>
                        <category>python</category>
                        <category>meta info</category>
                                    <slash:comments>1</slash:comments>
                    </item>
        										        <item>
            <title>How to find out the Charset CUBRID uses ?</title>
            <dc:creator>ovidiuv</dc:creator>
            <link>http://www.cubrid.org/questions/431786</link>
            <guid isPermaLink="true">http://www.cubrid.org/questions/431786</guid>
                                    <description><![CDATA[<p>Hello,</p><p>I want to find out the charset used in CUBRID using SQL. In MySQL it is possible to perform this operation by running "SHOW VARIABLES LIKE 'character_set%'". Is there anything similar for CUBRID ?</p><p>Best regards,</p><p>Ovidiu</p>]]></description>
                        <pubDate>Wed, 19 Sep 2012 04:54:59 -0800</pubDate>
                        <category>SQL</category>
                        <category>CUBRID</category>
                        <category>charset</category>
                                    <slash:comments>1</slash:comments>
                    </item>
        										        <item>
            <title>Does Cubrid support Master:Master replication</title>
            <dc:creator></dc:creator>
            <link>http://www.cubrid.org/questions/414266</link>
            <guid isPermaLink="true">http://www.cubrid.org/questions/414266</guid>
                                    <description><![CDATA[<p>In my use case I require every node to be a master node, accept reads and writes is this possible with cubrid?</p><p>







<p class="p1"><span class="s1">As it says on&nbsp;<a href="/key_features"><span class="s2">http://www.cubrid.org/key_features</span></a></span></p>
<p class="p2">"Reduced hardware costs with the configuration of multiple master&nbsp;database&nbsp;nodes and one or more slave database nodes."</p></p><p>Thanks,</p><p>Duarte</p>]]></description>
                        <pubDate>Thu, 23 Aug 2012 04:01:50 -0800</pubDate>
                        <category>HA</category>
                                    <slash:comments>2</slash:comments>
                    </item>
        										        <item>
            <title>How can you get the query string from a CUBRIDPreparedStatement?</title>
            <dc:creator>ovidiuv</dc:creator>
            <link>http://www.cubrid.org/questions/412851</link>
            <guid isPermaLink="true">http://www.cubrid.org/questions/412851</guid>
                                    <description><![CDATA[<div>According to other websites, you can obtain the query string for a PreparedStatement using its toString method:</div><div><a href="http://stackoverflow.com/questions/2683214/get-query-from-java-sql-preparedstatement" target="_self">http://stackoverflow.com/questions/2683214/get-query-from-java-sql-preparedstatement</a></div><div><br /></div><div>For CUBRID however, it only displays:</div><div>cubrid.jdbc.driver.CUBRIDPreparedStatement@500b73e5</div><div><br /></div><div>Is there a way to view the query that it contains (after variables have been binded for example) ?</div>]]></description>
                        <pubDate>Tue, 21 Aug 2012 04:38:57 -0800</pubDate>
                        <category>JDBC</category>
                                    <slash:comments>1</slash:comments>
                    </item>
        										        <item>
            <title>CUBRID &amp; highload?</title>
            <dc:creator></dc:creator>
            <link>http://www.cubrid.org/questions/407415</link>
            <guid isPermaLink="true">http://www.cubrid.org/questions/407415</guid>
                                    <description><![CDATA[<p>Hi.</p><p>I have a banner network project. I need to INSERT up to 2k rows per second (thats a peak load) in one table and UPDATE up to 300 rows in another.</p><p>Table for INSERTs looks like this: id primary key, ip integer, date (date when record was added), user agent, referer, publisher_id (references row in another table), feed_id (references row in another table).</p><p>Table for UPDATEs has 12 fields and intentified by primary key id, only one of them (integer counter) is updated.<br /></p><p>Also I need to do 2 SELECTs: one on INSERTs table and one on another table with ~10k records.</p><p>INSERTs table can have up to 10 million records (this is a log for views/clicks).</p><p>Currently I'm using MySQL with Infobright extension, but I already see it doesn't handle load. Scaling MySQL is a problem, so I'm looking for some alternative able to handle such load.</p><p>The question is: is CUBRID ready for this? Is it stable?<br /></p>]]></description>
                        <pubDate>Thu, 09 Aug 2012 07:36:14 -0800</pubDate>
                        <category>migration</category>
                                    <slash:comments>2</slash:comments>
                    </item>
        										        <item>
            <title>Creating multiple tables using CUBRID Manager</title>
            <dc:creator>tanyona</dc:creator>
            <link>http://www.cubrid.org/questions/389299</link>
            <guid isPermaLink="true">http://www.cubrid.org/questions/389299</guid>
                                    <description><![CDATA[<p>I'm using CUBRID Manager 8.4.1.2019. I right-click on a database and select New Query Editor. I then paste the following SQL</p><div editor_component="code_highlighter" code_type="Sql" title="" first_line="1" collapse="false" highlight="" nogutter="false" style="border:#666 1px dotted;border-left:#2AE 5px solid;padding:5px;background:#FAFAFA url('./modules/editor/components/code_highlighter/code.png') no-repeat top right;">--&nbsp;Create&nbsp;the&nbsp;ART&nbsp;Repository,&nbsp;version&nbsp;2.3<br />
<br />
--&nbsp;IMPORTANT:<br />
--&nbsp;after&nbsp;running&nbsp;this&nbsp;script,&nbsp;ALSO&nbsp;RUN&nbsp;the&nbsp;tables_xxx.sql&nbsp;script&nbsp;for&nbsp;your&nbsp;database&nbsp;(found&nbsp;in&nbsp;the&nbsp;quartz&nbsp;directory)<br />
<br />
--&nbsp;NOTES:<br />
--&nbsp;for&nbsp;sql&nbsp;server,&nbsp;replace&nbsp;"timestamp"&nbsp;data&nbsp;type&nbsp;with&nbsp;"datetime"<br />
--&nbsp;for&nbsp;sql&nbsp;server&nbsp;2000/2005&nbsp;also&nbsp;replace&nbsp;"date"&nbsp;data&nbsp;type&nbsp;with&nbsp;"datetime"<br />
<br />
--&nbsp;UPGRADING:<br />
--&nbsp;if&nbsp;you&nbsp;are&nbsp;upgrading,&nbsp;don't&nbsp;use&nbsp;this&nbsp;script.&nbsp;run&nbsp;the&nbsp;scripts&nbsp;available&nbsp;in&nbsp;the&nbsp;upgrade&nbsp;directory<br />
--&nbsp;run&nbsp;the&nbsp;scripts&nbsp;one&nbsp;at&nbsp;a&nbsp;time&nbsp;to&nbsp;upgrade&nbsp;to&nbsp;newer&nbsp;versions.&nbsp;e.g.&nbsp;from&nbsp;2.0&nbsp;to&nbsp;2.1,&nbsp;then&nbsp;2.1&nbsp;to&nbsp;2.2&nbsp;etc.<br />
<br />
--&nbsp;if&nbsp;you&nbsp;want&nbsp;to&nbsp;create&nbsp;a&nbsp;new&nbsp;repository&nbsp;in&nbsp;place&nbsp;of&nbsp;an&nbsp;existing&nbsp;one,&nbsp;uncomment&nbsp;the&nbsp;DROP&nbsp;statements<br />
--&nbsp;you&nbsp;can&nbsp;use&nbsp;a&nbsp;text&nbsp;editor&nbsp;to&nbsp;replace&nbsp;"--&nbsp;DROP"&nbsp;with&nbsp;"DROP"&nbsp;to&nbsp;accomplish&nbsp;this<br />
<br />
--&nbsp;------------------------------------------------<br />
<br />
<br />
<br />
--&nbsp;ART_SETTINGS<br />
--&nbsp;Stores&nbsp;miscellaneous&nbsp;settings<br />
<br />
CREATE&nbsp;TABLE&nbsp;ART_SETTINGS<br />
(&nbsp;&nbsp;<br />
	SETTING_NAME&nbsp;VARCHAR(50)&nbsp;NOT&nbsp;NULL,<br />
	SETTING_VALUE&nbsp;VARCHAR(2000),&nbsp;&nbsp;<br />
	PRIMARY&nbsp;KEY&nbsp;(SETTING_NAME)<br />
);<br />
<br />
--&nbsp;ART_USERS&nbsp;<br />
--&nbsp;Stores&nbsp;user&nbsp;info<br />
<br />
--&nbsp;ADMIN_LEVEL:&nbsp;0=&nbsp;normal&nbsp;user,&nbsp;5&nbsp;=&nbsp;normal&nbsp;user&nbsp;who&nbsp;can&nbsp;schedule&nbsp;jobs<br />
--&nbsp;10&nbsp;=&nbsp;junior&nbsp;admin,&nbsp;30&nbsp;=&nbsp;mid&nbsp;admin,&nbsp;40&nbsp;=&nbsp;admin,&nbsp;80&nbsp;=&nbsp;senior&nbsp;admin,&nbsp;100&nbsp;=&nbsp;super&nbsp;admin<br />
<br />
CREATE&nbsp;TABLE&nbsp;ART_USERS<br />
(<br />
	USERNAME&nbsp;&nbsp;&nbsp;&nbsp;VARCHAR(15)&nbsp;NOT&nbsp;NULL&nbsp;PRIMARY&nbsp;KEY,<br />
	PASSWORD&nbsp;&nbsp;&nbsp;&nbsp;VARCHAR(200)&nbsp;NOT&nbsp;NULL,<br />
	HASHING_ALGORITHM&nbsp;VARCHAR(20)&nbsp;NOT&nbsp;NULL,<br />
	FULL_NAME&nbsp;&nbsp;&nbsp;VARCHAR(40),&nbsp;&nbsp;<br />
	EMAIL&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;VARCHAR(40),&nbsp;&nbsp;&nbsp;&nbsp;<br />
	ADMIN_LEVEL&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;INTEGER,<br />
	DEFAULT_OBJECT_GROUP&nbsp;INTEGER,<br />
	CAN_CHANGE_PASSWORD&nbsp;VARCHAR(1),&nbsp;<br />
	ACTIVE_STATUS&nbsp;&nbsp;&nbsp;&nbsp;VARCHAR(1),&nbsp;<br />
	UPDATE_DATE&nbsp;&nbsp;&nbsp;&nbsp;DATE&nbsp;&nbsp;<br />
);</div><span style="font-weight: bold;"></span><p></p><p>The first table is created, but the second table is not created. The log only says <span style="font-weight: bold;">1'th SQL create operation successfully completed.[0.009 second]</span>. Would anyone know why the second create statement doesn't run?<br /></p>]]></description>
                        <pubDate>Tue, 10 Jul 2012 04:02:48 -0800</pubDate>
                        <category>SQL</category>
                        <category>CM</category>
                                    <slash:comments>1</slash:comments>
                    </item>
        										        <item>
            <title>Does CUBRID include init.d script to autostart Server?</title>
            <dc:creator>eye</dc:creator>
            <link>http://www.cubrid.org/questions/392033</link>
            <guid isPermaLink="true">http://www.cubrid.org/questions/392033</guid>
                                    <description><![CDATA[<p>Some time ago I've installed CUBRID on Linux using one of the available&nbsp;packages. I've been using it for my personal home page.&nbsp;Once in a while I need to restart the server and this is the point when it gets a little bit inconvenient because I need to run <code>cubrid service start</code> every time manually in order to start CUBRID Service.</p><p>Therefore I wondered whether CUBRID installation package already comes with an init.d script to autostart the database server on reboot which I might have missed somehow? If not, is there a plan to include such a script for users' convenience?</p>]]></description>
                        <pubDate>Thu, 12 Jul 2012 23:11:48 -0800</pubDate>
                        <category>installation</category>
                        <category>init.d</category>
                        <category>CUBRID Service</category>
                                    <slash:comments>1</slash:comments>
                    </item>
        										        <item>
            <title>CUBRID 64 bit with PHP x86 on Windows 7</title>
            <dc:creator>ovidiuv</dc:creator>
            <link>http://www.cubrid.org/questions/388741</link>
            <guid isPermaLink="true">http://www.cubrid.org/questions/388741</guid>
                                    <description><![CDATA[<p>Hello,</p><p>I have installed CUBRID x64 bit and PHP x86 (official release) on Windows 7 64 bit. I tried to manually install the PHP API by adding the driver from here:&nbsp;<a href="/?mid=downloads&amp;item=php_driver&amp;os=windows&amp;ostype=any&amp;php=php53&amp;driver_type=phpdr">http://www.cubrid.org/?mid=downloads&amp;item=php_driver&amp;os=windows&amp;ostype=any&amp;php=php53&amp;driver_type=phpdr</a></p><p>I have VC9 thread safe (TS) version of PHP 5.3.10. I added the lines</p><p>[PHP_CUBRID]</p><p>extension=php_cubrid.dll</p><p>to php.ini and the file php_cubrid.dll to ext folder. I have tried with any PHP driver version but it fails to load (php crashes and apache fails to start).</p><p>Is there a workaround ?</p>]]></description>
                        <pubDate>Mon, 09 Jul 2012 03:46:11 -0800</pubDate>
                        <category>PHP</category>
                        <category>driver</category>
                                    <slash:comments>1</slash:comments>
                    </item>
        										        <item>
            <title>How to navigate foreign key relationships using the dictionary views?</title>
            <dc:creator>lukaseder</dc:creator>
            <link>http://www.cubrid.org/questions/317560</link>
            <guid isPermaLink="true">http://www.cubrid.org/questions/317560</guid>
                                    <description><![CDATA[<p>I am implementing a CUBRID integration for <a target="_self" href="http://www.jooq.org">jOOQ</a>, and I wonder how I can discover foreign key relationships using the dictionary views. Using the following query, I can discover foreign key columns:</p><p></p><div editor_component="code_highlighter" code_type="Sql" file_path="" description="" first_line="1" collapse="false" nogutter="false" nocontrols="false" style="border: #666666 1px dotted; border-left: #22aaee 5px solid; padding: 5px; background: #FAFAFA url('./modules/editor/components/code_highlighter/code.png') no-repeat top right;"><p>select k.class_name, k.index_name, k.key_attr_name<br />from db_index&nbsp; i<br />join db_index_key k<br />on i.index_name = k.index_name<br />and i.class_name = k.class_name<br />where is_foreign_key = 'YES'<br />order by k.class_name, k.index_name, k.key_order</p></div><p>Now, how can I discover which columns (or which primary key) is referenced? </p>]]></description>
                        <pubDate>Thu, 29 Mar 2012 08:54:05 -0800</pubDate>
                        <category>SQL</category>
                        <category>index</category>
                        <category>foreign key</category>
                                    <slash:comments>2</slash:comments>
                    </item>
        										        <item>
            <title>How can you safely delete log files ?</title>
            <dc:creator>ovidiuv</dc:creator>
            <link>http://www.cubrid.org/questions/383594</link>
            <guid isPermaLink="true">http://www.cubrid.org/questions/383594</guid>
                                    <description><![CDATA[<p>Hello,</p><p>I have the following problem. For some reason, several hundred files with the name xe_lgar001,xe_lgar002,...,xlgar411 files have appeared in the folder for my database named "xe". I have read that they are log files used for backup, but they keep appearing (about 1-2 per day) and each of them is about 40 MB. Also, none of them have disappeared and I even have files since December 16 last year. Is there a way to enable their automatic cleanup ?</p><p>Is there any way to safely delete the log files and limit their creation?</p><p>Ovidiu</p><div id="endic_ext_wrapper" style="display: none; "></div><div id="endic_ext_wrapper" style="display: none; "></div>]]></description>
                        <pubDate>Thu, 28 Jun 2012 06:23:56 -0800</pubDate>
                        <category>database volume</category>
                        <category>logs</category>
                                    <slash:comments>1</slash:comments>
                    </item>
        										        <item>
            <title>Guide: How to edit a Wiki page?</title>
            <dc:creator>CUBRID</dc:creator>
            <link>http://www.cubrid.org/questions/380389</link>
            <guid isPermaLink="true">http://www.cubrid.org/questions/380389</guid>
                                    <description><![CDATA[<p>More and more developers join our community site and want to contribute to our Wiki.&nbsp;Please make sure you know the followings before you edit any Wiki page.</p><p>


</p><div id="endic_ext_wrapper" style="display: none; "></div>]]></description>
                        <pubDate>Thu, 21 Jun 2012 22:14:27 -0800</pubDate>
                        <category>Wiki</category>
                        <category>HOWTO</category>
                                    <slash:comments>1</slash:comments>
                    </item>
        										        <item>
            <title>How do I move a CUBRID database with LOBS from one server to another, different locations</title>
            <dc:creator>andrevanzuydam</dc:creator>
            <link>http://www.cubrid.org/questions/371675</link>
            <guid isPermaLink="true">http://www.cubrid.org/questions/371675</guid>
                                    <description><![CDATA[<p>Hi Everyone<br /></p><p>I have a production server with an application running and the database there is installed to a certain path.</p><p>I have a development server where we have many other applications co-hosted, CUBRID is installed to another location.</p><p>I did a backup of the database on the production server which made a level 0 file in the backup folder.&nbsp; I tried to no avail to restore this to my development server, it kept on complaining about the path being wrong.<br /></p><p>Eventually I copied the whole database folder from live and overwrote the one on my development server.&nbsp; The problem was that the lob information still pointed to the paths on the production server.&nbsp; I had to also change &lt;dbname&gt;_vinf file to sort out the new paths, the lobs don't understand this.<br /></p><p>I had to make a folder of the same path on development and copy the lob sub folder there for the development database to register this.&nbsp; <br /></p><p>How should I have done this properly, I have already looked at these documents</p><p><a href="/cubrid_backup_restore" target="_self">http://www.cubrid.org/cubrid_backup_restore</a></p><p><a href="http://http://www.cubrid.org/cubrid_backup_restore_2" target="_self">http://www.cubrid.org/cubrid_backup_restore_2</a></p><p>I'm looking for a solution which backs up database_one_name to database_another_name_path if I need to.&nbsp; I have no problem moving the lob data between servers but the database restore must change this relative to my new paths.</p><p>I did get what I wanted right but not in a way a general user will be able to handle by themselves, I tasked a junior developer with this task as I felt the GUI tools were quite simple to understand and to use, however it was not that simple.<br /></p><div id="endic_ext_wrapper" style="display: none; "></div>]]></description>
                        <pubDate>Wed, 06 Jun 2012 04:05:41 -0800</pubDate>
                        <category>migration</category>
                        <category>LOB</category>
                                    <slash:comments>2</slash:comments>
                    </item>
        										        <item>
            <title>Is CUBRID less RAM consuming than innodb?</title>
            <dc:creator>kubek</dc:creator>
            <link>http://www.cubrid.org/questions/373409</link>
            <guid isPermaLink="true">http://www.cubrid.org/questions/373409</guid>
                                    <description><![CDATA[<p>Hello,</p><p>I have VPS with 1GB of RAM and few low traffic sites on it. But innodb is consuming a lot of RAM and my server sometimes shut down because of that. So I am wondering if CUBRID can help me.</p><p>Thank you for quick reply.</p>]]></description>
                        <pubDate>Sun, 10 Jun 2012 00:38:27 -0800</pubDate>
                        <category>memory</category>
                                    <slash:comments>1</slash:comments>
                    </item>
        										        <item>
            <title>How to lock the table?</title>
            <dc:creator>eye</dc:creator>
            <link>http://www.cubrid.org/questions/247247</link>
            <guid isPermaLink="true">http://www.cubrid.org/questions/247247</guid>
                                    <description><![CDATA[<p>CUBRID provides database level lock like:</p><p></p><div editor_component="code_highlighter" code_type="Plain" file_path="" description="" first_line="1" collapse="false" nogutter="false" nocontrols="false" style="border: #666666 1px dotted; border-left: #22aaee 5px solid; padding: 5px; background: #FAFAFA url(/modules/editor/components/code_highlighter/code.png) no-repeat top right;">cubrid lockdb demodb</div><p></p><p>But it locks the entire database.</p><p></p><p style="margin-top: 7px; margin-right: 0px; margin-bottom: 7px; margin-left: 0px; ">I have already read&nbsp;<a href="/questions/236935" target="_self">Isolation Level</a>&nbsp;related&nbsp;question&nbsp;and&nbsp;<a href="/transaction_and_lock" target="_self">CUBRID Transaction and Lock</a>&nbsp;guide.</p><p></p><p>But Isolation Level, as I understand, locks the table only <b>during</b> the transaction. But I have a series of transactions during which the table should not accept any UPDATE/INSERT/DELETE operations, including the time between these transactions.</p><p>What should I do to have the table locked until I manually unlock it?</p>]]></description>
                        <pubDate>Mon, 26 Dec 2011 00:28:12 -0800</pubDate>
                        <category>isolation level</category>
                        <category>transaction</category>
                        <category>table lock</category>
                                    <slash:comments>2</slash:comments>
                    </item>
        										        <item>
            <title>How can I export a database table to CSV programatically?</title>
            <dc:creator>corina</dc:creator>
            <link>http://www.cubrid.org/questions/364625</link>
            <guid isPermaLink="true">http://www.cubrid.org/questions/364625</guid>
                                    <description><![CDATA[<p>I already know how to do this using CUBRID Manager, but is there a way to do it using CSQL?</p><div id="endic_ext_wrapper" style="display: none; "></div><div id="endic_ext_wrapper" style="display: none; "></div>]]></description>
                        <pubDate>Thu, 24 May 2012 02:44:41 -0800</pubDate>
                        <category>CSQL</category>
                        <category>export</category>
                        <category>CSV</category>
                                    <slash:comments>1</slash:comments>
                    </item>
        										        <item>
            <title>How can I export data from CUBRID to XML file using command line?</title>
            <dc:creator>eye</dc:creator>
            <link>http://www.cubrid.org/questions/297639</link>
            <guid isPermaLink="true">http://www.cubrid.org/questions/297639</guid>
                                    <description><![CDATA[<p>I need to export the data from CUBRID database to XML file. Is there a way to accomplish this using the command line?</p><div id="endic_ext_wrapper" style="display: none; "></div>]]></description>
                        <pubDate>Thu, 16 Feb 2012 21:45:00 -0800</pubDate>
                        <category>export</category>
                        <category>XML</category>
                        <category>command line</category>
                        <category>CSQL</category>
                                    <slash:comments>1</slash:comments>
                    </item>
        										        <item>
            <title>How to pass a custom Object to a Stored Procedure function?</title>
            <dc:creator>castle79</dc:creator>
            <link>http://www.cubrid.org/questions/365755</link>
            <guid isPermaLink="true">http://www.cubrid.org/questions/365755</guid>
                                    <description><![CDATA[<p>


hi I have the following function.</p><p></p><div editor_component="code_highlighter" code_type="Sql" file_path="" description="" first_line="1" collapse="false" nogutter="false" nocontrols="false" style="border: #666666 1px dotted; border-left: #22aaee 5px solid; padding: 5px; background: #FAFAFA url('./modules/editor/components/code_highlighter/code.png') no-repeat top right;">CREATE FUNCTION "tblpacientesinsertar"("paciente" OBJECT) RETURN STRING<br />AS LANGUAGE JAVA <br />NAME 'TblPacientes.Insertar(cubrid.sql.CUBRIDOID) return java.lang.String'</div><p></p><p>I want to pass a custom object class, but I dont know if CUBRIDOID is the right type.</p><p>My custom type is <strong><span style="font-family: monospace; ">public class BoPacientes</span></strong>.</p><p>My stored procedure is <b><span style="font-family: monospace; ">public static String Insertar(BoPacientes paciente)</span></b>.</p><p>C# code looks like:</p><p></p><div editor_component="code_highlighter" code_type="CSharp" file_path="" description="" first_line="1" collapse="false" nogutter="false" nocontrols="false" style="border: #666666 1px dotted; border-left: #22aaee 5px solid; padding: 5px; background: #FAFAFA url('./modules/editor/components/code_highlighter/code.png') no-repeat top right;"><p>public BoPacientes Insertar(BoPacientes objeto)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.....//code code </p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CUBRIDCommand com = new CUBRIDCommand();<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; com.Connection = con;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; com.CommandText = "select tblpacientesinsertar(" + objeto + ")";<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; con.Open();</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .......//some code logical</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }&nbsp;</p></div><p>The error I receive is:</p><p></p><div editor_component="code_highlighter" code_type="CSharp" file_path="" description="" first_line="1" collapse="false" nogutter="false" nocontrols="false" style="border: #666666 1px dotted; border-left: #22aaee 5px solid; padding: 5px; background: #FAFAFA url('./modules/editor/components/code_highlighter/code.png') no-repeat top right;">Semantic: Dev9.DataAccess.Pacientes.BoPacientes is not defined.<br />select tblpacientesinsertar(Dev9.DataAccess.Pacientes.BoPacientes)&nbsp;</div><p>I have a java object called BoPacientes.Class registered in CUBRID.</p><div id="endic_ext_wrapper" style="display: none; "></div>]]></description>
                        <pubDate>Sat, 26 May 2012 11:09:41 -0800</pubDate>
                        <category>Java</category>
                        <category>ADO.NET</category>
                        <category>Stored Procedure</category>
                                    <slash:comments>1</slash:comments>
                    </item>
            </channel>
</rss>
