hai,<br><br>cb.query().setMemberName_<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">LikeSearch(&quot;s&quot;, new LikeSearchOption() {<br>
 &nbsp; &nbsp;@Override<br>
 &nbsp; <span style="background-color: rgb(255, 102, 102);">&nbsp;public ExtensionOperand getExtensionOperand() {</span><br>
 &nbsp; &nbsp; &nbsp; &nbsp;return WayOfPostgreSQL.OperandOfLikeSearch.CASE_INSENSITIVE;<br>
 &nbsp; &nbsp;}<br>
}.likePrefix());</blockquote><div><br><br><pre>import org.seasar.dbflute.dbway.ExtensionOperand;//Error<br><br>there is no class in org.seasar.dbflute.dbway like ExtensionOperand<br><br></pre>&nbsp;</div><br><br><div class="gmail_quote">
2009/6/9 kubo <span dir="ltr">&lt;<a href="mailto:dbflute@gmail.com">dbflute@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello,<br>
<br>
Please watch this test case:<br>
The method is &#39;test_likeSearch_caseInsensitive_Tx()&#39;.<br>
<br>
<a href="https://www.seasar.org/svn/sandbox/dbflute/trunk/dbflute-postgresql-example/src/test/java/com/example/dbflute/postgresql/dbflute/various/VendorCheckTest.java" target="_blank">https://www.seasar.org/svn/sandbox/dbflute/trunk/dbflute-postgresql-example/src/test/java/com/example/dbflute/postgresql/dbflute/various/VendorCheckTest.java</a><br>

<br>
cb.query().setMemberName_LikeSearch(&quot;s&quot;, new LikeSearchOption() {<br>
 &nbsp; &nbsp;@Override<br>
 &nbsp; &nbsp;public ExtensionOperand getExtensionOperand() {<br>
 &nbsp; &nbsp; &nbsp; &nbsp;return WayOfPostgreSQL.OperandOfLikeSearch.CASE_INSENSITIVE;<br>
 &nbsp; &nbsp;}<br>
}.likePrefix());<br>
<br>
This code uses &#39;ilike&#39; in the SQL.<br>
(But this way is only available at PostgreSQL)<br>
<br>
If you have many many points that must be without case sensitive,<br>
you should create CaseInsensitiveLikeSearchOption as your original class.<br>
Like this:<br>
<br>
public class CaseInsensitiveLikeSearchOption extends LikeSearchOption {<br>
 &nbsp; &nbsp;@Override<br>
 &nbsp; &nbsp;public ExtensionOperand getExtensionOperand() {<br>
 &nbsp; &nbsp; &nbsp; &nbsp;return WayOfPostgreSQL.OperandOfLikeSearch.CASE_INSENSITIVE;<br>
<div><div></div><div class="h5"> &nbsp; &nbsp;}<br>
}<br>
<br>
2009/6/9 thomas &lt;<a href="mailto:jp.mcy.10@gmail.com">jp.mcy.10@gmail.com</a>&gt;:<br>
&gt; Hai,<br>
&gt;<br>
&gt; I am using PostgresQL 8.3<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; 2009/6/9 kubo &lt;<a href="mailto:dbflute@gmail.com">dbflute@gmail.com</a>&gt;<br>
&gt;&gt;<br>
&gt;&gt; Hello, this is jflute.<br>
&gt;&gt;<br>
&gt;&gt; For starters, there is one thing I want to confirm.<br>
&gt;&gt; What kind of database do you use?<br>
&gt;&gt; Oracle? MySQL? PostgreSQL? ...<br>
&gt;&gt;<br>
&gt;&gt; 2009/6/9 thomas &lt;<a href="mailto:jp.mcy.10@gmail.com">jp.mcy.10@gmail.com</a>&gt;:<br>
&gt;&gt; &gt; Hai,<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; I want to retrieve data without case sensitive using condition Bean.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; dbflute version 0.9.4.1<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; empCB.query().setEmployeecode_LikeSearch(empcodes,new<br>
&gt;&gt; &gt; LikeSearchOption());<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; How to change this code to get case sensitive result?<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Please give steps to achieve this...<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Thanks in advance.<br>
&gt;&gt; &gt; トマス<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; _______________________________________________<br>
&gt;&gt; &gt; Seasar-user mailing list<br>
&gt;&gt; &gt; <a href="mailto:Seasar-user@ml.seasar.org">Seasar-user@ml.seasar.org</a><br>
&gt;&gt; &gt; <a href="https://ml.seasar.org/mailman/listinfo/seasar-user" target="_blank">https://ml.seasar.org/mailman/listinfo/seasar-user</a><br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; Seasar-user mailing list<br>
&gt;&gt; <a href="mailto:Seasar-user@ml.seasar.org">Seasar-user@ml.seasar.org</a><br>
&gt;&gt; <a href="https://ml.seasar.org/mailman/listinfo/seasar-user" target="_blank">https://ml.seasar.org/mailman/listinfo/seasar-user</a><br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Seasar-user mailing list<br>
&gt; <a href="mailto:Seasar-user@ml.seasar.org">Seasar-user@ml.seasar.org</a><br>
&gt; <a href="https://ml.seasar.org/mailman/listinfo/seasar-user" target="_blank">https://ml.seasar.org/mailman/listinfo/seasar-user</a><br>
&gt;<br>
&gt;<br>
_______________________________________________<br>
Seasar-user mailing list<br>
<a href="mailto:Seasar-user@ml.seasar.org">Seasar-user@ml.seasar.org</a><br>
<a href="https://ml.seasar.org/mailman/listinfo/seasar-user" target="_blank">https://ml.seasar.org/mailman/listinfo/seasar-user</a><br>
</div></div></blockquote></div><br>