<?xml version="1.0" encoding="UTF-8" ?>
<feed xmlns="http://www.w3.org/2005/Atom">
   <title type="text">CUBRID - Open Source Database Management System Optimized for Web</title>
      <updated>2012-05-17T17:47:51-07:00</updated>
   <id>http://www.cubrid.org/?module=rss&amp;act=atom</id>
   <link rel="alternate" type="text/html" hreflang="en" href="http://www.cubrid.org/"/>
   <link rel="self" type="application/atom+xml" href="http://www.cubrid.org/?module=rss&amp;act=atom"/>
   <generator uri="http://www.xpressengine.com/" version="1.4.4.1">XpressEngine</generator>
   <entry>
      <title>Java Stored Procedure: Invalid call: it can not return ResultSet</title>
      <id>http://www.cubrid.org/357535</id>
      <published>2012-05-11T04:59:17-07:00</published>
      <updated>2012-05-16T22:00:38-07:00</updated>
      <link rel="alternate" type="text/html" href="http://www.cubrid.org/357535"/>
      <link rel="replies" type="text/html" href="http://www.cubrid.org/357535#comment"/>
      <author>
         <name>castle79</name>
               </author>
            <content type="html">&lt;div class=&quot;xe_content&quot;&gt;&lt;p&gt;I am running the following example in my cubrid database.&lt;/p&gt;&lt;p class=&quot;codep&quot;&gt;function:&lt;/p&gt;&lt;p class=&quot;codep&quot;&gt;&lt;/p&gt;

&lt;pre class=&quot;brush: sql;&quot;&gt;create function rset() return cursor
as language java
name &apos;JavaSP2.TResultSet() return java.sql.ResultSet&apos;&lt;/pre&gt;

&lt;p class=&quot;codep&quot;&gt;Stored procedure:&lt;/p&gt;&lt;p class=&quot;codep&quot;&gt;&lt;/p&gt;&lt;pre class=&quot;brush: java;&quot;&gt;public static class JavaSP2 {
public static ResultSet TResultSet(){

try{
Class.forName(&quot;cubrid.jdbc.driver.CUBRIDDriver&quot;);
Connection conn = DriverManager.getConnection(&quot;jdbc:default:connection:&quot;);
((CUBRIDConnection)con).setCharset(&quot;euc_kr&quot;);

String sql = &quot;select * from station&quot;;
Statement stmt=con.createStatement();
ResultSet rs = stmt.executeQuery(sql);
((CUBRIDResultSet)rs).setReturnable();

return rs;
} catch (Exception e) {
e.printStackTrace();
}
return null;
}
} &lt;/pre&gt;&lt;p class=&quot;codep&quot;&gt;CUBRID says:&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/p&gt;&lt;p class=&quot;codep&quot;&gt;&lt;/p&gt;&lt;pre class=&quot;brush: java;&quot;&gt;execute error:-911
line 1 is not executed (error)Error description:
Invalid call: it can not return ResultSet. &lt;/pre&gt;&lt;p class=&quot;codep&quot;&gt;I try to solve it doing casting but dont work. When I registering the function cubrid dont allow set&amp;nbsp; &lt;strong&gt;java.sql.ResultSet&lt;/strong&gt; as return value instead use &lt;/p&gt;&lt;p class=&quot;codep&quot;&gt;&lt;/p&gt;&lt;pre class=&quot;brush: sql;&quot;&gt;CREATE FUNCTION &quot;rset&quot;() RETURN CURSOR
AS LANGUAGE JAVA 
NAME &apos;JavaSP2.TResultSet() return cubrid.jdbc.driver.CUBRIDResultSet&apos;&lt;/pre&gt;&lt;strong&gt;&lt;/strong&gt;&lt;p&gt;&lt;/p&gt;&lt;div id=&quot;endic_ext_wrapper&quot; style=&quot;display: none; &quot;&gt;&lt;/div&gt;&lt;div id=&quot;endic_ext_wrapper&quot; style=&quot;display: none; &quot;&gt;&lt;/div&gt;&lt;div id=&quot;endic_ext_wrapper&quot; style=&quot;display: none; &quot;&gt;&lt;/div&gt;&lt;div id=&quot;endic_ext_wrapper&quot; style=&quot;display: none; &quot;&gt;&lt;/div&gt;&lt;/div&gt;</content>
                  <category term="JDBC"/>
            <category term="SQL"/>
            <category term="Stored Procedure"/>
            
   </entry>
   <entry>
      <title>How do I escape strings in PHP to pass binary data to a table via an insert or update statement ?</title>
      <id>http://www.cubrid.org/360063</id>
      <published>2012-05-16T01:18:46-07:00</published>
      <updated>2012-05-16T17:44:41-07:00</updated>
      <link rel="alternate" type="text/html" href="http://www.cubrid.org/360063"/>
      <link rel="replies" type="text/html" href="http://www.cubrid.org/360063#comment"/>
      <author>
         <name>andrevanzuydam</name>
               </author>
            <content type="html">&lt;div class=&quot;xe_content&quot;&gt;&lt;p&gt;This is on the back of my previous question, it would be important for Cubrid to have a similar function to&amp;nbsp; mysql_escape_string for passing of binary information to an SQL statement.&lt;/p&gt;&lt;p&gt;How should I do this in the interim, I have already done the normal replace single quotes with double single quotes.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;/div&gt;</content>
                  <category term="PHP"/>
            
   </entry>
   <entry>
      <title>How do I silent install CUBRID Server?</title>
      <id>http://www.cubrid.org/357718</id>
      <published>2012-05-11T08:24:45-07:00</published>
      <updated>2012-05-16T17:29:13-07:00</updated>
      <link rel="alternate" type="text/html" href="http://www.cubrid.org/357718"/>
      <link rel="replies" type="text/html" href="http://www.cubrid.org/357718#comment"/>
      <author>
         <name>castle79</name>
               </author>
            <content type="html">&lt;div class=&quot;xe_content&quot;&gt;&lt;p&gt;Hi, I want to install CUBRID Server using &lt;b&gt;&lt;i&gt;.ini&lt;/i&gt;&lt;/b&gt; file with all the parameters, dba password, java_stored_procedure=yes, etc. How can I do it?&lt;/p&gt;&lt;div id=&quot;endic_ext_wrapper&quot; style=&quot;display: none; &quot;&gt;&lt;/div&gt;&lt;/div&gt;</content>
                  <category term="installation"/>
            <category term="Stored Procedure"/>
            
   </entry>
   <entry>
      <title>I wrote a RedBeanPHP driver for CUBRID</title>
      <id>http://www.cubrid.org/311501</id>
      <published>2012-03-18T06:23:52-07:00</published>
      <updated>2012-05-16T01:23:23-07:00</updated>
      <link rel="alternate" type="text/html" href="http://www.cubrid.org/311501"/>
      <link rel="replies" type="text/html" href="http://www.cubrid.org/311501#comment"/>
      <author>
         <name>gabordemooij</name>
               </author>
            <content type="html">&lt;div class=&quot;xe_content&quot;&gt;&lt;p&gt;Hi there,&lt;/p&gt;&lt;p&gt;Just for your information I wrote a RedBeanPHP driver for CUBRID, so this ORM is now compatible with CUBRID. While the installation was a bit challenging (fedora) I find the CUBRID database quite easy to use. The CUBRID Manager is also very nice. Great work. Here is the announcement of the CUBRID Driver:&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;http://www.redbeanphp.com/extra/roadmap&quot; target=&quot;_self&quot;&gt;http://www.redbeanphp.com/extra/roadmap&lt;/a&gt;&lt;/p&gt;&lt;p&gt;The driver works with PDO. &lt;br /&gt;&lt;/p&gt;&lt;p&gt;Yet another product that supports your database. If you like you may use this fact to promote the CUBRID database even more.&lt;/p&gt;&lt;p&gt;Cheers,&lt;/p&gt;&lt;p&gt;Gabor.&lt;br /&gt;&lt;/p&gt;&lt;/div&gt;</content>
                  
   </entry>
   <entry>
      <title>Please provide an example of using blob_from_file in an update or insert statement reading a file from /tmp/</title>
      <id>http://www.cubrid.org/359623</id>
      <published>2012-05-15T06:38:21-07:00</published>
      <updated>2012-05-15T06:38:21-07:00</updated>
      <link rel="alternate" type="text/html" href="http://www.cubrid.org/359623"/>
      <link rel="replies" type="text/html" href="http://www.cubrid.org/359623#comment"/>
      <author>
         <name>andrevanzuydam</name>
               </author>
            <content type="html">&lt;div class=&quot;xe_content&quot;&gt;&lt;p&gt;For Example&lt;br /&gt;&lt;/p&gt;&lt;p&gt;UPDATE tblfile SET fileimage =&amp;nbsp; BLOB_FROM_FILE (&apos;/tmp/image.png&apos;)&amp;nbsp; WHERE fileid = &apos;2b93d4629241d287915a422f6d1a90374de95ef0&apos;&lt;/p&gt;&lt;p&gt;BUT&lt;/p&gt;&lt;p&gt;This is giving me a Cannot coerce blob to type unknown data type error.&lt;/p&gt;&lt;p&gt;fileimage is a blob&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;/div&gt;</content>
                  <category term="SQL"/>
            
   </entry>
   <entry>
      <title>Scalability and Sharding in CUBRID</title>
      <id>http://www.cubrid.org/358541</id>
      <published>2012-05-13T20:56:07-07:00</published>
      <updated>2012-05-15T02:52:26-07:00</updated>
      <link rel="alternate" type="text/html" href="http://www.cubrid.org/358541"/>
      <link rel="replies" type="text/html" href="http://www.cubrid.org/358541#comment"/>
      <author>
         <name>idan</name>
               </author>
            <content type="html">&lt;div class=&quot;xe_content&quot;&gt;&lt;p&gt;I think that cubrid might give an answer to all of my scalability needs. I wanted to know more about it.&lt;br /&gt;&lt;br /&gt;1) How can I deploy cubrid on amazon aws?&lt;br /&gt;2) How many servers I need to start with&lt;/p&gt;&lt;p&gt;3) How Cubrid knows which keys to shard against?&lt;br /&gt;4) Does cubrid can automatically add Amazon EC2 servers or i need to add them and tell about it?&lt;br /&gt;5) How can I backup/restore DB, is it easy? and how much time it takes to restore 1TB of data&lt;br /&gt;6) What is the optimal size of each shard? (in GB)&lt;br /&gt;7) recommended environment to run crubid (Windows or Linux), differences if there are any&lt;br /&gt;8) Why I haven&apos;t heard about crubid after two weeks of intensive searching? from what I can tell, it should be super popular?&lt;/p&gt;&lt;p&gt;9) Does Curbid support clustering?&lt;/p&gt;&lt;p&gt;10) why should I use curbid over Amazon RDS, both features and price wise?&lt;br /&gt;&lt;br /&gt;Please help me out, just starting with Cubrid&lt;br /&gt;&lt;br /&gt;I&apos;ve spent two weeks going over all the possible options, including all the available NoSQL, NewSQL options. All middleware options, building my sharding enviroment myslef, etc, etc. There are solutions out there, but they are so expensive it hurts. I just can&apos;t believe I found you guys. Hope that I can develop my new app using Curbid. Really want to find a solution already, a DB that can easily scale with all the features I need.&lt;/p&gt;&lt;/div&gt;</content>
                  
   </entry>
   <entry>
      <title>Best PHP IDE to work with CUBRID Database</title>
      <id>http://www.cubrid.org/353114</id>
      <published>2012-05-14T22:34:30-07:00</published>
      <updated>2012-05-14T22:40:28-07:00</updated>
      <link rel="alternate" type="text/html" href="http://www.cubrid.org/353114"/>
      <link rel="replies" type="text/html" href="http://www.cubrid.org/353114#comment"/>
      <author>
         <name>Esen Sagynov</name>
               </author>
            <content type="html">&lt;div class=&quot;xe_content&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;img src=&quot;http://www.cubrid.org/files/attach/images/220547/114/353/phpstorm_logo.png&quot; alt=&quot;PHPStorm Logo&quot; title=&quot;PHPStorm Logo&quot; class=&quot;iePngFix&quot; width=&quot;300&quot; height=&quot;68&quot; style=&quot;&quot; /&gt;&lt;/p&gt;

&lt;p&gt;When developers review various IDE for PHP, it is not accident that&amp;nbsp;&lt;a href=&quot;http://www.jetbrains.com/phpstorm&quot; target=&quot;_self&quot;&gt;PHPStorm&lt;/a&gt;&amp;nbsp;is among the top ranked. Because it is one of the best feature-rich PHP&amp;nbsp;Development Tools out there. The good news is JetBrains, the company behind this project, has just released a new version of PHPStorm 4.0.&amp;nbsp;If you try PHPStorm 4.0, I bet you won&apos;t wish to come back to your current IDE. It&apos;s really the smartest PHP IDE I have ever used!&lt;/p&gt;

&lt;p&gt;I am sure there are still&amp;nbsp;many geeks who use Notepad++ or TextMate to write their code.&amp;nbsp;I had personally used Notepad++ for over 6 years. It is great for source code editing. It is small and fast. But when it comes to working&amp;nbsp;in a team&amp;nbsp;on a large project, control the version of the code, commit, push to, or auto sync with the remote stage server which is accessible only through SSH, merge the remote changes, and all this with a press of a keyboard shortcut, you need a fully fledged IDE which will help you accomplish all these effortlessly. And PHPStorm is that IDE which lets you focus on creating the beautiful code and leave the rest to the IDE.&lt;/p&gt;&lt;p&gt;I won&apos;t enumerate &lt;a href=&quot;http://www.jetbrains.com/phpstorm/features/index.html&quot; target=&quot;_self&quot;&gt;all the features&lt;/a&gt;&amp;nbsp;available in PHPStorm in this blog, but I want to tell you only about my favorite ones.&lt;/p&gt;&lt;h2&gt;Intelligent PHP Editor&lt;/h2&gt;&lt;h3&gt;&lt;/h3&gt;&lt;h3&gt;Auto completion&lt;/h3&gt;&lt;p&gt;It is not just the usual code completion or syntax highlighting features which are available in almost all source code editors and IDEs. In addition to that PHPStorm shows auto complete suggestions for array indexes within your PHP code. This is very convenient!&lt;/p&gt;&lt;p&gt;&lt;img src=&quot;http://www.cubrid.org/files/attach/images/220547/114/353/code_completion.png&quot; alt=&quot;code_completion.png&quot; title=&quot;code_completion.png&quot; class=&quot;iePngFix&quot; width=&quot;291&quot; height=&quot;106&quot; style=&quot;&quot; /&gt;&lt;/p&gt;&lt;p&gt;What I like even more is how easy it is to&amp;nbsp;&lt;i&gt;&lt;b&gt;replace&lt;/b&gt;&lt;/i&gt;&amp;nbsp;the code by another code suggested by PHPStorm. Assume you have accidentally typed &lt;span style=&quot;font-family: monospace; &quot;&gt;cubrid_close()&lt;/span&gt; instead of &lt;span style=&quot;font-family: monospace; &quot;&gt;cubrid_connect()&lt;/span&gt;.&lt;/p&gt;&lt;p&gt;&lt;img src=&quot;http://www.cubrid.org/files/attach/images/220547/114/353/auto_complete_example.png&quot; alt=&quot;auto_complete_example.png&quot; title=&quot;auto_complete_example.png&quot; class=&quot;iePngFix&quot; width=&quot;166&quot; height=&quot;48&quot; style=&quot;&quot; /&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Instead of manually pressing several times on &lt;i&gt;Backspace/Delete&lt;/i&gt;&amp;nbsp;key on your keyboard to delete the &quot;&lt;span style=&quot;font-family: monospace; &quot;&gt;close()&lt;/span&gt;&quot; part of the function, all you have to do is to place the cursor after the underscore, start typing your desired function, then press &lt;i&gt;Tab&lt;/i&gt;&amp;nbsp;key&amp;nbsp;on your keyboard. This will automatically replace the rest of the word with the one selected in the auto complete list. I like this feature very much! It saves so much time!&lt;/p&gt;&lt;p&gt;&lt;img src=&quot;http://www.cubrid.org/files/attach/images/220547/114/353/auto_complete_replace.png&quot; alt=&quot;auto_complete_replace.png&quot; title=&quot;auto_complete_replace.png&quot; class=&quot;iePngFix&quot; width=&quot;461&quot; height=&quot;90&quot; style=&quot;&quot; /&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3&gt;Support for CUBRID PHP API syntax&lt;/h3&gt;&lt;p&gt;PHPStorm is the first IDE to provide code completion for&amp;nbsp;&lt;a href=&quot;http://php.net/manual/en/book.cubrid.php&quot; target=&quot;_self&quot;&gt;CUBRID PHP API&lt;/a&gt;. I would give the credit to them just for this feature!&lt;/p&gt;&lt;p&gt;&lt;img src=&quot;http://www.cubrid.org/files/attach/images/220547/114/353/phpstorm-cubrid-php-syntax-autocompletion.png&quot; alt=&quot;phpstorm-cubrid-php-syntax-autocompletion.png&quot; title=&quot;phpstorm-cubrid-php-syntax-autocompletion.png&quot; class=&quot;iePngFix&quot; width=&quot;508&quot; height=&quot;218&quot; style=&quot;&quot; /&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;It is not just the code completion, but also the entire documentation of the selected API is available on keyboard shortcut (&lt;b&gt;Ctrl+J&lt;/b&gt;).&lt;/p&gt;&lt;p&gt;&lt;img src=&quot;http://www.cubrid.org/files/attach/images/220547/114/353/phpstorm-cubrid-php-api-syntax-support.png&quot; alt=&quot;phpstorm-cubrid-php-api-syntax-support.png&quot; title=&quot;phpstorm-cubrid-php-api-syntax-support.png&quot; class=&quot;iePngFix&quot; width=&quot;793&quot; height=&quot;493&quot; style=&quot;&quot; /&gt;&lt;/p&gt;

