Subversion Repository Public Repository

litesoft

Diff Revisions 2 vs 24 for /trunk/Java/core/Server/src/org/litesoft/sql/SQLProductSpecificAbstractHelper.java

Diff revisions: vs.
  @@ -38,6 +38,7 @@
38 38 buildTypeMaps();
39 39 }
40 40
41 + @Override
41 42 public void initializeDB( Connection pConnection, DBinfo pDBinfo,
42 43 SQLIndexColumnsLocator pIndexColumnsLocator )
43 44 throws SQLException
  @@ -55,6 +56,7 @@
55 56 }
56 57 }
57 58
59 + @Override
58 60 public void addColumnType( StringBuilder pCmd, SimpleColumnDefinitionExtended pSCD )
59 61 {
60 62 ColumnType zColumnType = getColumnType( pSCD );
  @@ -124,11 +126,13 @@
124 126 pCmd.append( pDim );
125 127 }
126 128
129 + @Override
127 130 public String normalizeIdentifier( String pIdentifier )
128 131 {
129 132 return mCaseNormalizer.normalize( pIdentifier );
130 133 }
131 134
135 + @Override
132 136 public String[] getTablesFor( Connection pConnection, DBinfo pDBinfo, String pTableNamePattern )
133 137 throws SQLException
134 138 {
  @@ -155,6 +159,7 @@
155 159 zMatches.toArray( new String[zMatches.size()] );
156 160 }
157 161
162 + @Override
158 163 public Map<String, DBtableColumn[]> getColumns( Connection pConnection, DBinfo pDBinfo,
159 164 String pTableNamePattern )
160 165 throws SQLException
  @@ -181,6 +186,7 @@
181 186 return zMatches;
182 187 }
183 188
189 + @Override
184 190 public Map<String, DBtableIndex[]> getIndexes( Connection pConnection, DBinfo pDBinfo, String pTableName )
185 191 throws SQLException
186 192 {
  @@ -201,6 +207,7 @@
201 207 SQL_STATE_CONSTRAINT_VIOLATION.substring( 0, 3 );
202 208
203 209 @SuppressWarnings({"ThrowableInstanceNeverThrown"})
210 + @Override
204 211 public WrappedSQLException wrapSQLException( SQLException pException )
205 212 {
206 213 if ( isConstraintViolation( pException ) )
  @@ -315,6 +322,7 @@
315 322 {
316 323 public static final CaseNormalizer INSTANCE = new ToUppercase();
317 324
325 + @Override
318 326 public String normalize( String pIdentifier )
319 327 {
320 328 return pIdentifier.toUpperCase();
  @@ -325,6 +333,7 @@
325 333 {
326 334 public static final CaseNormalizer INSTANCE = new ToLowercase();
327 335
336 + @Override
328 337 public String normalize( String pIdentifier )
329 338 {
330 339 return pIdentifier.toLowerCase();
  @@ -335,6 +344,7 @@
335 344 {
336 345 public static final CaseNormalizer INSTANCE = new LeaveCaseUnchanged();
337 346
347 + @Override
338 348 public String normalize( String pIdentifier )
339 349 {
340 350 return pIdentifier;