[ 
http://issues.apache.org/jira/browse/JAMES-555?page=comments#action_12431853 ] 
            
Guillermo Grandes commented on JAMES-555:
-----------------------------------------

Support for embedded Derby and impatient people who use James 2.3 :-)

    <!-- Create tables for Derby -->
    <sql name="createHamTable" db="derby">
        CREATE TABLE bayesiananalysis_ham (
            token varchar(128) NOT NULL,
            occurrences INTEGER NOT NULL default 0,
            PRIMARY KEY (token)
        )
    </sql>
    <sql name="createSpamTable" db="derby">
        CREATE TABLE bayesiananalysis_spam (
            token varchar (128) NOT NULL,
            occurrences INTEGER  NOT NULL default 0,
            PRIMARY KEY (token)
        )
    </sql>
    <sql name="createMessageCountsTable" db="derby">
        CREATE TABLE bayesiananalysis_messagecounts (
            hamcount INTEGER NOT NULL default 0,
            spamcount INTEGER  NOT NULL default 0
        )
    </sql>




> Bayesiananalysis should support not only mysql and msql
> -------------------------------------------------------
>
>                 Key: JAMES-555
>                 URL: http://issues.apache.org/jira/browse/JAMES-555
>             Project: James
>          Issue Type: Improvement
>          Components: Matchers/Mailets (bundled)
>            Reporter: Norman Maurer
>             Fix For: 3.0
>
>
> At the moment bayesiananalysis only support mysql and msql. It should be no 
> problem to support alse the others db which we also does in other sql based 
> mailets.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to