/*
SDX: Documentary System in XML.
Copyright (C) 2005  ADNX
See LICENCE file
*/

package fr.gouv.culture.sdx.repository;

/**The same as JDBCRespository, but the method for the table creation query is overridden.
 * Contributed by Vincent Leconte (Mobydoc), Vincent.Leconte@mobydoc.fr
 *
 */

public class MSSQLRepository extends JDBCRepository {
     protected String getTableCreationQuery() {
        //remplacement du type de donnée BINARY par IMAGE
        return "CREATE TABLE " + getTableName() + " ( " + FIELD_ID + " VARCHAR(255) NOT NULL, " + FIELD_DATA + " IMAGE, PRIMARY KEY (" + FIELD_ID + "))";
    }}

