вот так!

    Date: 12/21/05 (Code WTF)    Keywords: database, sql

    public static void isDBConnectionValid(Connection dbConnection)
    throws Exception
    {
    if(dbConnection == null)
    throw new SQLException("Database connection does not exist");
    else
    return;
    }

    Source: http://www.livejournal.com/community/code_wtf/21568.html

« Провокационны... || MS VBScript в сети... »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home