&lt;h2&gt;Code quality analysis&lt;/h2&gt;

&lt;h3&gt;Support for PHP Code Sniffer&lt;/h3&gt;&lt;p&gt;PHPStorm has really valuable features to improve the quality of your PHP code. Its on-the-fly error checking allows you to detect coding standard violations using popular&amp;nbsp;&lt;a href=&quot;http://pear.php.net/package/PHP_CodeSniffer&quot; target=&quot;_self&quot;&gt;PHP Code Sniffer&lt;/a&gt;. Also, it provides PEAR, Zend as well as Drupal coding style support as well as various techniques for code refactoring. It is just perfect for PHP coding.&lt;/p&gt;&lt;p&gt;&lt;img src=&quot;http://www.cubrid.org/files/attach/images/220547/114/353/sniffer.png&quot; alt=&quot;sniffer.png&quot; title=&quot;sniffer.png&quot; class=&quot;iePngFix&quot; width=&quot;430&quot; height=&quot;160&quot; style=&quot;&quot; /&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3&gt;Integrated PHPUnit&lt;/h3&gt;&lt;p&gt;It is so easy in PHPStorm to write test cases and run them with PHPUnit. It is even more pleasant to instantly see how much of your code is covered by the tests. It helps you immediately spot where you have to fill the gaps.&lt;/p&gt;&lt;p&gt;&lt;img src=&quot;http://www.cubrid.org/files/attach/images/220547/114/353/coverage_screenshot1.png&quot; alt=&quot;coverage_screenshot1.png&quot; title=&quot;coverage_screenshot1.png&quot; class=&quot;iePngFix&quot; width=&quot;430&quot; height=&quot;230&quot; style=&quot;&quot; /&gt;&lt;br /&gt;&lt;/p&gt;&lt;h3&gt;Visual PHP debugger&lt;/h3&gt;&lt;p&gt;PHP debugging in PHPStorm is very easy. In fact you need zero configuration to have it working. Once you install your favorite debugger (I personally use &lt;a href=&quot;http://xdebug.org/&quot; target=&quot;_self&quot;&gt;Xdebug&lt;/a&gt;; Zend Debugger is also supported), it is ready to go. You can debug both local and remote servers. The debugging session is kept alive while you move between web pages. If you have difficulties configuring the debugger, there is a &lt;a href=&quot;http://blog.jetbrains.com/webide/2011/03/configure-php-debugging-in-phpstorm-2-0/&quot; target=&quot;_self&quot;&gt;step by step tutorial&lt;/a&gt;&amp;nbsp;and even a &lt;a href=&quot;http://www.jetbrains.com/phpstorm/demos/remote_debugging/remote_debugging.html&quot; target=&quot;_self&quot;&gt;video tutorial&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;Powerful set of keyboard bindings&lt;/h2&gt;

&lt;p&gt;&lt;img src=&quot;http://www.cubrid.org/files/attach/images/220547/114/353/shortcuts.png&quot; alt=&quot;shortcuts.png&quot; title=&quot;shortcuts.png&quot; class=&quot;iePngFix&quot; width=&quot;495&quot; height=&quot;229&quot; style=&quot;&quot; /&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;This is perhaps the best thing in PHPStorm. There are so many predefined &lt;a href=&quot;http://www.jetbrains.com/phpstorm/documentation/PhpStorm_ReferenceCard.pdf&quot; target=&quot;_self&quot;&gt;keyboard shortcuts&lt;/a&gt; in PHPStorm that you can accomplish almost anything instantly with just your keyboard be it code committing or pushing, adding or deleting a file from your local repository, uploading a file to the remote server via SFTP or FTP, syncing with the remote VCS repository (I personally use Git, but it also supports SVN, Mercury, CVS, TFS, and Perforce). Various server side operations can be triggered by a mere shortcut.&lt;/p&gt;&lt;p&gt;My most favorite shortcut is &lt;span style=&quot;font-family: monospace; &quot;&gt;Ctrl+Cmd+↑&lt;/span&gt;&amp;nbsp;to upload the currently active file to the remote stage server via SFTP so that I can see the changes live on the development server. It is especially convenient when you do not have the full test server on your local machine. By the way, you will not find this shortcut in PHPStorm because I have set it for myself. In PHPStorm you can assign your own shortcut to any available action. For this go to&amp;nbsp;&lt;span style=&quot;font-family: monospace; &quot;&gt;Settings &amp;gt; Keymap&lt;/span&gt;. In my case I have assigned the above shortcut for &lt;span style=&quot;font-family: monospace; &quot;&gt;Settings &amp;gt; Keymap &amp;gt; Plugins &amp;gt; Remote Hosts Access &amp;gt; Upload to Default server&lt;/span&gt;. Super convenient!&lt;/p&gt;&lt;h2&gt;Full support for PHP 5.4&lt;/h2&gt;&lt;p&gt;The latest version of PHPStorm has full support for PHP 5.4 including traits, class member access on instantiation, short array syntax, array dereferencing on function call, binary literals, expressions in static calls, etc. If you want to develop for PHP 5.4, PHPStorm will make it very easy! It is just perfect for&amp;nbsp;PHP reliant Web applications development.&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;h2&gt;Frequent updates&lt;/h2&gt;&lt;p&gt;Last but not least, I like how frequently PHPStorm gets patches. Once in a while it pops up a message window asking you to update the IDE. The updates are available immediately on all supported operating systems&amp;nbsp;(Windows, Mac OS X, Linux). You сan feel how the developers are trying to make their product better.&lt;/p&gt;&lt;h2&gt;But...&lt;/h2&gt;&lt;p&gt;I should say that there is one BUT, maybe the BIG one. PHPStorm is a commercial IDE (99 USD). For some this may be the important criteria when choosing the code editor. But I will tell you what! Try it (free trial for 30 days)! You will really love it! They also provide free licenses to open source projects (our team is using PHPStorm under the open source license) as well as to educational institutions. So if you are an official member of an open source project, requests your free license and enjoy coding!&lt;/p&gt;&lt;/div&gt;</content>
                  <category term="PHPStorm"/>
            <category term="PHP"/>
            <category term="IDE"/>
            <category term="programming"/>
            <category term="CUBRID Affiliates"/>
            
   </entry>
   <entry>
      <title>How to return Custom Type from Java stored procedure?</title>
      <id>http://www.cubrid.org/357744</id>
      <published>2012-05-11T09:09:05-07:00</published>
      <updated>2012-05-14T21:15:06-07:00</updated>
      <link rel="alternate" type="text/html" href="http://www.cubrid.org/357744"/>
      <link rel="replies" type="text/html" href="http://www.cubrid.org/357744#comment"/>
      <author>
         <name>castle79</name>
               </author>
            <content type="html">&lt;div class=&quot;xe_content&quot;&gt;&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;I have a generic method&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;pre class=&quot;brush: java;&quot;&gt;public static List&amp;lt;Students&amp;gt; SelectStudents()
{
List&amp;lt;Students&amp;gt; students = new List&amp;lt;Students&amp;gt;(); // List for save students objects
	//some logic to return 
	return students;
}&lt;/pre&gt;&lt;p&gt;I want to know how can I return the type &lt;b&gt;&lt;span style=&quot;font-family: monospace; &quot;&gt;List&amp;lt;Student&amp;gt;&lt;/span&gt;&lt;/b&gt;&amp;nbsp;using a Function?&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;div id=&quot;endic_ext_wrapper&quot; style=&quot;display: none; &quot;&gt;&lt;/div&gt;&lt;div id=&quot;endic_ext_wrapper&quot; style=&quot;display: none; &quot;&gt;&lt;/div&gt;&lt;div id=&quot;endic_ext_wrapper&quot; style=&quot;display: none; &quot;&gt;&lt;/div&gt;&lt;/div&gt;</content>
                  <category term="Java"/>
            <category term="SQL"/>
            <category term="Stored Procedure"/>
            <category term="User Defined Type"/>
            
   </entry>
   <entry>
      <title>Error 1023</title>
      <id>http://www.cubrid.org/357818</id>
      <published>2012-05-11T13:52:31-07:00</published>
      <updated>2012-05-14T21:05:46-07:00</updated>
      <link rel="alternate" type="text/html" href="http://www.cubrid.org/357818"/>
      <link rel="replies" type="text/html" href="http://www.cubrid.org/357818#comment"/>
      <author>
         <name>castle79</name>
               </author>
            <content type="html">&lt;div class=&quot;xe_content&quot;&gt;&lt;p&gt;


I am TRYING to use the Ado.net connector to get data from a resultset and is very frustrating!&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Inside the source code this received from server the error 1023. I cant see it in the manual.&lt;/p&gt;&lt;p&gt;I am very tired to try it, and this forum and Q&amp;amp;A are really death, no users here.&lt;/p&gt;&lt;p&gt;my code:&lt;/p&gt;&lt;pre class=&quot;brush: php;&quot;&gt;          string ConnectionString = &quot;server=localhost;database=demodb;port=30000;user=dba;password=123456&quot;;
            DataTable dt = new DataTable();
            DataSet ds = new DataSet();
            CUBRIDConnection con = new CUBRIDConnection(ConnectionString);

            CUBRIDCommand com = new CUBRIDCommand();
            com.CommandType = CommandType.StoredProcedure;
            com.Connection = con;
            com.CommandText = &quot;select rset()&quot;;
            CUBRIDParameter pan = new CUBRIDParameter();
            pan.Direction = ParameterDirection.Output;
            pan.CUBRIDDataType = CUBRIDDataType.CCI_U_TYPE_RESULTSET;
            pan.ParameterName = &quot;?p1&quot;;

　
            CUBRIDDataAdapter dap = new CUBRIDDataAdapter(com);
            con.Open();
            int val =  dap.Fill(ds);

            con.Close();&lt;/pre&gt;&lt;p&gt;&lt;br /&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/div&gt;</content>
                  
   </entry>
   <entry>
      <title>CUBRID manager option</title>
      <id>http://www.cubrid.org/359217</id>
      <published>2012-05-14T18:57:07-07:00</published>
      <updated>2012-05-14T18:57:07-07:00</updated>
      <link rel="alternate" type="text/html" href="http://www.cubrid.org/359217"/>
      <link rel="replies" type="text/html" href="http://www.cubrid.org/359217#comment"/>
      <author>
         <name>castle79</name>
               </author>
            <content type="html">&lt;div class=&quot;xe_content&quot;&gt;&lt;p&gt;


