org.javalite.activejdbc.dialects
Interface Dialect

All Known Implementing Classes:
DefaultDialect, H2Dialect, MSSQLDialect, MySQLDialect, OracleDialect, PostgreSQLDialect, SQLiteDialect

public interface Dialect

Author:
Eric Nielsen

Method Summary
 String deleteManyToManyAssociation(Many2ManyAssociation association)
           
 String formSelect(String tableName, String subQuery, List<String> orderBys, long limit, long offset)
           
 String insert(MetaModel metaModel, Map<String,Object> attributes)
           
 String insertManyToManyAssociation(Many2ManyAssociation association)
           
 String insertParametrized(MetaModel metaModel, List<String> columns, boolean containsId)
           
 Object overrideDriverTypeConversion(MetaModel mm, String attributeName, Object value)
           
 String selectCount(String from)
           
 String selectCount(String table, String where)
           
 String selectExists(MetaModel mm)
           
 String selectManyToManyAssociation(Many2ManyAssociation association, String sourceFkColumnName, int questionsCount)
           
 String selectStar(String table)
           
 String selectStar(String table, String where)
           
 String selectStarParametrized(String table, String... parameters)
           
 String update(MetaModel metaModel, Map<String,Object> attributes)
           
 

Method Detail

formSelect

String formSelect(String tableName,
                  String subQuery,
                  List<String> orderBys,
                  long limit,
                  long offset)

overrideDriverTypeConversion

Object overrideDriverTypeConversion(MetaModel mm,
                                    String attributeName,
                                    Object value)

selectStar

String selectStar(String table)

selectStar

String selectStar(String table,
                  String where)

selectStarParametrized

String selectStarParametrized(String table,
                              String... parameters)

selectCount

String selectCount(String from)

selectCount

String selectCount(String table,
                   String where)

selectExists

String selectExists(MetaModel mm)

selectManyToManyAssociation

String selectManyToManyAssociation(Many2ManyAssociation association,
                                   String sourceFkColumnName,
                                   int questionsCount)

insertManyToManyAssociation

String insertManyToManyAssociation(Many2ManyAssociation association)

insertParametrized

String insertParametrized(MetaModel metaModel,
                          List<String> columns,
                          boolean containsId)

deleteManyToManyAssociation

String deleteManyToManyAssociation(Many2ManyAssociation association)

insert

String insert(MetaModel metaModel,
              Map<String,Object> attributes)

update

String update(MetaModel metaModel,
              Map<String,Object> attributes)


Copyright © 2015 JavaLite. All rights reserved.