1 package com.explosion.expfmodules.rdbmsconn.dbom.dialect;
2
3 import java.sql.DatabaseMetaData;
4 import java.sql.SQLException;
5 import org.apache.log4j.LogManager;
6 import org.apache.log4j.Logger;
7 import com.explosion.expfmodules.rdbmsconn.dbom.DBEntity;
8 import com.explosion.expfmodules.rdbmsconn.dbom.utils.MetadataException;
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29 /***
30 * A dialect for SQL Server
31 *
32 * @author Stephen
33 * Created on 24-May-2005
34 */
35 public class SQLServerDialect extends Dialect
36 {
37 private static Logger log = LogManager.getLogger(SQLServerDialect.class);
38
39 private static String[] escapeMeCharacters = { " ", "\'"};
40
41 /***
42 * Just returns an unqualified table name. This is a stop gap until I can reliab;y find out the "owner" of
43 * SQL Server tanbles
44 * @throws MetadataException
45 * @throws SQLException
46 */
47 public String getFullEntityName(DBEntity dbed, DatabaseMetaData meta) throws SQLException, MetadataException
48 {
49 return dbed.getEntityName();
50 }
51
52 }