hi, as feature can be create java stored procedures directly in CUBRID Manager.&lt;/p&gt;&lt;/div&gt;</content>
                  
   </entry>
   <entry>
      <title>Tutorial How to Use Java Stored Procedures In .NET (code C#)</title>
      <id>http://www.cubrid.org/358924</id>
      <published>2012-05-14T09:06:35-07:00</published>
      <updated>2012-05-14T18:51:52-07:00</updated>
      <link rel="alternate" type="text/html" href="http://www.cubrid.org/358924"/>
      <link rel="replies" type="text/html" href="http://www.cubrid.org/358924#comment"/>
      <author>
         <name>castle79</name>
               </author>
            <content type="html">&lt;div class=&quot;xe_content&quot;&gt;&lt;p&gt;ADO.NET doesn&apos;t provide the same data types as JDBC particularly ResultSet.&lt;/p&gt;&lt;p&gt;Well, my english is not good, so I need much time to write some words. Therefore, I will write all the code and exact steps, so you only need to copy and paste.&lt;/p&gt;

Requirements

&lt;p&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;C# compiler, editor, Visual studio any version, express, etc.&lt;/li&gt;&lt;li&gt;Eclipse or any java compiler.&lt;/li&gt;&lt;li&gt;CUBRID 8.4.1&lt;/li&gt;&lt;li&gt;Understanding of C# development.&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;/p&gt;Little explanation&lt;p&gt;When you run the Java stored procedure in CUBRID Manager, you can use &lt;span style=&quot;font-family: monospace;&quot;&gt;SELECT&lt;/span&gt; or &lt;span style=&quot;font-family: monospace;&quot;&gt;CALL&lt;/span&gt; methods. For example, if you need to call &lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;b&gt;rset()&lt;/b&gt;&lt;/span&gt; stored procedure which returns &lt;span style=&quot;font-family: monospace;&quot;&gt;STRING&lt;/span&gt;, then you can use &lt;span style=&quot;font-family: serif;&quot;&gt;&lt;span style=&quot;font-family: monospace;&quot;&gt;CALL rset()&lt;/span&gt;&lt;/span&gt; or &lt;span style=&quot;font-family: monospace;&quot;&gt;SELECT rset()&lt;/span&gt;.&lt;/p&gt;

&lt;p&gt;If you read &lt;a href=&quot;/manual/840/en/Note&quot; target=&quot;_self&quot;&gt;this manual&lt;/a&gt;, you can find examples of Java stored procedures where you can see one with &lt;span style=&quot;font-family: monospace;&quot;&gt;&lt;b&gt;ResultSet&lt;/b&gt;&lt;/span&gt;&amp;nbsp;return value. Here is the problem: &lt;b&gt;ADO.NET provider cannot handle it because the &lt;i&gt;ResultSet&lt;/i&gt; is a Java type&lt;/b&gt;.&lt;/p&gt;&lt;p&gt;But if the Stored procedure returns &lt;span style=&quot;font-family: monospace;&quot;&gt;STRING&lt;/span&gt; or other native type like &lt;span style=&quot;font-family: monospace;&quot;&gt;INTEGER&lt;/span&gt; you can use &lt;span style=&quot;font-family: monospace;&quot;&gt;SELECT rset()&lt;/span&gt; to get the value.&lt;/p&gt;

Solution

&lt;p&gt;My solution is get a &lt;span style=&quot;font-family: monospace;&quot;&gt;ResultSet&lt;/span&gt; value by converting it to an XML file.&lt;/p&gt;&lt;p&gt;Example in Java:&lt;/p&gt;

&lt;pre class=&quot;brush: php;&quot;&gt;
import java.sql.*;

import cubrid.jdbc.driver.*;

import java.sql.Connection;

import java.sql.Statement;

import java.sql.Driver;

import java.sql.DriverManager;

import java.sql.ResultSet;

import java.sql.ResultSetMetaData;


import javax.xml.parsers.DocumentBuilder;

import javax.xml.parsers.DocumentBuilderFactory;

import javax.xml.transform.*;

import javax.xml.transform.stream.*;

import javax.xml.transform.dom.*;

import org.w3c.dom.Document;

import org.w3c.dom.Element;


public class JavaSP3 {

    public static String TResultSet(){

        ResultSet rs = null;

        Statement stmt = null;

        String sql;


        try {

            Class.forName(&quot;cubrid.jdbc.driver.CUBRIDDriver&quot;);

            Connection con = DriverManager.getConnection(&quot;jdbc:default:connection:&quot;);

            ((CUBRIDConnection)con).setCharset(&quot;euc_kr&quot;);


            DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();

            DocumentBuilder builder =factory.newDocumentBuilder();

            Document doc = builder.newDocument();

            Element results = doc.createElement(&quot;Results&quot;);

            doc.appendChild(results);

                    

            sql = &quot;select * from athlete&quot;;

            stmt=con.createStatement();

            rs = stmt.executeQuery(sql);

            ResultSetMetaData rsmd = rs.getMetaData();

            int colCount = rsmd.getColumnCount();

                      

            while (rs.next()) {

                Element row = doc.createElement(&quot;Row&quot;);

                results.appendChild(row);

                for (int ii = 1; ii &amp;lt;= colCount; ii++) {

                    String columnName = rsmd.getColumnName(ii);

                    Object value = rs.getObject(ii);

                    Element node = doc.createElement(columnName);

                    node.appendChild(doc.createTextNode(value.toString()));

                    row.appendChild(node);

                }

            }


                      

            String valor = getDocumentAsXml(doc);

            return valor;

                     

        }

        catch (Exception e)

        {

            e.printStackTrace();

        }

        

        return null;


    }


    public static String getDocumentAsXml(Document doc)

          throws TransformerConfigurationException, TransformerException {

        DOMSource domSource = new DOMSource(doc);

        TransformerFactory tf = TransformerFactory.newInstance();

        Transformer transformer = tf.newTransformer();

        //transformer.setOutputProperty(OutputKeys.OMIT_XML_DECLARATION,&quot;yes&quot;);

        transformer.setOutputProperty(OutputKeys.METHOD, &quot;xml&quot;);

        transformer.setOutputProperty(OutputKeys.ENCODING,&quot;ISO-8859-1&quot;);

        transformer.setOutputProperty

           (&quot;{http://xml.apache.org/xslt}indent-amount&quot;, &quot;4&quot;);

        transformer.setOutputProperty(OutputKeys.INDENT, &quot;yes&quot;);

     

        java.io.StringWriter sw = new java.io.StringWriter();

        StreamResult sr = new StreamResult(sw);

        transformer.transform(domSource, sr);

        return sw.toString();

     }


}&lt;/pre&gt;

C# code:

&lt;pre class=&quot;brush: php;&quot;&gt;
using System.Data;

using CUBRID.Data.CUBRIDClient;

using System.Data.Common;

using System;


namespace ConsoleApplication1

{

    class Program

    {

        static void Main(string[] args)

        {


            string ConnectionString = &quot;server=localhost;database=demodb;port=30000;user=dba;password=123456&quot;;

            DataTable dt = new DataTable();

            DataSet ds = new DataSet();

            CUBRIDConnection con = new CUBRIDConnection(ConnectionString);


            CUBRIDCommand com = new CUBRIDCommand();

            com.CommandType = CommandType.Text; //Important ADO.NET driver crash using call convention

            com.Connection = con;

            com.CommandText = &quot;select rset();&quot;;

            CUBRIDParameter pan = new CUBRIDParameter();

            con.Open();

            DbDataReader reader = com.ExecuteReader();

            CustomAdapter da = new CustomAdapter();

            da.FillFromReader(dt, reader);

            con.Close();


            DataRow fila = dt.Rows[0];

            Console.WriteLine(fila[0].ToString());

            Console.ReadKey();           


        }

    }


   

    public class CustomAdapter : System.Data.Common.DbDataAdapter

    {

        public int FillFromReader(DataTable dataTable, IDataReader dataReader)

        {

            return this.Fill(dataTable, dataReader);

        }

        protected override System.Data.Common.RowUpdatedEventArgs CreateRowUpdatedEvent(DataRow a, IDbCommand b, StatementType c, System.Data.Common.DataTableMapping d)

        {

            return (System.Data.Common.RowUpdatedEventArgs)new EventArgs();

        }


        protected override System.Data.Common.RowUpdatingEventArgs CreateRowUpdatingEvent(DataRow a, IDbCommand b, StatementType c, System.Data.Common.DataTableMapping d)

        {

            return (System.Data.Common.RowUpdatingEventArgs)new EventArgs();

        }


        protected override void OnRowUpdated(System.Data.Common.RowUpdatedEventArgs value)

        {


　

        }

        protected override void OnRowUpdating(System.Data.Common.RowUpdatingEventArgs value)

        {


　

        }

    }


}&lt;/pre&gt;

&lt;p&gt;See these lines:&lt;/p&gt;

&lt;pre class=&quot;brush: php;&quot;&gt;
CUBRIDCommand
com = new CUBRIDCommand();
com.CommandType = CommandType.Text; //Important ADO.NET driver crash using call convention
com.Connection = con;
com.CommandText = &quot;select rset();&quot;;&lt;/pre&gt;

&lt;p&gt;&lt;span style=&quot;font-family: monospace;&quot;&gt;CommandType&lt;/span&gt; need be &lt;b&gt;&lt;span style=&quot;font-family: monospace;&quot;&gt;Text&lt;/span&gt;&lt;/b&gt;, the CUBRID engine will return you the result as &lt;span style=&quot;font-family: monospace;&quot;&gt;STRING&lt;/span&gt;.&lt;/p&gt;&lt;p&gt;This will get you aN XML document with all the resultSet value. Of course the XML file will be very big, so you will need some compression.&lt;/p&gt;&lt;p&gt;You should also create this function in CUBRID:&lt;/p&gt;

&lt;pre class=&quot;brush: php;&quot;&gt;
CREATE FUNCTION &quot;rset&quot;() RETURN STRING

AS LANGUAGE JAVA

NAME &apos;JavaSP3.TResultSet() return java.lang.String&apos;
&lt;/pre&gt;

&lt;p&gt;And load the &lt;i&gt;.class&lt;/i&gt; file generated in Eclipse using:&lt;/p&gt;

&lt;pre class=&quot;brush: php;&quot;&gt;
C:\CUBRID\bin\loadjava -y demodb JavaSP3.class&lt;/pre&gt;

&lt;p&gt;&lt;b&gt;JavaSP3.class&lt;/b&gt; is the class generated for Eclipse, you can find it the bin directory after you compile the &lt;i&gt;.java&lt;/i&gt; file.&lt;/p&gt;&lt;div style=&quot;display: none;&quot; id=&quot;endic_ext_wrapper&quot;&gt;&lt;/div&gt;&lt;/div&gt;</content>
                  
   </entry>
   <entry>
      <title>CUBRID ADO.NET Tutorials</title>
      <id>http://www.cubrid.org/251323</id>
      <published>2012-01-03T23:01:41-08:00</published>
      <updated>2012-05-14T18:40:41-07:00</updated>
      <link rel="alternate" type="text/html" href="http://www.cubrid.org/251323"/>
      <link rel="replies" type="text/html" href="http://www.cubrid.org/251323#comment"/>
      <author>
         <name>CUBRID</name>
                  <uri>http://www.cubrid.org</uri>
               </author>
            <content type="html">&lt;div class=&quot;xe_content&quot;&gt;&lt;h3&gt;Latest Announcements&lt;/h3&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;&lt;a href=&quot;/blog/cubrid-appstools/cubrid-ado-net-driver-stable-1-0-version/&quot; target=&quot;_self&quot;&gt;CUBRID ADO.NET Driver Stable 1.0 version has been released&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;/blog/cubrid-appstools/official-ado-dot-net-driver-for-cubrid/&quot; target=&quot;_self&quot;&gt;Official ADO.NET Driver for CUBRID is now available&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;h3&gt;Installation Instructions&lt;/h3&gt;&lt;p&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;[CUBRID ADO.NET Driver Installation Guide]&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;/p&gt;&lt;h3&gt;Guides and Tutorials&lt;/h3&gt;&lt;p&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;[A Simple Query/Retrieve Code]
&lt;/li&gt;&lt;li&gt;[Batch Commands]&lt;/li&gt;&lt;li&gt;[Connection Options]&lt;/li&gt;&lt;li&gt;[Connection String]
&lt;/li&gt;&lt;li&gt;[CUBRID Collections]&lt;/li&gt;&lt;li&gt;[CUBRID LOBs]&lt;/li&gt;&lt;li&gt;[CUBRID Metadata support]&lt;/li&gt;&lt;li&gt;[CUBRID NHibernate Tutorial]&lt;/li&gt;&lt;li&gt;[CUBRID OIDs]&lt;/li&gt;&lt;li&gt;[DataTable Support]
&lt;/li&gt;&lt;li&gt;[Transactions]&lt;/li&gt;&lt;li&gt;[Working With Parameters]&lt;/li&gt;&lt;li&gt;[CUBRID ADO.NET Error Codes and Messages]&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/e80y5yhx%28v=vs.80%29.aspx&quot; target=&quot;_self&quot;&gt;ADO.NET MSDN Documentation&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;/manual/841/en/ASP%20Sample&quot; target=&quot;_self&quot;&gt;ASP Sample&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;/questions/357198&quot; target=&quot;_self&quot;&gt;How to call Java Stored Procedure from C#? (Solved)&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;/?mid=forum&amp;amp;category=195532&amp;amp;document_srl=358924&quot; target=&quot;_self&quot;&gt;How to Use Java Stored Procedures In .NET (code C#)&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;/p&gt;&lt;h3&gt;Questions and Answers&lt;/h3&gt;&lt;p&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;a href=&quot;/questions&quot; target=&quot;_self&quot;&gt;Questions and Answers&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;/p&gt;&lt;div id=&quot;endic_ext_wrapper&quot; style=&quot;display: none; &quot;&gt;&lt;/div&gt;&lt;div id=&quot;endic_ext_wrapper&quot; style=&quot;display: none; &quot;&gt;&lt;/div&gt;&lt;/div&gt;</content>
                  <category term="ado.net"/>
            <category term="driver"/>
            <category term="tutorial"/>
            
   </entry>
   <entry>
      <title>Java Stored Procedures with ADO.NET Driver</title>
      <id>http://www.cubrid.org/358305</id>
      <published>2012-05-13T06:09:18-07:00</published>
      <updated>2012-05-14T17:46:11-07:00</updated>
      <link rel="alternate" type="text/html" href="http://www.cubrid.org/358305"/>
      <link rel="replies" type="text/html" href="http://www.cubrid.org/358305#comment"/>
      <author>
         <name>castle79</name>
               </author>
            <content type="html">&lt;div class=&quot;xe_content&quot;&gt;&lt;p&gt;


Please provide support for get data with ADO.NET provider.&lt;/p&gt;&lt;/div&gt;</content>
                  
   </entry>
   <entry>
      <title>How to install jar in cubrid server?</title>
      <id>http://www.cubrid.org/359107</id>
      <published>2012-05-14T14:15:09-07:00</published>
      <updated>2012-05-14T15:04:20-07:00</updated>
      <link rel="alternate" type="text/html" href="http://www.cubrid.org/359107"/>
      <link rel="replies" type="text/html" href="http://www.cubrid.org/359107#comment"/>
      <author>
         <name>castle79</name>
               </author>
            <content type="html">&lt;div class=&quot;xe_content&quot;&gt;&lt;p&gt;


I am trying to install xstream-1.4.2.jar to solve my way to convert to XML.&lt;/p&gt;&lt;p&gt;When I try to do it in loadjava says: cannot open.&amp;nbsp;&amp;nbsp; &lt;/p&gt;&lt;p&gt;loadjava is only for .class files have support for jar?&lt;/p&gt;&lt;/div&gt;</content>
                  <category term="SQL"/>
            
   </entry>
   <entry>
      <title>JWhoisServer CUBRID Tutorial</title>
      <id>http://www.cubrid.org/357936</id>
      <published>2012-05-12T00:58:17-07:00</published>
      <updated>2012-05-14T14:58:55-07:00</updated>
      <link rel="alternate" type="text/html" href="http://www.cubrid.org/357936"/>
      <link rel="replies" type="text/html" href="http://www.cubrid.org/357936#comment"/>
      <author>
         <name>jwhoisserver</name>
               </author>
            <content type="html">&lt;div class=&quot;xe_content&quot;&gt;&lt;p&gt;This tutorial will cover how to use JWhoisServer with CUBRID. The first step is of course to &lt;a href=&quot;http://sourceforge.net/projects/jwhoisserver/files/jwhoisserver/&quot; target=&quot;_self&quot;&gt;download&lt;/a&gt;&amp;nbsp;and install the JWhoisServer application according to your specific environment. If you require any help regarding the installation of JWhoisServer, check out the detailed documentation available here:&lt;a href=&quot;http://jwhoisserver.sourceforge.net/&quot;&gt;http://jwhoisserver.sourceforge.net/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;After installing JWhoisServer, you must configure the Database. In order to use CUBRID as the database, you must follow these easy steps:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Create a database to use (for example let&apos;s name the database: &quot;jwhoisserver&quot;) using either CUBRID Manager or &quot;cubrid createdb jwhoisserver&quot;.&lt;/li&gt;
&lt;li&gt;Start the database either from CUBRID Manager or by using &quot;cubrid server start jwhoisserver&quot;.&lt;/li&gt;
&lt;li&gt;Run the following SQL scripts found in the sql/cubrid folder:
&lt;ul&gt;
&lt;li&gt;struct.sql&lt;/li&gt;&lt;li&gt;data.sql&lt;/li&gt;&lt;li&gt;test.sql (optional)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The scripts can be ran using &lt;a href=&quot;/manual/841/en/CSQL%20Startup%20Options&quot; target=&quot;_self&quot;&gt;csql&lt;/a&gt;&amp;nbsp;or CUBRID Manager (right click on the database and choose &quot;Run SQL Script&quot;).&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;Copy cubrid_jdbc.jar file to the jdbcdrivers folder within the installation folder of JWhoisServer&lt;/li&gt;
&lt;li&gt;Configure server.cfg file to use the CUBRID connection parameters (the db section should like the code below):&lt;pre class=&quot;brush: plain;gutter: false;&quot;&gt;
###### db #####################################################

db.type=cubrid

# connections settings
# see: /etc/jwhoisserver/dbconfig.cfg
db.host=localhost
db.port=30000
db.name=jwhoisserver
db.user=public
db.pass=

###### END db #################################################
&lt;/pre&gt;
&lt;br /&gt;
&lt;/li&gt;
&lt;li&gt;Depending on your setup, you will have to quote special field names.
&lt;br /&gt;
For the sample database this has to look like:
&lt;pre class=&quot;brush: plain;gutter: false;&quot;&gt;
# cubrid requires to escape special names
db.person.tablejoin=LEFT JOIN country ON country_key\=country_fkey LEFT JOIN &quot;type&quot; on type_key\=type_fkey
db.person.display=mntnr_fkey;&quot;type&quot;;name;address;pcode;country.&quot;short&quot; AS country;phone;fax;email;changed

db.domain.displayshort=&quot;domain&quot;;&apos;active&apos; AS status
db.domain.display=&quot;domain&quot;;mntnr_fkey;changed
db.domain.table=&quot;domain&quot;
db.domain.qfield=&quot;domain&quot;

&lt;/pre&gt;
&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;</content>
                  <category term="JWhoisServer"/>
            <category term="tutorial"/>
            
   </entry>
   <entry>
      <title>Java Whois Server</title>
      <id>http://www.cubrid.org/357911</id>
      <published>2012-05-12T00:27:58-07:00</published>
      <updated>2012-05-14T11:44:23-07:00</updated>
      <link rel="alternate" type="text/html" href="http://www.cubrid.org/357911"/>
      <link rel="replies" type="text/html" href="http://www.cubrid.org/357911#comment"/>
      <author>
         <name>jwhoisserver</name>
               </author>
            <content type="html">&lt;div class=&quot;xe_content&quot;&gt;&lt;p&gt;&lt;img src=&quot;http://www.cubrid.org/files/attach/images/194381/911/357/JWhoisServer.gif&quot; alt=&quot;JWhoisServer.gif&quot; title=&quot;JWhoisServer.gif&quot; width=&quot;16&quot; height=&quot;16&quot; style=&quot;&quot; /&gt;
JWhoisServer is a small, fast and highly configurable RFC 3912 compliant whois server written in java and using a Relational Database Management System (RDBMS) as a storage engine.&amp;nbsp;&lt;/p&gt;&lt;p&gt;JWhoisServer has support for IPv6 and IDN and is ready for ICANNs &quot;new gTLDs Program&quot;.
&lt;/p&gt;

&lt;div class=&quot;grid col2&quot;&gt;
&lt;span&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;http://jwhoisserver.net/&quot; target=&quot;_self&quot;&gt;JWhoisServer official website&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://sourceforge.net/projects/jwhoisserver/files/latest/download?source=files&quot; target=&quot;_self&quot;&gt;Download&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://sourceforge.net/projects/jwhoisserver/files/jwhoisserver/version%200.4.1.0/jwhoisserver-0.4.1.0.releasenotes/view&quot; target=&quot;_self&quot;&gt;Release Notes&lt;/a&gt;&lt;/li&gt;&lt;li&gt;[JWhoisServer Key Features]&lt;/li&gt;
&lt;/ul&gt;
&lt;/span&gt;
&lt;span&gt;
&lt;ul&gt;
&lt;li&gt;[JWhoisServer CUBRID Tutorial] + Screenshots&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;/?mid=questions&amp;amp;tag=JWhoisServer&quot; target=&quot;_self&quot;&gt;JWhoisServer Q&amp;amp;A&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://jira.cubrid.org/browse/AFFILIATES/component/10700&quot; target=&quot;_self&quot;&gt;JIRA Issue Tracker&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://jwhoisserver.sourceforge.net/&quot; target=&quot;_self&quot;&gt;JWhoisServer official and extended documentation&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/span&gt;
&lt;/div&gt;&lt;div id=&quot;endic_ext_wrapper&quot; style=&quot;display: none; &quot;&gt;&lt;/div&gt;&lt;/div&gt;</content>
                  <category term="JWhoisServer"/>
            <category term="Java Application"/>
            <category term="SQL Client"/>
            <category term="Multiple Database"/>
            <category term="Cross-platform"/>
            
   </entry>
   <entry>
      <title>Encrypt Stored procedure (Solved)</title>
      <id>http://www.cubrid.org/356978</id>
      <published>2012-05-10T04:44:41-07:00</published>
      <updated>2012-05-14T02:38:28-07:00</updated>
      <link rel="alternate" type="text/html" href="http://www.cubrid.org/356978"/>
      <link rel="replies" type="text/html" href="http://www.cubrid.org/356978#comment"/>
      <author>
         <name>castle79</name>
               </author>
            <content type="html">&lt;div class=&quot;xe_content&quot;&gt;&lt;p&gt;


Hi,&lt;/p&gt;&lt;p&gt;can I protect stored procedured same as transact sql using the parameter &apos;with encryption&apos;?&lt;/p&gt;&lt;p&gt;cubrid have any way to do something?&lt;/p&gt;&lt;div id=&quot;endic_ext_wrapper&quot; style=&quot;display: none; &quot;&gt;&lt;/div&gt;&lt;/div&gt;</content>
                  <category term="Other"/>
            <category term="SQL"/>
            <category term="Stored Procedure"/>
            
   </entry>
   <entry>
      <title>CUBRID Tutorials</title>
      <id>http://www.cubrid.org/245687</id>
      <published>2011-12-20T04:59:29-08:00</published>
      <updated>2012-05-13T21:56:12-07:00</updated>
      <link rel="alternate" type="text/html" href="http://www.cubrid.org/245687"/>
      <link rel="replies" type="text/html" href="http://www.cubrid.org/245687#comment"/>
      <author>
         <name>CUBRID</name>
                  <uri>http://www.cubrid.org</uri>
               </author>
            <content type="html">&lt;div class=&quot;xe_content&quot;&gt;&lt;h2&gt;Quick Start&lt;/h2&gt;&lt;p&gt;It is very easy to get started with CUBRID. Follow these step-by-step tutorials and you will see how fun it is to learn CUBRID.&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Follow [CUBRID Installation Instructions] (Windows, Linux)&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;/manual/840/en/Starting%20the%20CUBRID%20Service&quot; target=&quot;_self&quot;&gt;Start CUBRID Service&lt;/a&gt;&lt;/li&gt;&lt;li&gt;[Create a sample CUBRID Database from the command line]&lt;/li&gt;&lt;li&gt;[Start or Autostart CUBRID Database]&lt;/li&gt;&lt;li&gt;[Getting started with demodb (CUBRID Demo Database)]&lt;/li&gt;&lt;li&gt;[Create the demodb CUBRID Demo Database]&lt;/li&gt;&lt;li&gt;[Connecting to a remote CUBRID Database]&lt;/li&gt;&lt;li&gt;[Important Facts to Know about CUBRID]&lt;/li&gt;&lt;/ul&gt;&lt;h3&gt;Easy Database Administration&lt;/h3&gt;&lt;p&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;a href=&quot;/?mid=downloads&amp;amp;item=cubrid_manager&amp;amp;os=detect&quot; target=&quot;_self&quot;&gt;Download CUBRID Manager&lt;/a&gt;&amp;nbsp;(Windows, Linux, Mac OS X)&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;/run_cubrid_manager_on_mac&quot; target=&quot;_self&quot;&gt;Run CUBRID Manager&lt;/a&gt;. This tutorial will show you how to:&lt;/li&gt;&lt;ul&gt;&lt;li&gt;Add and Connect to a host&lt;/li&gt;&lt;li&gt;Login to and&amp;nbsp;Start a database&lt;/li&gt;&lt;li&gt;Execute queries (SELECT, UPDATE, DELETE)&lt;/li&gt;&lt;/ul&gt;&lt;li&gt;More details are available at &lt;a href=&quot;/wiki_tools/entry/cubrid-manager-manual&quot; target=&quot;_self&quot;&gt;CM Manual&lt;/a&gt;.&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;h3&gt;Install CUBRID Database Drivers&lt;/h3&gt;&lt;p&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;a href=&quot;/wiki_apis/entry/cubrid-php-driver-installation-instructions&quot; target=&quot;_self&quot;&gt;PHP Driver&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;/wiki_apis/entry/cubrid-pdo-driver-installation-instructions&quot; target=&quot;_self&quot;&gt;PDO Driver&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;/wiki_apis/entry/cubrid-python-driver-installation-instructions&quot; target=&quot;_self&quot;&gt;Python Driver&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;/wiki_apis/entry/cubrid-perl-driver-build-guide&quot; target=&quot;_self&quot;&gt;Perl Driver&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;/wiki_apis/entry/cubrid-ruby-driver-installation-instructions&quot; target=&quot;_self&quot;&gt;Ruby Driver&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;/wiki_apis/entry/cubrid-ado-net-driver-installation-guide&quot; target=&quot;_self&quot;&gt;ADO.NET Driver&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;/wiki_apis/entry/cubrid-odbc-driver-installation-instructions&quot; target=&quot;_self&quot;&gt;ODBC Driver&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;/wiki_apis/entry/cubrid-odbc-driver-installation-instructions&quot; target=&quot;_self&quot;&gt;OLEDB Driver&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;/wiki_apis/entry/setting-java-environment-path&quot; target=&quot;_self&quot;&gt;JDBC Driver&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;

&lt;h3&gt;Have Questions?&lt;/h3&gt;&lt;p&gt;So far so easy! But if you have questions, head to &lt;a href=&quot;/questions&quot; target=&quot;_self&quot;&gt;CUBRID Q&amp;amp;A site&lt;/a&gt;. If you run into issues, post them on &lt;a href=&quot;/forum&quot; target=&quot;_self&quot;&gt;CUBRID Forum&lt;/a&gt;. We will be very glad to help you out!&lt;/p&gt;

&lt;h2&gt;Going Further&lt;/h2&gt;&lt;p&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;a class=&quot;ss&quot; href=&quot;http://www.slideshare.net/cubrid/growing-in-the-wild-the-story-by-cubrid-database-developers&quot; target=&quot;_self&quot;&gt;Growing in the Wild. The story by CUBRID Database Developers.&lt;/a&gt;&amp;nbsp;- RIT++ 2012 Conference presentation&lt;/li&gt;&lt;li&gt;[CUBRID Configurations]&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;/?module=file&amp;amp;act=procFileDownload&amp;amp;file_srl=313266&amp;amp;sid=ab3cc8f6cd6c836e486e51382ad0c736&quot; class=&quot;pdf&quot;&gt;CUBRID – Open Source RDBMS Highly Optimized for the Web&lt;/a&gt;&amp;nbsp;- M&amp;amp;T Magazine, Sprint 2012, Vol. 20, Issue 1.&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;/cubrid_version&quot;&gt;How to Get the CUBRID Version Number&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h3&gt;CUBRID SQL Tutorials&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;[CUBRID RDBMS Size Limits]&lt;/li&gt;&lt;li&gt;[Shared Query Plan Caching in CUBRID]&lt;/li&gt;&lt;li&gt;[Why prepare queries if auto-parameterization already does that?]&lt;/li&gt;&lt;li&gt;[Execute prepared SQL in CUBRID]&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;/cubrid_query_tuning&quot; target=&quot;_self&quot;&gt;CUBRID Query Tuning&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;/cubrid_covering_index&quot; target=&quot;_self&quot;&gt;What is Covering Index in CUBRID 8.4.0?&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;/cubrid_click_counter&quot; target=&quot;_self&quot;&gt;CUBRID Click Counter&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;/cubrid_implicit_type_conversion&quot; target=&quot;_self&quot;&gt;Comparison of Implicit Type Conversion in MSSQL, Oracle, MySQL, and CUBRID&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;/cubrid_mysql_oracle_data_type_mapping&quot; target=&quot;_self&quot;&gt;CUBRID vs. MySQL vs. Oracle Data Type Mapping&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;/blog/dev-platform/how-sql-update-is-performed-in-cubrid-rdbms/&quot; target=&quot;_self&quot;&gt;How SQL UPDATE is performed in CUBRID&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;/concat_different_row_columns&quot;&gt;How to Concatenate Column Values from Different Rows&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;/cubrid_serial&quot; target=&quot;_self&quot;&gt;CUBRID Serials&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;/cubrid_database_information&quot; target=&quot;_self&quot;&gt;Database Information in CUBRID&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;/manual/840/en/CUBRID%20SQL%20Guide&quot; target=&quot;_self&quot;&gt;CUBRID SQL Guide&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a class=&quot;pdf&quot; href=&quot;ftp://ftp.cubrid.org/CUBRID_Docs/Tutorials/cubrid-hierarchical-query.pdf&quot; target=&quot;_self&quot;&gt;CUBRID Hierarchical Queries&lt;/a&gt;&lt;/li&gt;&lt;li&gt;[Working with CUBRID BLOB / CLOB Data Types]&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;/transaction_and_lock&quot; target=&quot;_self&quot;&gt;CUBRID Transaction and Lock&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;/cubrid_database_information&quot; target=&quot;_self&quot;&gt;Obtaining Basic Database Information&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;/cubrid_mysql_oracle_data_type_mapping&quot; target=&quot;_self&quot;&gt;Best Way to Store IP Address in CUBRID&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;

&lt;h3&gt;Advanced CUBRID Server Topics&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;CUBRID Architecture&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;/cubrid_architecture_components&quot; target=&quot;_self&quot; class=&quot;ss&quot;&gt;CUBRID Inside - Architecture, Source &amp;amp; Management Components&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;/cubrid_architecture_sns&quot; target=&quot;_self&quot; class=&quot;ss&quot;&gt;CUBRID Reference Architecture for Social Networking Service&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;/release_policy&quot; target=&quot;_self&quot;&gt;CUBRID Release Policy&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;/cubrid_architecture&quot; target=&quot;_self&quot;&gt;The Architecture of CUBRID&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://blog.cubrid.org/cubrid-story/architecture-of-cubrid/&quot; target=&quot;_blank&quot;&gt;Architecture of CUBRID&lt;/a&gt;&amp;nbsp;- Blog article&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://blog.cubrid.org/cubrid-story/the-cubrid-broker-story/&quot; target=&quot;_self&quot;&gt;The CUBRID Broker Story&lt;/a&gt;&lt;/li&gt;&lt;li&gt;[CUBRID Query Processing]&lt;/li&gt;&lt;/ul&gt;
&lt;li&gt;CUBRID Performance&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;/cubrid_840_key_features&quot; target=&quot;_self&quot;&gt;CUBRID 8.4.0 Key Features&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a class=&quot;pdf&quot; href=&quot;ftp://ftp.cubrid.org/CUBRID_Docs/Release_Notes/CUBRID2008R4.0_QA_Completion_Report.pdf&quot; target=&quot;_self&quot;&gt;CUBRID 8.4.0 QA Completion Report&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;/cubrid_volume_space_reusability_test&quot; target=&quot;_self&quot;&gt;CUBRID 8.4.0 vs. 8.3.1 Volume Space Reusability Comparison&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;/cubrid_mysql_sns_benchmark_test&quot; target=&quot;_self&quot;&gt;CUBRID vs. MySQL Benchmark Test Results for SNS Data and Workload&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;/query_tuning_results&quot; target=&quot;_self&quot;&gt;Increasing Database Performance by Query Tuning&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;/ssd_performance_test&quot; target=&quot;_self&quot;&gt;CUBRID vs. MySQL performance test results before and after the SSD usage&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;/benchmark_result&quot; target=&quot;_self&quot;&gt;NBD Benchmark Results&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;li&gt;&lt;a class=&quot;ss&quot; title=&quot;View SlideShare Presentation&quot; href=&quot;http://www.slideshare.net/cubrid/cubrid-developers-course&quot; target=&quot;_blank&quot;&gt;CUBRID Developer&apos;s Course&lt;/a&gt;&lt;a class=&quot;pdf&quot; title=&quot;Download this Presentation in PDF&quot; href=&quot;/files/docs/misc/CUBRID Developer&apos;s Course.pdf&quot; target=&quot;_self&quot;&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;/intro_cubrid_security&quot; target=&quot;_self&quot;&gt;Introduction to CUBRID Security - Part I&lt;/a&gt;&lt;a class=&quot;pdf&quot; title=&quot;Download this Presentation in PDF&quot; href=&quot;/files/docs/tutorials/cubrid/Introduction to CUBRID Security - Part I.pdf&quot; target=&quot;_self&quot;&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;/intro_cubrid_security_2&quot; target=&quot;_self&quot;&gt;Introduction to CUBRID Security - Part II&lt;/a&gt;&lt;a class=&quot;pdf&quot; title=&quot;Download this Presentation in PDF&quot; href=&quot;/files/docs/tutorials/cubrid/Introduction to CUBRID Security - Part II.pdf&quot; target=&quot;_self&quot;&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;CSQL Interpreter&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;/how_to_use_csql_utilities&quot; target=&quot;_self&quot;&gt;How to Use CSQL (CUBRID SQL Interpreter)&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://blog.cubrid.org/cubrid-story/csql-interpreter/&quot; target=&quot;_blank&quot;&gt;CSQL - Command Line SQL Interpreter&lt;/a&gt;&amp;nbsp;- Blog article&lt;/li&gt;&lt;/ul&gt;
&lt;li&gt;&lt;a href=&quot;/server_error_mesages&quot; target=&quot;_self&quot;&gt;Server Error Msg&lt;/a&gt;&lt;/li&gt;&lt;li&gt;[CUBRID Error Codes]&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;/wiki_tutorials/entry/Data_Structures&quot; target=&quot;_self&quot;&gt;Data Structures&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;/wiki_tutorials/entry/Connection_Management_and_Threads_in_CUBRID_Server&quot; target=&quot;_self&quot;&gt;Connection Management and Threads in CUBRID Server&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;/wiki_tutorials/entry/Server_Startup/Shutdown_Process&quot; target=&quot;_self&quot;&gt;Server Startup/Shutdown Process&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;/cubrid_log_files&quot;&gt;CUBRID Log Files&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;CUBRID HA&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;/cubrid_ha_process&quot; target=&quot;_self&quot;&gt;How CUBRID HA Works?&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a class=&quot;pdf&quot; title=&quot;Download this Presentation in PDF&quot; href=&quot;/files/docs/misc/CUBRID HA Starting Guide.pdf&quot;&gt;CUBRID HA Starting Guide&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://blog.cubrid.org/cubrid-story/overview-of-new-high-availability-features-in-cubrid-3-2/&quot; target=&quot;_blank&quot;&gt;Overview of New High-Availability Features in CUBRID 8.4.0&lt;/a&gt;&amp;nbsp;- Blog article&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;/cubrid_ha_oscon&quot; target=&quot;_self&quot;&gt;CUBRID HA - Guaranteed Way to Never-Die Web Services&lt;/a&gt;&amp;nbsp;- OSCON 2011 Conference presentation&lt;/li&gt;&lt;/ul&gt;
&lt;li&gt;CUBRID SHARD&lt;/li&gt;&lt;ul&gt;&lt;li&gt;&lt;a href=&quot;ftp://ftp.cubrid.org/CUBRID_Docs/Tutorials/cubrid-sharding-user-spec.pdf&quot; target=&quot;_self&quot;&gt;CUBRID Database Sharding User Specifications&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;/blog/cubrid-life/database-sharding-with-cubrid/&quot; target=&quot;_self&quot;&gt;Database Sharding with CUBRID&lt;/a&gt;&amp;nbsp;- Blog article&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;/blog/dev-platform/database-sharding-platform-at-nhn/&quot; target=&quot;_self&quot;&gt;Database Sharding Platform at NHN&lt;/a&gt;&amp;nbsp;- Blog article&lt;/li&gt;&lt;/ul&gt;&lt;li&gt;&lt;a href=&quot;/cubrid_automated_scripts_hosting_service&quot; target=&quot;_self&quot;&gt;CUBRID Automated Scripts for DB Hosting Service&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Backup &amp;amp; Restore&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;/backup_cubrid_database&quot; target=&quot;_self&quot;&gt;How to Backup a Database in CUBRID&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;/restore_cubrid_database&quot; target=&quot;_self&quot;&gt;How to Restore a Database in CUBRID&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;/cubrid_backup_restore&quot;&gt;CUBRID Backup &amp;amp; Restore - Part I (Backup)&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;/cubrid_backup_restore_2&quot;&gt;CUBRID Backup &amp;amp; Restore - Part II (Restore)&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;/import_large_file&quot; target=&quot;_self&quot;&gt;How to Efficiently Import Large Files in CUBRID&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;li&gt;&lt;a href=&quot;/cubrid_triggers&quot; target=&quot;_self&quot;&gt;CUBRID Triggers&lt;/a&gt;&lt;/li&gt;&lt;li&gt;Java Stored Procedures&lt;/li&gt;&lt;ul&gt;&lt;li&gt;&lt;a href=&quot;/cubrid_java_stored_procedures&quot; target=&quot;_self&quot;&gt;CUBRID Java Stored Procedures&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;/manual/841/en/Java%20Stored%20Function%7CProcedure&quot; target=&quot;_self&quot;&gt;Java Stored Procedure&lt;/a&gt; - Manual&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;

&lt;h2&gt;Working with Third-party Tools&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;/wiki_tutorials/entry/CUBRID_Service_through_CUBRID_Manager&quot; target=&quot;_self&quot;&gt;CUBRID Service through CUBRID Manager&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;/wiki_tutorials/entry/RCP_Application&quot; target=&quot;_self&quot;&gt;RCP Application&lt;/a&gt;&lt;/li&gt;&lt;li&gt;[Using Solr / Lucene for full text search with CUBRID Database on Ubuntu]&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;/install_cubrid_autoset&quot; target=&quot;_self&quot;&gt;Install CUBRID with AutoSet&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;/ddlutils_scriptella_database_migration&quot; target=&quot;_self&quot;&gt;Use Apache DdlUtils and Scriptella to migrate databases to CUBRID&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://blog.cubrid.org/notice/apache-ddlutils-scriptella-migrating-to-cubrid/&quot; target=&quot;_blank&quot;&gt;Apache DDLUtils &amp;amp; Scriptella: Migrating to CUBRID&lt;/a&gt;&amp;nbsp;- Video Tutorial&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://blog.cubrid.org/cubrid-trainings-channel/scriptella-for-cubrid-video-tutorial/&quot; target=&quot;_blank&quot;&gt;Scriptella for CUBRID&lt;/a&gt;&amp;nbsp;- Video Tutorial&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;/how_to_do_replication_on_unix_and_linux&quot; target=&quot;_self&quot;&gt;How to Do Replication on UNIX &amp;amp; Linux&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://blog.cubrid.org/cubrid-story/cubrid-support-tools/&quot; target=&quot;_blank&quot;&gt;CUBRID Administration Tools&lt;/a&gt;&amp;nbsp;- Blog article&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;/cubrid_web_query_tutorial&quot; target=&quot;_self&quot;&gt;CUBRID WebQuery Tutorial&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://blog.cubrid.org/cubrid-trainings-channel/uniform-server-cubrid-video-tutorial/&quot; target=&quot;_blank&quot;&gt;Uniform Server&lt;/a&gt; - CUBRID Video Tutorial&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://blog.cubrid.org/cubrid-trainings-channel/phpmyedit-for-cubrid-video-tutorial/&quot; target=&quot;_blank&quot;&gt;phpMyEdit for CUBRID&lt;/a&gt; - Video Tutorial&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://blog.cubrid.org/cubrid-trainings-channel/sql-buddy-for-cubrid-video-tutorial/&quot; target=&quot;_blank&quot;&gt;SQL Buddy for CUBRID&lt;/a&gt; - Video Tutorial&lt;/li&gt;
&lt;li&gt;Eclipse&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;/using_cubrid_in_squirrel_sql_client&quot; target=&quot;_self&quot;&gt;CUBRID Through SQuirrel SQL Client&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;/eclipse_sql_explorer&quot; target=&quot;_self&quot;&gt;CUBRID Through Eclipse SQL Explorer&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;/quantumdb_eclipse_plugin&quot; target=&quot;_self&quot;&gt;CUBRID through QuantumDB Eclipse plugin&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;li&gt;&lt;a href=&quot;/using_cubrid_in_aquadatastudio&quot; target=&quot;_self&quot;&gt;Using CUBRID in AquaDataStudio&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;/wordpress_for_cubrid_installation_guide&quot; target=&quot;_self&quot;&gt;Installing WordPress for CUBRID&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;/cubrid_hibernate_tutorial&quot; target=&quot;_self&quot;&gt;Using Hibernate with CUBRID&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;/analyzing_jdbc_logs&quot; target=&quot;_self&quot;&gt;Analyzing JDBC Logs with log4jdbc&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;/store_java_logs_to_databdase_using_log4j&quot; target=&quot;_self&quot;&gt;Store Java Logs to Database Using log4j&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;/clj_dbcp&quot; target=&quot;_self&quot;&gt;Clj-DBCP Clojure Library for Connecting to CUBRID Database&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;/using_cubrid_with_powershell&quot; target=&quot;_self&quot;&gt;Using CUBRID with PowerShell&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;div id=&quot;endic_ext_wrapper&quot; style=&quot;display: none; &quot;&gt;&lt;/div&gt;&lt;div id=&quot;endic_ext_wrapper&quot; style=&quot;display: none; &quot;&gt;&lt;/div&gt;&lt;div id=&quot;endic_ext_wrapper&quot; style=&quot;display: none; &quot;&gt;&lt;/div&gt;&lt;/div&gt;</content>
                  <category term="CUBRID"/>
            <category term="tutorials"/>
            
   </entry>
   <entry>
      <title>ART CUBRID Tutorial</title>
      <id>http://www.cubrid.org/358511</id>
      <published>2012-05-13T19:08:13-07:00</published>
      <updated>2012-05-13T19:08:13-07:00</updated>
      <link rel="alternate" type="text/html" href="http://www.cubrid.org/358511"/>
      <link rel="replies" type="text/html" href="http://www.cubrid.org/358511#comment"/>
      <author>
         <name>CUBRID</name>
                  <uri>http://www.cubrid.org</uri>
               </author>
            <content type="html">&lt;div class=&quot;xe_content&quot;&gt;&lt;p&gt;This tutorial will cover how to use ART with CUBRID. First of all, install the latest version of CUBRID.&amp;nbsp;Then, install ART using the tutorial presented here:&amp;nbsp;&lt;a href=&quot;http://art.sourceforge.net/InstallArt.html&quot;&gt;http://art.sourceforge.net/InstallArt.html&lt;/a&gt;&amp;nbsp;(pay attention to the note below).&lt;/p&gt;&lt;p&gt;&lt;b&gt;Important!&lt;/b&gt;&amp;nbsp;Before you define the ART properties in the installation process above, you must follow these steps:&lt;/p&gt;&lt;p&gt;1. Create a CUBRID database. We&apos;ll call it &quot;artdb&quot; in our example.&lt;/p&gt;&lt;p&gt;2. Connect to the database as the public user and run the SQL scripts (right click on database name and select &quot;Run SQL Script&quot;) located within the ART archive you have downloaded: database\art_tables.sql and&amp;nbsp;database\quartz\tables_cubrid.sql&lt;/p&gt;&lt;p&gt;3. The properties for the CUBRID database are:&amp;nbsp;cubrid.jdbc.driver.CUBRIDDriver (JDBC Driver) and&amp;nbsp;jdbc:cubrid:localhost:30000:artdb:public:: (JDBC URL). We use &quot;localhost&quot; with no password. Change the values to your IP address and database password for public user.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Now you are ready to create your ART Queries. Just follow the simple steps below and you will set up ART with CUBRID in no time.&lt;/p&gt;

&lt;h3&gt;1. Login&lt;/h3&gt;



&lt;h3&gt;&lt;img src=&quot;http://www.cubrid.org/files/attach/images/194381/836/354/art_login.jpg&quot; alt=&quot;art_login.jpg&quot; title=&quot;art_login.jpg&quot; width=&quot;312&quot; height=&quot;313&quot; style=&quot;&quot; /&gt;
&lt;br /&gt;&lt;/h3&gt;&lt;div&gt;The default credentials are admin/admin.&lt;/div&gt;&lt;h3&gt;2. Define a new datasource&lt;/h3&gt;

&lt;p&gt;From the Admin Console, click on the Datasources button&lt;/p&gt;&lt;p&gt;&lt;img src=&quot;http://www.cubrid.org/files/attach/images/194381/836/354/new_datasource.jpg&quot; alt=&quot;new_datasource.jpg&quot; title=&quot;new_datasource.jpg&quot; width=&quot;500&quot; height=&quot;315&quot; style=&quot;&quot; /&gt;
&lt;br /&gt;&lt;/p&gt;


&lt;p&gt;and define connection parameters to your database:&lt;/p&gt;&lt;p&gt;JDBC Driver:&amp;nbsp;cubrid.jdbc.driver.CUBRIDDriver&lt;/p&gt;&lt;p&gt;JDBC URL:&amp;nbsp;jdbc:cubrid:&amp;lt;ip_address&amp;gt;:&amp;lt;port&amp;gt;:&amp;lt;database&amp;gt;:&amp;lt;user&amp;gt;:&amp;lt;password&amp;gt;:&lt;/p&gt;&lt;p&gt;Example URL:&amp;nbsp;jdbc:cubrid:localhost:30000:demodb:public::&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;	&lt;/span&gt;(dba with no password)&lt;/p&gt;



&lt;h3&gt;3. Define a new query&lt;/h3&gt;

&lt;p&gt;Back to the Admin Console, click on the Objects button to reach the Object Management Console&lt;/p&gt;&lt;p&gt;&lt;img src=&quot;http://www.cubrid.org/files/attach/images/194381/836/354/objects.jpg&quot; alt=&quot;objects.jpg&quot; title=&quot;objects.jpg&quot; width=&quot;391&quot; height=&quot;437&quot; style=&quot;&quot; /&gt;
&lt;br /&gt;&lt;/p&gt;


&lt;h3&gt;4. Click on Create New Object and define a new query&lt;/h3&gt;


&lt;p&gt;&lt;img src=&quot;http://www.cubrid.org/files/attach/images/194381/836/354/new_object.jpg&quot; alt=&quot;new_object.jpg&quot; title=&quot;new_object.jpg&quot; width=&quot;500&quot; height=&quot;478&quot; style=&quot;&quot; /&gt;
&lt;br /&gt;&lt;/p&gt;&lt;p&gt;This sample query shows how to define parameters: just surround the parameter label with #.&lt;/p&gt;

&lt;h3&gt;5. Click on Save Changes to reach the Object Editor page&lt;/h3&gt;&lt;div&gt;&lt;img src=&quot;http://www.cubrid.org/files/attach/images/194381/836/354/save_changes.jpg&quot; alt=&quot;save_changes.jpg&quot; title=&quot;save_changes.jpg&quot; width=&quot;500&quot; height=&quot;343&quot; style=&quot;&quot; /&gt;
&lt;br /&gt;&lt;/div&gt;


&lt;h3&gt;6. Click on the Parameters button, then New to create the new parameter&lt;/h3&gt;

&lt;p&gt;&lt;img src=&quot;http://www.cubrid.org/files/attach/images/194381/836/354/parameters.jpg&quot; alt=&quot;parameters.jpg&quot; title=&quot;parameters.jpg&quot; width=&quot;500&quot; height=&quot;293&quot; style=&quot;&quot; /&gt;
&lt;br /&gt;&lt;/p&gt;&lt;p&gt;If the query doesn&apos;t use parameters, this step can be skipped.&lt;/p&gt;

&lt;p&gt;That&apos;s all.&lt;/p&gt; 

&lt;p&gt;From the Admin Console, click on Users to create a new user and then on User Privileges to grant the user permission to run the query.&lt;/p&gt;

&lt;p&gt;Have the user to set the View Mode to Schedule to get the result in his mailbox at a given time (if the user has the required admin level to schedule jobs).&lt;/p&gt;&lt;h2&gt;Getting Help&lt;/h2&gt;&lt;div&gt;If you have any questions, please post them in our &lt;a href=&quot;/questions&quot; target=&quot;_self&quot;&gt;Q&amp;amp;A site&lt;/a&gt; or post a comment on our &lt;a href=&quot;/forum&quot; target=&quot;_self&quot;&gt;forum&lt;/a&gt;.&lt;/div&gt;&lt;div id=&quot;endic_ext_wrapper&quot;&gt;&lt;/div&gt;&lt;/div&gt;</content>
                  <category term="ART"/>
            <category term="tutorial"/>
            
   </entry>
   <entry>
      <title>SIDU CUBRID Tutorial</title>
      <id>http://www.cubrid.org/354836</id>
      <published>2012-05-06T23:32:00-07:00</published>
      <updated>2012-05-13T19:05:11-07:00</updated>
      <link rel="alternate" type="text/html" href="http://www.cubrid.org/354836"/>
      <link rel="replies" type="text/html" href="http://www.cubrid.org/354836#comment"/>
      <author>
         <name>CUBRID</name>
                  <uri>http://www.cubrid.org</uri>
               </author>
            <content type="html">&lt;div class=&quot;xe_content&quot;&gt;&lt;p&gt;Using SIDU to connect and run SQL in CUBRID is very easy and straightforward. No need to install or configure SIDU.&lt;/p&gt;&lt;h3&gt;Download and extract&lt;/h3&gt;&lt;p&gt; Just &lt;a href=&quot;http://sidu.sourceforge.net/sidu/sidu-download.php&quot; target=&quot;_self&quot;&gt;download the zip&lt;/a&gt; archive and extract into a directory accessible by your Web browser. In this tutorial we will extract it to &lt;a href=&quot;http://localhost/sidu35/&quot; target=&quot;_self&quot;&gt;http://localhost/sidu35/&lt;/a&gt;.&lt;/p&gt;&lt;h3&gt;Connect to a database&lt;/h3&gt;&lt;p&gt;When you navigate to your &lt;a href=&quot;http://localhost/sidu35/&quot; target=&quot;_self&quot;&gt;http://localhost/sidu35/&lt;/a&gt;. Choose &quot;CUBRID&quot; as your database engine and fill out the necessary database connection fields.&lt;/p&gt;&lt;blockquote class=&quot;q4&quot;&gt;&lt;p&gt;&lt;b&gt;Notice&lt;/b&gt;&amp;nbsp;that you can connect to more than one database&amp;nbsp;simultaneously&amp;nbsp;by separating them with semicolon. This assumes that the database user is the same, i.e. username and password are the same for both databases.&lt;/p&gt;&lt;p&gt;Also you can easily to any remote database considering that &lt;a href=&quot;/wiki_tutorials/entry/connecting-to-a-remote-cubrid-database&quot; target=&quot;_self&quot;&gt;ports are open on the remote server&lt;/a&gt;.&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;&lt;img src=&quot;http://www.cubrid.org/files/attach/images/194381/836/354/sidu_db_connection.png&quot; alt=&quot;sidu_db_connection.png&quot; title=&quot;sidu_db_connection.png&quot; class=&quot;iePngFix&quot; width=&quot;494&quot; height=&quot;448&quot; style=&quot;&quot; /&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Before you actually connect to a database, you may want to &lt;b&gt;test the connection&lt;/b&gt;&amp;nbsp;by clicking on the &lt;b&gt;&lt;span style=&quot;font-family: monospace; &quot;&gt;Test&lt;/span&gt;&lt;/b&gt;&amp;nbsp;button. If the connection can be established using the provided credentials, you will see the &quot;&lt;span style=&quot;font-family: monospace; &quot;&gt;Connection OK&lt;/span&gt;&quot; message in green as shown below. Now you can press the &quot;&lt;b&gt;&lt;span style=&quot;font-family: monospace; &quot;&gt;Connect&lt;/span&gt;&lt;/b&gt;&quot; button.&lt;/p&gt;&lt;p&gt;&lt;img src=&quot;http://www.cubrid.org/files/attach/images/194381/836/354/sidu_test_db_connection.png&quot; alt=&quot;sidu_test_db_connection.png&quot; title=&quot;sidu_test_db_connection.png&quot; class=&quot;iePngFix&quot; width=&quot;465&quot; height=&quot;483&quot; style=&quot;&quot; /&gt;&lt;br /&gt;&lt;/p&gt;&lt;h3&gt;Databases and tables&lt;/h3&gt;&lt;p&gt;Once you are connected, you can see a list of databases and tables on the left panel.&lt;/p&gt;&lt;p&gt;&lt;img src=&quot;http://www.cubrid.org/files/attach/images/194381/836/354/sidu_db_table_list.png&quot; alt=&quot;sidu_db_table_list.png&quot; title=&quot;sidu_db_table_list.png&quot; class=&quot;iePngFix&quot; width=&quot;366&quot; height=&quot;437&quot; style=&quot;&quot; /&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;If you click on any table, SIDU will display first 15 records of this table by running &quot;&lt;span style=&quot;font-family: monospace; &quot;&gt;SELECT * FROM tbl ORDER BY 1 DESC LIMIT 15&lt;/span&gt;&quot;.&lt;/p&gt;&lt;p&gt;&lt;img src=&quot;http://www.cubrid.org/files/attach/images/194381/836/354/sidu_table_select.png&quot; alt=&quot;sidu_table_select.png&quot; title=&quot;sidu_table_select.png&quot; class=&quot;iePngFix&quot; width=&quot;735&quot; height=&quot;511&quot; style=&quot;&quot; /&gt;
&lt;br /&gt;&lt;/p&gt;&lt;h3&gt;Editing in Query Results&lt;/h3&gt;&lt;p&gt;You can edit records/column directly from the query results. Each field in the&amp;nbsp;query result is an editable input field. Place the cursor and start typing and changing values. You can change multiple rows at once. When done editing, press the &quot;&lt;b&gt;Save&lt;/b&gt;&quot; icon (&lt;i&gt;7th&lt;/i&gt; in the results panel toolbar above the results). This will save all the changes automatically. Isn&apos;t it super convenient!?&lt;/p&gt;&lt;h3&gt;Filter in Query Results&lt;/h3&gt;&lt;p&gt;Another great feature in SIDU is the&amp;nbsp;&lt;b&gt;filtering the results&lt;/b&gt;. In the &quot;&lt;b&gt;where&lt;/b&gt;&quot; field right below the results toolbar enter a valid SQL condition. Then press the green arrow button, which is to right of the &quot;where&quot; field, to narrow the search scope.&lt;/p&gt;&lt;blockquote class=&quot;q4&quot;&gt;&lt;p&gt;&lt;b&gt;Remember&lt;/b&gt;&amp;nbsp;that in CUBRID strings are wrapped in single quotes.&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;&lt;img src=&quot;http://www.cubrid.org/files/attach/images/194381/836/354/sidu_filter_results.png&quot; alt=&quot;sidu_filter_results.png&quot; title=&quot;sidu_filter_results.png&quot; class=&quot;iePngFix&quot; width=&quot;634&quot; height=&quot;160&quot; style=&quot;&quot; /&gt;&lt;br /&gt;&lt;/p&gt;&lt;h3&gt;Execute Multiple Queries&lt;/h3&gt;&lt;p&gt;In SIDU you can also execute multiple SQL. There are two different ways to do this:&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;ol&gt;&lt;li&gt;&lt;b&gt;Run All&lt;/b&gt;&amp;nbsp;will execute all SQL statements one by one, but display the results from only the first query.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;b&gt;Multi&lt;/b&gt;&amp;nbsp;will execute all SQL statements one by one, and will displays all results obtained from each query.&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;Below is the output of &lt;b&gt;Run All&lt;/b&gt;&amp;nbsp;command.&lt;/p&gt;&lt;p&gt;&lt;img src=&quot;http://www.cubrid.org/files/attach/images/194381/836/354/sidu_run_all_sql.png&quot; alt=&quot;sidu_run_all_sql.png&quot; title=&quot;sidu_run_all_sql.png&quot; class=&quot;iePngFix&quot; width=&quot;359&quot; height=&quot;314&quot; style=&quot;&quot; /&gt;&lt;/p&gt;&lt;p&gt;And this is the output of&amp;nbsp;&lt;b&gt;Multi&lt;/b&gt;&amp;nbsp;command. Notice that both queries results are displayed.&lt;/p&gt;&lt;p&gt;&lt;img src=&quot;http://www.cubrid.org/files/attach/images/194381/836/354/sidu_run_multiple_sql.png&quot; alt=&quot;sidu_run_multiple_sql.png&quot; title=&quot;sidu_run_multiple_sql.png&quot; class=&quot;iePngFix&quot; width=&quot;359&quot; height=&quot;539&quot; style=&quot;&quot; /&gt;
&lt;br /&gt;&lt;/p&gt;&lt;h3&gt;Refresh Window&lt;/h3&gt;&lt;p&gt;When you create/drop/alter a table, the panel with a list of databases and tables is not automatically refreshed. In order to refresh the page, click on the &lt;b&gt;Refresh &quot;Window&quot;&lt;/b&gt;&amp;nbsp;icon on the main toolbar.&lt;/p&gt;&lt;h3&gt;Conclusion&lt;/h3&gt;&lt;p&gt;There are many other things that SIDU can do, but we leave the rest to you! SIDU is a really great app. It does exactly what its name says: SELECT, INSERT, DELETE, UPDATE. If you do not need any sophisticated database administration functionality, SIDU may be exactly what you need. It is ideal for Web developers!&lt;/p&gt;&lt;p&gt;


&lt;/p&gt;&lt;div id=&quot;endic_ext_wrapper&quot; style=&quot;display: none; &quot;&gt;&lt;/div&gt;&lt;div id=&quot;endic_ext_wrapper&quot; style=&quot;display: none; &quot;&gt;&lt;/div&gt;&lt;/div&gt;</content>
                  <category term="tutorial"/>
            <category term="SIDU"/>
            
   </entry>
   <entry>
      <title>How to call Java Stored Procedure from C#? (Solved)</title>
      <id>http://www.cubrid.org/357198</id>
      <published>2012-05-10T16:04:37-07:00</published>
      <updated>2012-05-13T18:45:11-07:00</updated>
      <link rel="alternate" type="text/html" href="http://www.cubrid.org/357198"/>
      <link rel="replies" type="text/html" href="http://www.cubrid.org/357198#comment"/>
      <author>
         <name>castle79</name>
               </author>
            <content type="html">&lt;div class=&quot;xe_content&quot;&gt;&lt;p&gt;Hi, I am trying to get some value from the database using ado.net.&lt;/p&gt;&lt;p&gt;I am using the java stored procedures but in the manager this works, in my C# code not.&lt;/p&gt;

&lt;pre class=&quot;brush: csharp;toolbar: false;&quot;&gt;
public class SpCubrid{
  public static String HelloCubrid() {
    return &quot;Hello, Cubrid !!&quot;;
  }
  public static int SpInt(int i) {
    return i + 1;
  }
  public static void outTest(String[] o) {
    o[0] = &quot;Hello, CUBRID&quot;;
  }
}&lt;/pre&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: csharp;toolbar: false;&quot;&gt;
CREATE FUNCTION &quot;hello&quot;() RETURN STRING
AS LANGUAGE JAVA 
NAME &apos;SpCubrid.HelloCubrid() return java.lang.String&apos;&lt;/pre&gt;

&lt;p&gt;result on server:&lt;/p&gt;

&lt;pre class=&quot;brush: csharp;toolbar: false;&quot;&gt;
Hello, Cubrid !!&lt;/pre&gt;

&lt;p&gt;my C# code&lt;/p&gt;

&lt;pre class=&quot;brush: csharp;toolbar: false;&quot;&gt;using System;
using System.Data;
using System.Windows.Forms;
using CUBRID.Data.CUBRIDClient;
using System.Data.Common;


namespace WindowsFormsApplication1
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void Form1_Load(object sender, EventArgs e)
        {
            string ConnectionString = &quot;server=localhost;database=demodb;port=30000;user=dba;password=123456&quot;;
            DataTable dt = new DataTable();
           
            CUBRIDConnection con = new CUBRIDConnection(ConnectionString);

            CUBRIDCommand com = new CUBRIDCommand(&quot;hello&quot;, con);
            com.CommandType = CommandType.StoredProcedure;            
           
            con.Open();
            DbDataReader reader = com.ExecuteReader();
            
            CustomAdapter da = new CustomAdapter();
            da.FillFromReader(dt, reader); 
            con.Close();
            string text = dt.Rows[0].ToString();
            //dataGridView1.DataSource = dt;
            //MessageBox.Show(reader.ToString());
           
        }
    }

    public class CustomAdapter : System.Data.Common.DbDataAdapter
    {
        public int FillFromReader(DataTable dataTable, IDataReader dataReader)
        {
            return this.Fill(dataTable, dataReader);
        }
        protected override System.Data.Common.RowUpdatedEventArgs CreateRowUpdatedEvent(DataRow a, IDbCommand b, StatementType c, System.Data.Common.DataTableMapping d)
        {
            return (System.Data.Common.RowUpdatedEventArgs)new EventArgs();
        }

        protected override System.Data.Common.RowUpdatingEventArgs CreateRowUpdatingEvent(DataRow a, IDbCommand b, StatementType c, System.Data.Common.DataTableMapping d)
        {
            return (System.Data.Common.RowUpdatingEventArgs)new EventArgs();
        }

        protected override void OnRowUpdated(System.Data.Common.RowUpdatedEventArgs value)
        {

        }
        protected override void OnRowUpdating(System.Data.Common.RowUpdatingEventArgs value)
        {

        }
    } 
}&lt;/pre&gt;&lt;/div&gt;</content>
                  <category term="Java"/>
            <category term="Stored Procedure"/>
            <category term="ADO.NET"/>
            
   </entry>
   <entry>
      <title>Semantic: Cannot coerce host var to type date.</title>
      <id>http://www.cubrid.org/358410</id>
      <published>2012-05-13T11:56:51-07:00</published>
      <updated>2012-05-13T18:32:11-07:00</updated>
      <link rel="alternate" type="text/html" href="http://www.cubrid.org/358410"/>
      <link rel="replies" type="text/html" href="http://www.cubrid.org/358410#comment"/>
      <author>
         <name>castle79</name>
               </author>
            <content type="html">&lt;div class=&quot;xe_content&quot;&gt;&lt;p&gt;
I am very unhappy, this database has many bugs with ADO.NET.&lt;/p&gt;&lt;p&gt;I am trying to insert to datetime to database.&lt;/p&gt;

&lt;pre class=&quot;brush: csharp;&quot;&gt;#region FechaNacimiento
CUBRIDParameter tblpacientesfechanacimiento = new CUBRIDParameter();
tblpacientesfechanacimiento.CUBRIDDataType = CUBRIDDataType.CCI_U_TYPE_DATE;
tblpacientesfechanacimiento.Direction = System.Data.ParameterDirection.Input;
tblpacientesfechanacimiento.ParameterName = &quot;?p11&quot;;
tblpacientesfechanacimiento.Value = objeto.tblPacientesFechaNacimiento;
#endregion
com.Parameters.Add(tblpacientesfechanacimiento);&lt;/pre&gt;

&lt;p&gt;tblPacientesFechaNacimiento is type &quot;DateTime&quot;&lt;/p&gt;&lt;p&gt;When can give me a feedback, I have 3 days fighting with this database, is very annoying!! has many problems!!! I am thinking in rollback to postgresql.&lt;/p&gt;&lt;div id=&quot;endic_ext_wrapper&quot; style=&quot;display: none; &quot;&gt;&lt;/div&gt;&lt;/div&gt;</content>
                  <category term="SQL"/>
            <category term="ADO.NET"/>
            
   </entry>
   <entry>
      <title>How can I block all connections?(solved)</title>
      <id>http://www.cubrid.org/357728</id>
      <published>2012-05-11T08:39:59-07:00</published>
      <updated>2012-05-12T17:29:47-07:00</updated>
      <link rel="alternate" type="text/html" href="http://www.cubrid.org/357728"/>
      <link rel="replies" type="text/html" href="http://www.cubrid.org/357728#comment"/>
      <author>
         <name>castle79</name>
               </author>
            <content type="html">&lt;div class=&quot;xe_content&quot;&gt;&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;How can I block all incoming connections? I want only accept connections from localhost.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;/div&gt;</content>
                  <category term="Windows"/>
            <category term="server"/>
            
   </entry>
   <entry>
      <title>JWhoisServer Key Features</title>
      <id>http://www.cubrid.org/357925</id>
      <published>2012-05-12T00:31:03-07:00</published>
      <updated>2012-05-12T00:31:03-07:00</updated>
      <link rel="alternate" type="text/html" href="http://www.cubrid.org/357925"/>
      <link rel="replies" type="text/html" href="http://www.cubrid.org/357925#comment"/>
      <author>
         <name>CUBRID</name>
                  <uri>http://www.cubrid.org</uri>
               </author>
            <content type="html">&lt;div class=&quot;xe_content&quot;&gt;&lt;p&gt;The key features of JWhoisServer are:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;ready for the &quot;new gTLDs&quot;&lt;/li&gt;
&lt;li&gt;ready for IPv6&lt;/li&gt;
&lt;li&gt;IDN support&lt;/li&gt;
&lt;li&gt;small and fast&lt;/li&gt;
&lt;li&gt;platform independent: (tested on different Linux distributions and MS Windows) it should run everywhere where a java VM is available.&lt;/li&gt;
&lt;li&gt;highly configurable: the provided database is only a sample; JWhoisServer can be configured to work on nearly any database structure.&lt;/li&gt;
&lt;li&gt;configurable output format using config properties or velocity templates&lt;/li&gt;
&lt;li&gt;Database environment: Supported RDBMS:
&lt;ul&gt;
&lt;li&gt;mysql default&lt;/li&gt;
&lt;li&gt;PostgreSQL&lt;/li&gt;
&lt;li&gt;firebird2&lt;/li&gt;
&lt;li&gt;SQLite3&lt;/li&gt;
&lt;li&gt;HSQLDB (standalone or server)&lt;/li&gt;
&lt;li&gt;CUBRID&lt;/li&gt;
&lt;li&gt;Oracle (tested with Express Edition)&lt;/li&gt;
&lt;li&gt;JavaDB / Apache Derby (in embedded or server/client mode)&lt;/li&gt;
&lt;li&gt;H2 Database Engine&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</content>
                  <category term="JWhoisServer"/>
            <category term="key features"/>
            
   </entry>
   <entry>
      <title>How to return a Java Resultset on CUBRID function</title>
      <id>http://www.cubrid.org/357622</id>
      <published>2012-05-11T06:17:01-07:00</published>
      <updated>2012-05-11T06:22:16-07:00</updated>
      <link rel="alternate" type="text/html" href="http://www.cubrid.org/357622"/>
      <link rel="replies" type="text/html" href="http://www.cubrid.org/357622#comment"/>
      <author>
         <name>castle79</name>
               </author>
            <content type="html">&lt;div class=&quot;xe_content&quot;&gt;&lt;p&gt;


Hi,&lt;/p&gt;&lt;p&gt;I am trying to return a resultset from a java stored procedure, of course, I use a function to get the result but the server say error when execute the function.&lt;/p&gt;&lt;p&gt;Server error is:&lt;/p&gt;&lt;p&gt;&lt;pre class=&quot;brush: xml;&quot;&gt; execute error:-911
line 1 is not executed (error)&lt;/pre&gt;&lt;pre class=&quot;brush: xml;&quot;&gt;Error description:
Invalid call: it can not return ResultSet.&lt;/pre&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;my function:&lt;/p&gt;&lt;pre class=&quot;brush: java;&quot;&gt; CREATE FUNCTION &quot;rset&quot;() RETURN CURSOR
AS LANGUAGE JAVA 
NAME &apos;JavaSP2.TResultSet() return cubrid.jdbc.driver.CUBRIDResultSet&apos;&lt;/pre&gt;&lt;p&gt;&lt;br /&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;the server set automatically return cubrid.jdbc.driver.CUBRIDResultSet instead return java.sql.ResultSet as example in the link &lt;a href=&quot;/manual/840/en/Note&quot;&gt;http://www.cubrid.org/manual/840/en/Note&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;(this editor is very disgusting has very problems to indent code nad insert images)&lt;/p&gt;&lt;p&gt;my Stored procedure:&lt;/p&gt;&lt;div class=&quot;ch_infobox&quot;&gt;&lt;span class=&quot;description&quot;&gt;code&lt;/span&gt;&lt;/div&gt;&lt;pre class=&quot;brush: java;collapse: true;&quot;&gt; import  java.sql.*;

import cubrid.jdbc.driver.*;

public class JavaSP2 {
 
public static  cubrid.jdbc.driver.CUBRIDResultSet TResultSet(){
  
    	 try{
   		  
             Class.forName(&quot;cubrid.jdbc.driver.CUBRIDDriver&quot;);
             Connection con = DriverManager.getConnection(&quot;jdbc:CUBRID:localhost:33000:demodb:::&quot;,&quot;dba&quot;,&quot;123456&quot;);           
   		     String sql = &quot;select * from athlete&quot;;		
   		     CUBRIDStatement stmt= (CUBRIDStatement) con.createStatement();		
   		     CUBRIDResultSet rs = (CUBRIDResultSet)stmt.executeQuery(sql);		
   		  return  (cubrid.jdbc.driver.CUBRIDResultSet)rs;
   		  } 
   	      catch (Exception e)
   	      {		
   		     e.printStackTrace();
 }
   	  	return null;
 
  }
 
}
 &lt;/pre&gt;&lt;/div&gt;</content>
                  
   </entry>
   <entry>
      <title>Create the demodb CUBRID Demo Database</title>
      <id>http://www.cubrid.org/328429</id>
      <published>2012-04-16T19:12:47-07:00</published>
      <updated>2012-05-11T04:07:18-07:00</updated>
      <link rel="alternate" type="text/html" href="http://www.cubrid.org/328429"/>
      <link rel="replies" type="text/html" href="http://www.cubrid.org/328429#comment"/>
      <author>
         <name>CUBRID</name>
                  <uri>http://www.cubrid.org</uri>
               </author>
            <content type="html">&lt;div class=&quot;xe_content&quot;&gt;&lt;p&gt;In this tutorial you will learn how to quickly create the&amp;nbsp;&lt;b&gt;demodb&lt;/b&gt;&amp;nbsp;CUBRID demo database which comes with every installation of CUBRID. This assumes that you do not have &lt;b&gt;demodb&lt;/b&gt;&amp;nbsp;database already installed, which is usually automatically installed during&amp;nbsp;[CUBRID Installation Instructions|CUBRID installation]. If you have it installed, follow [Getting started with demodb (CUBRID Demo Database)|Getting started with demodb] guide.&lt;/p&gt;&lt;p&gt;&lt;b&gt;Note: &lt;/b&gt;For Ubuntu demodb can be installed using &lt;b&gt;sudo apt-get cubrid-demodb&lt;/b&gt; ([Installing CUBRID on Ubuntu])&lt;/p&gt;&lt;p&gt;The &lt;b&gt;demodb&lt;/b&gt; database files are included in CUBRID binaries. Therefore when you install CUBRID, the &lt;b&gt;demodb&lt;/b&gt; files can be found in &lt;span style=&quot;font-family: monospace; &quot;&gt;&lt;b&gt;/demo&lt;/b&gt;&lt;/span&gt;&amp;nbsp;directory inside the directly where you installed CUBRID. To find where CUBRID has been installed type &lt;span style=&quot;font-family: monospace; &quot;&gt;&lt;b&gt;$CUBRID&lt;/b&gt;&lt;/span&gt; in the command line. This will give you the directory where CUBRID files reside.&lt;/p&gt;&lt;p&gt;In the &lt;b&gt;&lt;span style=&quot;font-family: monospace; &quot;&gt;/demo&lt;/span&gt;&lt;/b&gt; directory you will find two files:&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;ol&gt;&lt;li&gt;&lt;b&gt;demodb_schema&lt;br /&gt;&lt;/b&gt;This files contains all the SQL instructions which CUBRID has to execute to create the &lt;b&gt;demodb&lt;/b&gt; database.&lt;/li&gt;&lt;li&gt;&lt;b&gt;demodb_objects&lt;/b&gt;&lt;br /&gt;This file contains all the data which will be INSERTed into &lt;b&gt;demodb&lt;/b&gt; database.&lt;/li&gt;&lt;/ol&gt;

&lt;p&gt;Before creating any database, you need to decide in which directory you would like to keep its files. In this tutorial let&apos;s assume we want to keep files for this database in our user&apos;s home directory in &quot;&lt;span style=&quot;font-family: monospace; &quot;&gt;CUBRID_databases&lt;/span&gt;&quot; directory.&lt;/p&gt;

&lt;pre class=&quot;brush: bash;&quot;&gt;cd ~
mkdir CUBRID_databases
cd CUBRID_databases
mkdir demodb
cd demodb&lt;/pre&gt;

&lt;p&gt;Now run the following command when you are in &lt;span style=&quot;font-family: monospace; &quot;&gt;/demodb&lt;/span&gt;&amp;nbsp;directory to create the &lt;b&gt;demodb&lt;/b&gt; database.&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;pre class=&quot;brush: bash;gutter: false;&quot;&gt;cubrid createdb --db-volume-size=100M --log-volume-size=100M demodb&lt;/pre&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;This will create the &lt;b&gt;demodb&lt;/b&gt; database and allocate 100 megabytes of disk space (&lt;i&gt;DB Volume&lt;/i&gt;) for it. For this demo database 100M is enough. For other databases you create, you can adjust these values. See &lt;a href=&quot;/manual/841/en/Database%20Administration-Creating%20Database&quot; target=&quot;_self&quot;&gt;Creating Database&lt;/a&gt;&amp;nbsp;manual page.&lt;/p&gt;&lt;p&gt;Now load both &lt;b&gt;demodb_schema&lt;/b&gt; and &lt;b&gt;demodb_objects&lt;/b&gt;&amp;nbsp;files into the newly created &lt;b&gt;demodb&lt;/b&gt; database.&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;pre class=&quot;brush: bash;gutter: false;&quot;&gt;cubrid loaddb -u dba -s $CUBRID/demo/demodb_schema -d $CUBRID/demo/demodb_objects demodb&lt;/pre&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;This will load all the &lt;b&gt;demodb&lt;/b&gt; database&apos;s data into CUBRID Server. &lt;b&gt;dba&lt;/b&gt;&amp;nbsp;will become the owner of this database with a blank password.&lt;/p&gt;&lt;p&gt;Congratulations! Now CUBRID demodb database has been loaded and ready to be explored!&lt;/p&gt;&lt;p&gt;At this moment you may want to continue to&amp;nbsp;[Getting started with demodb (CUBRID Demo Database)|Getting started with demodb] tutorial.&lt;/p&gt;&lt;p&gt;


&lt;/p&gt;&lt;div id=&quot;endic_ext_wrapper&quot; style=&quot;display: none; &quot;&gt;&lt;/div&gt;&lt;/div&gt;</content>
                  <category term="demodb"/>
            <category term="createdb"/>
            <category term="loaddb"/>
            <category term="db-volume-size"/>
            <category term="log-volume-size"/>
            
   </entry>
   <entry>
      <title>Installing CUBRID on Ubuntu</title>
      <id>http://www.cubrid.org/266367</id>
      <published>2012-01-24T20:49:06-08:00</published>
      <updated>2012-05-11T04:02:58-07:00</updated>
      <link rel="alternate" type="text/html" href="http://www.cubrid.org/266367"/>
      <link rel="replies" type="text/html" href="http://www.cubrid.org/266367#comment"/>
      <author>
         <name>CUBRID</name>
                  <uri>http://www.cubrid.org</uri>
               </author>
            <content type="html">&lt;div class=&quot;xe_content&quot;&gt;&lt;p&gt;To install CUBRID using &lt;b&gt;apt-get&lt;/b&gt;&amp;nbsp;on Ubuntu, we need to add CUBRID&apos;s repository so that Ubuntu knows where to download the packages from, and then tell the OS to update its indexes.&lt;/p&gt;

&lt;pre class=&quot;brush: bash;&quot;&gt;sudo add-apt-repository ppa:cubrid/cubrid
sudo apt-get update&lt;/pre&gt;

&lt;p&gt;Now install the latest version of CUBRID:&lt;/p&gt;&lt;div&gt;&lt;p&gt;&lt;/p&gt;&lt;pre class=&quot;brush: bash;&quot;&gt; sudo apt-get install cubrid&lt;/pre&gt;

&lt;p&gt;To install earlier version, indicate the version as:&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;pre class=&quot;brush: bash;&quot;&gt;sudo apt-get install cubrid-8.3.1&lt;/pre&gt;

&lt;p&gt;To complete the installation and set the CUBRID PATH variables, reboot your OS. Until you reboot, you can also run the command &quot;. /etc/profile.d/cubrid.sh&quot; every time you open up a terminal if cubrid command is not found.&lt;/p&gt;&lt;p&gt;&lt;b&gt;Optional:&lt;/b&gt;&amp;nbsp;If you want to install the demodb sample database, run the command:&lt;/p&gt;
&lt;pre class=&quot;brush: bash;&quot;&gt; sudo apt-get install cubrid-demodb&lt;/pre&gt;
&lt;p&gt;&lt;b&gt;Important!&amp;nbsp;&lt;/b&gt;If you encounter any permission errors, make sure all files in /opt/cubrid folder are accessible by the &quot;cubrid&quot; user. To ensure this, use the command:&lt;/p&gt;
&lt;pre class=&quot;brush: bash;&quot;&gt;sudo chown cubrid:cubrid -R /opt/cubrid&lt;/pre&gt;


&lt;/div&gt;&lt;/div&gt;</content>
                  <category term="CUBRID"/>
            <category term="installation instructions"/>
            <category term="ubuntu"/>
            <category term="linux"/>
            <category term="launchpad"/>
            
   </entry>
   <entry>
      <title>ART Key Features</title>
      <id>http://www.cubrid.org/355876</id>
      <published>2012-05-08T02:00:56-07:00</published>
      <updated>2012-05-08T02:00:56-07:00</updated>
      <link rel="alternate" type="text/html" href="http://www.cubrid.org/355876"/>
      <link rel="replies" type="text/html" href="http://www.cubrid.org/355876#comment"/>
      <author>
         <name>CUBRID</name>
                  <uri>http://www.cubrid.org</uri>
               </author>
            <content type="html">&lt;div class=&quot;xe_content&quot;&gt;&lt;p&gt;ART is a lightweight, multiplatform, web based query tool and reporting environment. The following are the main features:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;ART comes with an embedded database (HSQLDB) to store query definitions, users, privileges, databases to connect to etc. 
This is the ART Repository and it can use other databases to store this information e.g. CUBRID, Oracle, MySQL, PostgreSQL, SQL Server.&lt;/li&gt;
&lt;li&gt;Provide live data via a web browser (table/crosstab, graphs, spreadsheets, pdf)&lt;/li&gt;
&lt;li&gt;Group queries/graphs in a single portal-like page (dashboards)&lt;/li&gt;
&lt;li&gt;Schedule queries, publish or send results via e-mail&lt;/li&gt;
&lt;li&gt;Build rules to dynamically filter query results based on user&lt;/li&gt;
&lt;li&gt;Drill Down, Cached Results, Enable your information via RSS&lt;/li&gt;
&lt;li&gt;Leverage on LDAP, Active Directory or other existing authentication systems&lt;/li&gt;
&lt;li&gt;Simple to install, administer and use&lt;/li&gt;
&lt;li&gt;Open, platform independent, free&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;div id=&quot;endic_ext_wrapper&quot; style=&quot;display: none; &quot;&gt;&lt;/div&gt;&lt;div id=&quot;endic_ext_wrapper&quot; style=&quot;display: none; &quot;&gt;&lt;/div&gt;&lt;/div&gt;</content>
                  <category term="ART"/>
            <category term="key features"/>
            
   </entry>
   <entry>
      <title>ART - A Lightweight Reporting Solution</title>
      <id>http://www.cubrid.org/355846</id>
      <published>2012-05-08T01:50:27-07:00</published>
      <updated>2012-05-08T01:53:19-07:00</updated>
      <link rel="alternate" type="text/html" href="http://www.cubrid.org/355846"/>
      <link rel="replies" type="text/html" href="http://www.cubrid.org/355846#comment"/>
      <author>
         <name>CUBRID</name>
                  <uri>http://www.cubrid.org</uri>
               </author>
            <content type="html">&lt;div class=&quot;xe_content&quot;&gt;&lt;p&gt;ART is a lightweight, multiplatform, web based query tool and reporting environment. SQL queries can be published in a few minutes. It supports tabular, crosstab, charts, scheduling, email alerts, drill down, among other features. Results are exportable to spreadsheet/pdf, can be reversed to a database table (cached), can be embedded in a portal-like page or retrieved via a smartphone. All this to create a simple yet effective Open Source Business Intelligence solution.
&lt;/p&gt;

&lt;div class=&quot;grid col2&quot;&gt;
&lt;span&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;http://art.sourceforge.net/&quot; target=&quot;_self&quot;&gt;ART official website&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://sourceforge.net/projects/art/files/latest/download?source=files&quot; target=&quot;_self&quot;&gt;Download&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://art.sourceforge.net/ChangeLog.html&quot; target=&quot;_self&quot;&gt;Release Notes&lt;/a&gt;&lt;/li&gt;&lt;li&gt;[ART Key Features]&lt;/li&gt;
&lt;/ul&gt;
&lt;/span&gt;
&lt;span&gt;
&lt;ul&gt;
&lt;li&gt;[ART CUBRID Tutorial] + Screenshots&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;/?mid=questions&amp;amp;tag=ART&quot; target=&quot;_self&quot;&gt;ART Q&amp;amp;A&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://jira.cubrid.org/browse/AFFILIATES/component/10609&quot; target=&quot;_self&quot;&gt;JIRA Issue Tracker&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/span&gt;
&lt;/div&gt;&lt;div id=&quot;endic_ext_wrapper&quot; style=&quot;display: none; &quot;&gt;&lt;/div&gt;&lt;/div&gt;</content>
                  <category term="ART"/>
            <category term="Web App"/>
            <category term="Java Application"/>
            <category term="SQL Client"/>
            <category term="Multiple Database"/>
            
   </entry>
   <entry>
      <title>Sharing Connection Information in the CM and CQB_kr</title>
      <id>http://www.cubrid.org/353022</id>
      <published>2012-05-03T00:03:36-07:00</published>
      <updated>2012-05-08T01:34:12-07:00</updated>
      <link rel="alternate" type="text/html" href="http://www.cubrid.org/353022"/>
      <link rel="replies" type="text/html" href="http://www.cubrid.org/353022#comment"/>
      <author>
         <name>leejogun</name>
               </author>
            <content type="html">&lt;div class=&quot;xe_content&quot;&gt;&lt;p&gt;사용중인 큐브리드 매니저에 등록된 수많은 호스트 접속정보를 어떻게 다른 PC의 큐브리드 매니저로 적용할 수 있을까. 물리적으로다른PC에서의 큐브리드 매니저에 호스트 정보들을 수동으로 등록하는 것은 매우 번거로운 작업이다. 이번 글에서는 간편하게 접속정보를 이관하는 방법을 소개한다.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;1. CM 기존버전의 접속 정보 파일을 백업한 후 새 버전의 설정 파일을 덮어쓰기&lt;br /&gt;&lt;/strong&gt;&amp;nbsp;CUBRID Manager 8.4.0이전 버전에서는 호스트정보 이전 기능을 제공하지 않는다. 따라서, 수동으로 기존버전의 CM설정파일을 별도로 복사한 후, CUBRID Manager 새버전을 설치한 후 동일 파일을 덮어쓰기 한다.&lt;br /&gt;&amp;nbsp;&lt;br /&gt;&amp;nbsp;&lt;strong&gt;설정파일 : cubridmanager&lt;span style=&quot;font-family: Serif;&quot;&gt;﻿&lt;span style=&quot;font-family: Tahoma;&quot;&gt;&lt;span style=&quot;font-family: Serif;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;workspace&lt;span style=&quot;font-family: Tahoma;&quot;&gt;&lt;span style=&quot;font-family: Serif;&quot;&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;.metadata&lt;span style=&quot;font-family: Tahoma;&quot;&gt;&lt;span style=&quot;font-family: Serif;&quot;&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;.plugins&lt;span style=&quot;font-family: Tahoma;&quot;&gt;&lt;span style=&quot;font-family: Serif;&quot;&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;org.eclipse.core.runtime&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;font-family: Tahoma;&quot;&gt;&lt;span style=&quot;font-family: Serif;&quot;&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;.settings&lt;span style=&quot;font-family: Tahoma;&quot;&gt;&lt;span style=&quot;font-family: Serif;&quot;&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;com.cubrid.cubridmanager.ui.prefs&lt;br /&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;2. CM 기존버전이 있는 상태에서 CM새버전을 추가 설치한 후 워크스페이스전환&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;CM 기존 버전이 있는 시스템에서 별도디렉터리에 최신 버전의 CM클라이언트를 설치한다. 이후, 새버전의 CM에서 기존 워크스페이스로 전환하여 접속 호스트 정보를동일하게 사용할 수 있다.&lt;/p&gt;&lt;p align=&quot;center&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;img src=&quot;http://www.cubrid.org/files/attach/images/245686/022/353/%EA%B0%99%EC%9D%80PC%EC%97%90%20%EB%91%90%EB%B2%88%EC%9D%98%20CM.jpg&quot; alt=&quot;같은PC에 두번의 CM.jpg&quot; title=&quot;같은PC에 두번의 CM.jpg&quot; width=&quot;515&quot; height=&quot;266&quot; style=&quot;&quot; /&gt;&lt;div align=&quot;center&quot;&gt;&amp;nbsp;그림1 - 같은 PC에 두 버전의 CM&lt;/div&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;매니저에서 &amp;lt;파일&amp;gt; -&amp;gt; &amp;lt;워크스페이스 전환&amp;gt; -&amp;gt; 워크스페이스경로에서 CM 기존 버전의 워크스페이스를 지정하여 접속 환경을 공유할 수 있다.&lt;/p&gt;&lt;p align=&quot;center&quot;&gt;&lt;img src=&quot;http://www.cubrid.org/modules/editor/styles/default/files/attach/images/245686/022/353/%EC%9B%8C%ED%81%AC%EC%8A%A4%ED%8E%98%EC%9D%B4%EC%8A%A4%EC%A0%84%ED%99%98.jpg&quot; alt=&quot;워크스페이스전환.jpg&quot; title=&quot;워크스페이스전환.jpg&quot; width=&quot;676&quot; height=&quot;281&quot; style=&quot;&quot; /&gt;&lt;/p&gt;&lt;p align=&quot;center&quot;&gt;그림2 -&amp;nbsp;워크스페이스 전환을 위한 워크스페이스 경로 설정&lt;/p&gt;&lt;p align=&quot;center&quot;&gt;&amp;nbsp;&lt;br /&gt;&lt;img src=&quot;http://www.cubrid.org/modules/editor/styles/default/files/attach/images/245686/022/353/%EB%A1%9C%EC%BB%AC%EC%97%90%EC%84%9CCM%EB%91%90%EA%B0%9C.jpg&quot; alt=&quot;로컬에서CM두개.jpg&quot; title=&quot;로컬에서CM두개.jpg&quot; width=&quot;620&quot; height=&quot;635&quot; style=&quot;&quot; /&gt;&lt;/p&gt;&lt;p align=&quot;center&quot;&gt;그림3 -&amp;nbsp;&amp;nbsp;버전이 다른 CUBRID매니저가 같은 워크스페이스를 사용하여 동일한 접속 환경을 공유한 화면&lt;/p&gt;&lt;p align=&quot;center&quot;&gt;&amp;nbsp;&lt;/p&gt;&lt;p align=&quot;center&quot;&gt;&amp;nbsp;&lt;/p&gt;&lt;p align=&quot;left&quot;&gt;&lt;strong&gt;3. CM 기존버전이 있는 상태에서 CM 새 버전을 추가 설치한 후 워크스페이스가져오기&lt;br /&gt;&lt;/strong&gt;&amp;nbsp; CM 8.4.0 이상 버전에서는 &amp;lt;파일&amp;gt; -&amp;gt; &amp;lt;워크스페이스 가져오기&amp;gt;&amp;nbsp;메뉴를 통해 기존 버전의 워크스페이스를 새 버전에 추가할 수 있다. &amp;lt;그림4&amp;gt;와 같이 가져오기할 워크스페이스 경로를 선택하면, 새 버전에 사용중이던 접속 환경이 추가된다.&lt;br /&gt;&amp;nbsp;&lt;/p&gt;&lt;div align=&quot;left&quot;&gt;&amp;nbsp;&lt;/div&gt;&lt;p align=&quot;center&quot;&gt;&lt;img src=&quot;http://www.cubrid.org/modules/editor/styles/default/files/attach/images/245686/022/353/%EC%9B%8C%ED%81%AC%EC%8A%A4%ED%8E%98%EC%9D%B4%EC%8A%A4%20%EA%B0%80%EC%A0%B8%EC%98%A4%EA%B8%B0.jpg&quot; alt=&quot;워크스페이스 가져오기.jpg&quot; title=&quot;워크스페이스 가져오기.jpg&quot; width=&quot;521&quot; height=&quot;262&quot; style=&quot;&quot; /&gt;&lt;/p&gt;&lt;p align=&quot;center&quot;&gt;그림4 -&amp;nbsp;워크스페이스가져오기 &lt;/p&gt;&lt;p align=&quot;center&quot;&gt;&amp;nbsp;&lt;/p&gt;&lt;p align=&quot;center&quot;&gt;&lt;img src=&quot;http://www.cubrid.org/modules/editor/styles/default/files/attach/images/245686/022/353/%EC%9B%8C%ED%81%AC%EC%8A%A4%ED%8E%98%EC%9D%B4%EC%8A%A4%20%EA%B0%80%EC%A0%B8%EC%98%A4%EA%B8%B0%20%EC%98%88%EC%8B%9C.jpg&quot; alt=&quot;워크스페이스 가져오기 예시.jpg&quot; title=&quot;워크스페이스 가져오기 예시.jpg&quot; width=&quot;233&quot; height=&quot;567&quot; style=&quot;&quot; /&gt;&lt;div align=&quot;center&quot;&gt;&amp;nbsp;그림5 -&amp;nbsp;워크스페이스 가져오기 예시&lt;/div&gt;&lt;div align=&quot;center&quot;&gt;&amp;nbsp;&lt;/div&gt;&lt;div align=&quot;center&quot;&gt;&amp;nbsp;&lt;/div&gt;&lt;p align=&quot;left&quot;&gt;&lt;strong&gt;4. 접속정보 내보내기/가져오기 기능을 추가하여 접속 정보 이관하기&lt;br /&gt;&lt;/strong&gt;&amp;nbsp;CM 8.4.1 버전 이상부터는 일부/전체 호스트에 대한 접속 정보를 xml 파일로 내보내기하고, 이를 가져오기할 수 있다. 이를 사용하여 공유하고자 하는 접속 정보를 원격 운영자 환경에 쉽게 적용할 수 있다. &amp;lt;파일&amp;gt; -&amp;gt; &amp;lt;접속정보 내보내기&amp;gt;를 클릭하여, 접속 정보를 덤프할 호스트를 선택한다. 아래 예시에서는 a_host, b_host호스트 
정보를 지정한 디렉토리에 xml파일로 내보냈다.&lt;/p&gt;&lt;p align=&quot;center&quot;&gt;&lt;img src=&quot;http://www.cubrid.org/modules/editor/styles/default/files/attach/images/245686/022/353/%EC%A0%91%EC%86%8D%EC%A0%95%EB%B3%B4%EB%82%B4%EB%B3%B4%EB%82%B4%EA%B8%B0.jpg&quot; alt=&quot;접속정보내보내기.jpg&quot; title=&quot;접속정보내보내기.jpg&quot; width=&quot;593&quot; height=&quot;312&quot; style=&quot;&quot; /&gt;&lt;div align=&quot;center&quot;&gt;&amp;nbsp;그림6 -&amp;nbsp;접속정보 내보내기&lt;/div&gt;&lt;p align=&quot;left&quot;&gt;&amp;nbsp;&lt;/p&gt;&lt;p align=&quot;left&quot;&gt;원격의 다른 컴퓨터에서는 ab_host.xml을 선택하여 호스트정보를 가져올 수 있다.&lt;/p&gt;&lt;p align=&quot;center&quot;&gt;&amp;nbsp;&lt;img src=&quot;http://www.cubrid.org/modules/editor/styles/default/files/attach/images/245686/022/353/%EC%A0%91%EC%86%8D%EC%A0%95%EB%B3%B4%EA%B0%80%EC%A0%B8%EC%98%A4%EA%B8%B0.jpg&quot; alt=&quot;접속정보가져오기.jpg&quot; title=&quot;접속정보가져오기.jpg&quot; width=&quot;620&quot; height=&quot;312&quot; style=&quot;&quot; /&gt;&lt;/p&gt;&lt;div align=&quot;center&quot;&gt;&amp;nbsp;그림7 -&amp;nbsp;접속정보 가져오기&lt;br /&gt;&lt;/div&gt;&lt;div align=&quot;center&quot;&gt;&lt;strong&gt;※주의사항&lt;/strong&gt;: 접속정보 설정파일인com.cubrid.cubridmanager.ui.prefs 또는 접속정보 내보내기를 수행한*.xml은 호스트 &lt;/div&gt;&lt;div align=&quot;left&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/div&gt;&lt;div align=&quot;left&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;이름, IP, 접속포트, JDBC 드라이버, CM 사용자 계정, 암호가 정보가 저장되어 있으므로, 파일 공유 시 &lt;/div&gt;&lt;div align=&quot;left&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/div&gt;&lt;div align=&quot;left&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 유의하여야 한다.&lt;br /&gt;&lt;/div&gt;&lt;table style=&quot;background: rgb(255, 255, 255);&quot; cellspacing=&quot;1&quot;&gt;&lt;tbody&gt;&lt;tr style=&quot;background: rgb(235, 235, 235);&quot;&gt;&lt;td&gt;&lt;p&gt;&lt;span style=&quot;color: rgb(0, 158, 37);&quot;&gt;&lt;strong&gt;//아래는 ab_host.xml의 내부이다.&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&amp;nbsp; &amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;lt;hosts&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;lt;host address=&quot;123.123.123.12&quot; id=&quot;b_host&quot; jdbcDriver=&quot;CUBRID-JDBC-8.3.0.1004&quot; name=&quot;b_host&quot; password=&quot;&quot; port=&quot;8001&quot; savePassword=&quot;false&quot; user=&quot;admin&quot;/&amp;gt;&lt;br /&gt;&amp;nbsp;&lt;strong&gt; &amp;lt;host address=&quot;123.123.123.13&quot; id=&quot;a_host&quot; jdbcDriver=&quot;CUBRID-JDBC-8.3.0.1004&quot; name=&quot;a_host&quot; password=&quot;28a87662ed9ae7609139&quot; port=&quot;8001&quot; savePassword=&quot;true&quot; user=&quot;admin&quot;/&amp;gt;&lt;br /&gt;&lt;/strong&gt;&amp;nbsp; &amp;lt;/hosts&amp;gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;/p&gt;&lt;/p&gt;&lt;/p&gt;&lt;/div&gt;</content>
                  <category term="manager"/>
            <category term="hostexport"/>
            <category term="hostimport"/>
            
   </entry>
</feed> 

