Found it!<div><br></div><div>BoostRepository.java:</div><div><br></div><div><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="Content-Style-Type" content="text/css">
<title></title>
<meta name="Generator" content="Cocoa HTML Writer">
<meta name="CocoaVersion" content="1038.35">
<style type="text/css">
p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Monaco; color: #4d9072}
p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Monaco}
span.s1 {color: #000000}
span.s2 {color: #931a68}
span.s3 {color: #3834ff}
</style>


<p class="p1"><span class="s1">        </span>// Check if clients table exists; if not, setup db structure.</p>
<p class="p2">        <span class="s2">try</span> {</p>
<p class="p2">            PreparedStatement s = conn.prepareStatement(<span class="s3">"SELECT 1 FROM yb_nodes"</span>);</p>
<p class="p2">            s.executeQuery();</p>
<p class="p2">        } <span class="s2">catch</span>(Exception e) {</p>
<p class="p2">            setupDbStructure();</p>
<p class="p2">        }</p></div><div><br></div><div>So, I will change that ;-)</div><div><br></div><div>Thanks Cedric!</div><div>Cheers</div><div>Balz<br><br><div class="gmail_quote">On Mon, May 2, 2011 at 10:55 AM, Cedric Staub <span dir="ltr"><<a href="mailto:cs.staub@cssx.ch">cs.staub@cssx.ch</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">On Mon, May 02, 2011 at 10:54:19AM +0200, Balz Schreier wrote:<br>
> thanks for the hint.<br>
> the problem with SELECT 1 FROM yb_int_props; is that it returns ALL rows and<br>
> interprets the "1" as column name (which does not exist) ;-)<br>
<br>
</div>Well that explains that :-) Thanks.<br>
<br>--<br>
Yanel-development mailing list <a href="mailto:Yanel-development@wyona.com">Yanel-development@wyona.com</a><br>
<a href="http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-development" target="_blank">http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-development</a><br></blockquote></div><br></div>