[Yanel-dev] Boost / DB Performance

Balz Schreier balz.schreier at gmail.com
Mon May 2 10:59:37 CEST 2011


Found it!

BoostRepository.java:

           // Check if clients table exists; if not, setup db structure.

        try {

            PreparedStatement s = conn.prepareStatement("SELECT 1 FROM
yb_nodes");

            s.executeQuery();

        } catch(Exception e) {

            setupDbStructure();

        }

So, I will change that ;-)

Thanks Cedric!
Cheers
Balz

On Mon, May 2, 2011 at 10:55 AM, Cedric Staub <cs.staub at cssx.ch> wrote:

> On Mon, May 02, 2011 at 10:54:19AM +0200, Balz Schreier wrote:
> > thanks for the hint.
> > the problem with SELECT 1 FROM yb_int_props; is that it returns ALL rows
> and
> > interprets the "1" as column name (which does not exist) ;-)
>
> Well that explains that :-) Thanks.
>
> --
> Yanel-development mailing list Yanel-development at wyona.com
> http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-development
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wyona.org/pipermail/yanel-development/attachments/20110502/cb0bfdb8/attachment.html>


More information about the Yanel-development mailing list