Source Code Cross Referenced for MockConnection.java in  » Database-JDBC-Connection-Pool » HA-JDBC » net » sf » hajdbc » sql » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Database JDBC Connection Pool » HA JDBC » net.sf.hajdbc.sql 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


0001:        /*
0002:         * HA-JDBC: High-Availability JDBC
0003:         * Copyright (c) 2004-2007 Paul Ferraro
0004:         * 
0005:         * This library is free software; you can redistribute it and/or modify it 
0006:         * under the terms of the GNU Lesser General Public License as published by the 
0007:         * Free Software Foundation; either version 2.1 of the License, or (at your 
0008:         * option) any later version.
0009:         * 
0010:         * This library is distributed in the hope that it will be useful, but WITHOUT
0011:         * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 
0012:         * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License 
0013:         * for more details.
0014:         * 
0015:         * You should have received a copy of the GNU Lesser General Public License
0016:         * along with this library; if not, write to the Free Software Foundation, 
0017:         * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
0018:         * 
0019:         * Contact: ferraro@users.sourceforge.net
0020:         */
0021:        package net.sf.hajdbc.sql;
0022:
0023:        import java.sql.Array;
0024:        import java.sql.Blob;
0025:        import java.sql.CallableStatement;
0026:        import java.sql.Clob;
0027:        import java.sql.Connection;
0028:        import java.sql.DatabaseMetaData;
0029:        import java.sql.NClob;
0030:        import java.sql.PreparedStatement;
0031:        import java.sql.ResultSet;
0032:        import java.sql.RowIdLifetime;
0033:        import java.sql.SQLWarning;
0034:        import java.sql.SQLXML;
0035:        import java.sql.Savepoint;
0036:        import java.sql.Statement;
0037:        import java.sql.Struct;
0038:        import java.util.Map;
0039:        import java.util.Properties;
0040:
0041:        import org.easymock.EasyMock;
0042:
0043:        /**
0044:         * Mock connection that creates mock statements
0045:         * @author  Paul Ferraro
0046:         * @since   1.1
0047:         */
0048:        public class MockConnection implements  Connection {
0049:            /**
0050:             * @see java.sql.Connection#createStatement()
0051:             */
0052:            public Statement createStatement() {
0053:                return EasyMock.createMock(Statement.class);
0054:            }
0055:
0056:            /**
0057:             * @see java.sql.Connection#prepareStatement(java.lang.String)
0058:             */
0059:            public PreparedStatement prepareStatement(String arg0) {
0060:                return null;
0061:            }
0062:
0063:            /**
0064:             * @see java.sql.Connection#prepareCall(java.lang.String)
0065:             */
0066:            public CallableStatement prepareCall(String arg0) {
0067:                return null;
0068:            }
0069:
0070:            /**
0071:             * @see java.sql.Connection#nativeSQL(java.lang.String)
0072:             */
0073:            public String nativeSQL(String arg0) {
0074:                return null;
0075:            }
0076:
0077:            /**
0078:             * @see java.sql.Connection#setAutoCommit(boolean)
0079:             */
0080:            public void setAutoCommit(boolean arg0) {
0081:            }
0082:
0083:            /**
0084:             * @see java.sql.Connection#getAutoCommit()
0085:             */
0086:            public boolean getAutoCommit() {
0087:                return false;
0088:            }
0089:
0090:            /**
0091:             * @see java.sql.Connection#commit()
0092:             */
0093:            public void commit() {
0094:            }
0095:
0096:            /**
0097:             * @see java.sql.Connection#rollback()
0098:             */
0099:            public void rollback() {
0100:            }
0101:
0102:            /**
0103:             * @see java.sql.Connection#close()
0104:             */
0105:            public void close() {
0106:            }
0107:
0108:            /**
0109:             * @see java.sql.Connection#isClosed()
0110:             */
0111:            public boolean isClosed() {
0112:                return false;
0113:            }
0114:
0115:            /**
0116:             * @see java.sql.Connection#getMetaData()
0117:             */
0118:            public DatabaseMetaData getMetaData() {
0119:                return new DatabaseMetaData() {
0120:
0121:                    public boolean allProceduresAreCallable() {
0122:                        return false;
0123:                    }
0124:
0125:                    public boolean allTablesAreSelectable() {
0126:                        return false;
0127:                    }
0128:
0129:                    public String getURL() {
0130:                        return null;
0131:                    }
0132:
0133:                    public String getUserName() {
0134:                        return null;
0135:                    }
0136:
0137:                    public boolean isReadOnly() {
0138:                        return false;
0139:                    }
0140:
0141:                    public boolean nullsAreSortedHigh() {
0142:                        return false;
0143:                    }
0144:
0145:                    public boolean nullsAreSortedLow() {
0146:                        return false;
0147:                    }
0148:
0149:                    public boolean nullsAreSortedAtStart() {
0150:                        return false;
0151:                    }
0152:
0153:                    public boolean nullsAreSortedAtEnd() {
0154:                        return false;
0155:                    }
0156:
0157:                    public String getDatabaseProductName() {
0158:                        return null;
0159:                    }
0160:
0161:                    public String getDatabaseProductVersion() {
0162:                        return null;
0163:                    }
0164:
0165:                    public String getDriverName() {
0166:                        return null;
0167:                    }
0168:
0169:                    public String getDriverVersion() {
0170:                        return null;
0171:                    }
0172:
0173:                    public int getDriverMajorVersion() {
0174:                        return 0;
0175:                    }
0176:
0177:                    public int getDriverMinorVersion() {
0178:                        return 0;
0179:                    }
0180:
0181:                    public boolean usesLocalFiles() {
0182:                        return false;
0183:                    }
0184:
0185:                    public boolean usesLocalFilePerTable() {
0186:                        return false;
0187:                    }
0188:
0189:                    public boolean supportsMixedCaseIdentifiers() {
0190:                        return false;
0191:                    }
0192:
0193:                    public boolean storesUpperCaseIdentifiers() {
0194:                        return false;
0195:                    }
0196:
0197:                    public boolean storesLowerCaseIdentifiers() {
0198:                        return false;
0199:                    }
0200:
0201:                    public boolean storesMixedCaseIdentifiers() {
0202:                        return false;
0203:                    }
0204:
0205:                    public boolean supportsMixedCaseQuotedIdentifiers() {
0206:                        return false;
0207:                    }
0208:
0209:                    public boolean storesUpperCaseQuotedIdentifiers() {
0210:                        return false;
0211:                    }
0212:
0213:                    public boolean storesLowerCaseQuotedIdentifiers() {
0214:                        return false;
0215:                    }
0216:
0217:                    public boolean storesMixedCaseQuotedIdentifiers() {
0218:                        return false;
0219:                    }
0220:
0221:                    public String getIdentifierQuoteString() {
0222:                        return null;
0223:                    }
0224:
0225:                    public String getSQLKeywords() {
0226:                        return ""; //$NON-NLS-1$
0227:                    }
0228:
0229:                    public String getNumericFunctions() {
0230:                        return null;
0231:                    }
0232:
0233:                    public String getStringFunctions() {
0234:                        return null;
0235:                    }
0236:
0237:                    public String getSystemFunctions() {
0238:                        return null;
0239:                    }
0240:
0241:                    public String getTimeDateFunctions() {
0242:                        return null;
0243:                    }
0244:
0245:                    public String getSearchStringEscape() {
0246:                        return null;
0247:                    }
0248:
0249:                    public String getExtraNameCharacters() {
0250:                        return ""; //$NON-NLS-1$
0251:                    }
0252:
0253:                    public boolean supportsAlterTableWithAddColumn() {
0254:                        return false;
0255:                    }
0256:
0257:                    public boolean supportsAlterTableWithDropColumn() {
0258:                        return false;
0259:                    }
0260:
0261:                    public boolean supportsColumnAliasing() {
0262:                        return false;
0263:                    }
0264:
0265:                    public boolean nullPlusNonNullIsNull() {
0266:                        return false;
0267:                    }
0268:
0269:                    public boolean supportsConvert() {
0270:                        return false;
0271:                    }
0272:
0273:                    public boolean supportsConvert(int fromType, int toType) {
0274:                        return false;
0275:                    }
0276:
0277:                    public boolean supportsTableCorrelationNames() {
0278:                        return false;
0279:                    }
0280:
0281:                    public boolean supportsDifferentTableCorrelationNames() {
0282:                        return false;
0283:                    }
0284:
0285:                    public boolean supportsExpressionsInOrderBy() {
0286:                        return false;
0287:                    }
0288:
0289:                    public boolean supportsOrderByUnrelated() {
0290:                        return false;
0291:                    }
0292:
0293:                    public boolean supportsGroupBy() {
0294:                        return false;
0295:                    }
0296:
0297:                    public boolean supportsGroupByUnrelated() {
0298:                        return false;
0299:                    }
0300:
0301:                    public boolean supportsGroupByBeyondSelect() {
0302:                        return false;
0303:                    }
0304:
0305:                    public boolean supportsLikeEscapeClause() {
0306:                        return false;
0307:                    }
0308:
0309:                    public boolean supportsMultipleResultSets() {
0310:                        return false;
0311:                    }
0312:
0313:                    public boolean supportsMultipleTransactions() {
0314:                        return false;
0315:                    }
0316:
0317:                    public boolean supportsNonNullableColumns() {
0318:                        return false;
0319:                    }
0320:
0321:                    public boolean supportsMinimumSQLGrammar() {
0322:                        return false;
0323:                    }
0324:
0325:                    public boolean supportsCoreSQLGrammar() {
0326:                        return false;
0327:                    }
0328:
0329:                    public boolean supportsExtendedSQLGrammar() {
0330:                        return false;
0331:                    }
0332:
0333:                    public boolean supportsANSI92EntryLevelSQL() {
0334:                        return false;
0335:                    }
0336:
0337:                    public boolean supportsANSI92IntermediateSQL() {
0338:                        return false;
0339:                    }
0340:
0341:                    public boolean supportsANSI92FullSQL() {
0342:                        return false;
0343:                    }
0344:
0345:                    public boolean supportsIntegrityEnhancementFacility() {
0346:                        return false;
0347:                    }
0348:
0349:                    public boolean supportsOuterJoins() {
0350:                        return false;
0351:                    }
0352:
0353:                    public boolean supportsFullOuterJoins() {
0354:                        return false;
0355:                    }
0356:
0357:                    public boolean supportsLimitedOuterJoins() {
0358:                        return false;
0359:                    }
0360:
0361:                    public String getSchemaTerm() {
0362:                        return null;
0363:                    }
0364:
0365:                    public String getProcedureTerm() {
0366:                        return null;
0367:                    }
0368:
0369:                    public String getCatalogTerm() {
0370:                        return null;
0371:                    }
0372:
0373:                    public boolean isCatalogAtStart() {
0374:                        return false;
0375:                    }
0376:
0377:                    public String getCatalogSeparator() {
0378:                        return null;
0379:                    }
0380:
0381:                    public boolean supportsSchemasInDataManipulation() {
0382:                        return false;
0383:                    }
0384:
0385:                    public boolean supportsSchemasInProcedureCalls() {
0386:                        return false;
0387:                    }
0388:
0389:                    public boolean supportsSchemasInTableDefinitions() {
0390:                        return false;
0391:                    }
0392:
0393:                    public boolean supportsSchemasInIndexDefinitions() {
0394:                        return false;
0395:                    }
0396:
0397:                    public boolean supportsSchemasInPrivilegeDefinitions() {
0398:                        return false;
0399:                    }
0400:
0401:                    public boolean supportsCatalogsInDataManipulation() {
0402:                        return false;
0403:                    }
0404:
0405:                    public boolean supportsCatalogsInProcedureCalls() {
0406:                        return false;
0407:                    }
0408:
0409:                    public boolean supportsCatalogsInTableDefinitions() {
0410:                        return false;
0411:                    }
0412:
0413:                    public boolean supportsCatalogsInIndexDefinitions() {
0414:                        return false;
0415:                    }
0416:
0417:                    public boolean supportsCatalogsInPrivilegeDefinitions() {
0418:                        return false;
0419:                    }
0420:
0421:                    public boolean supportsPositionedDelete() {
0422:                        return false;
0423:                    }
0424:
0425:                    public boolean supportsPositionedUpdate() {
0426:                        return false;
0427:                    }
0428:
0429:                    public boolean supportsSelectForUpdate() {
0430:                        return false;
0431:                    }
0432:
0433:                    public boolean supportsStoredProcedures() {
0434:                        return false;
0435:                    }
0436:
0437:                    public boolean supportsSubqueriesInComparisons() {
0438:                        return false;
0439:                    }
0440:
0441:                    public boolean supportsSubqueriesInExists() {
0442:                        return false;
0443:                    }
0444:
0445:                    public boolean supportsSubqueriesInIns() {
0446:                        return false;
0447:                    }
0448:
0449:                    public boolean supportsSubqueriesInQuantifieds() {
0450:                        return false;
0451:                    }
0452:
0453:                    public boolean supportsCorrelatedSubqueries() {
0454:                        return false;
0455:                    }
0456:
0457:                    public boolean supportsUnion() {
0458:                        return false;
0459:                    }
0460:
0461:                    public boolean supportsUnionAll() {
0462:                        return false;
0463:                    }
0464:
0465:                    public boolean supportsOpenCursorsAcrossCommit() {
0466:                        return false;
0467:                    }
0468:
0469:                    public boolean supportsOpenCursorsAcrossRollback() {
0470:                        return false;
0471:                    }
0472:
0473:                    public boolean supportsOpenStatementsAcrossCommit() {
0474:                        return false;
0475:                    }
0476:
0477:                    public boolean supportsOpenStatementsAcrossRollback() {
0478:                        return false;
0479:                    }
0480:
0481:                    public int getMaxBinaryLiteralLength() {
0482:                        return 0;
0483:                    }
0484:
0485:                    public int getMaxCharLiteralLength() {
0486:                        return 0;
0487:                    }
0488:
0489:                    public int getMaxColumnNameLength() {
0490:                        return 0;
0491:                    }
0492:
0493:                    public int getMaxColumnsInGroupBy() {
0494:                        return 0;
0495:                    }
0496:
0497:                    public int getMaxColumnsInIndex() {
0498:                        return 0;
0499:                    }
0500:
0501:                    public int getMaxColumnsInOrderBy() {
0502:                        return 0;
0503:                    }
0504:
0505:                    public int getMaxColumnsInSelect() {
0506:                        return 0;
0507:                    }
0508:
0509:                    public int getMaxColumnsInTable() {
0510:                        return 0;
0511:                    }
0512:
0513:                    public int getMaxConnections() {
0514:                        return 0;
0515:                    }
0516:
0517:                    public int getMaxCursorNameLength() {
0518:                        return 0;
0519:                    }
0520:
0521:                    public int getMaxIndexLength() {
0522:                        return 0;
0523:                    }
0524:
0525:                    public int getMaxSchemaNameLength() {
0526:                        return 0;
0527:                    }
0528:
0529:                    public int getMaxProcedureNameLength() {
0530:                        return 0;
0531:                    }
0532:
0533:                    public int getMaxCatalogNameLength() {
0534:                        return 0;
0535:                    }
0536:
0537:                    public int getMaxRowSize() {
0538:                        return 0;
0539:                    }
0540:
0541:                    public boolean doesMaxRowSizeIncludeBlobs() {
0542:                        return false;
0543:                    }
0544:
0545:                    public int getMaxStatementLength() {
0546:                        return 0;
0547:                    }
0548:
0549:                    public int getMaxStatements() {
0550:                        return 0;
0551:                    }
0552:
0553:                    public int getMaxTableNameLength() {
0554:                        return 0;
0555:                    }
0556:
0557:                    public int getMaxTablesInSelect() {
0558:                        return 0;
0559:                    }
0560:
0561:                    public int getMaxUserNameLength() {
0562:                        return 0;
0563:                    }
0564:
0565:                    public int getDefaultTransactionIsolation() {
0566:                        return 0;
0567:                    }
0568:
0569:                    public boolean supportsTransactions() {
0570:                        return false;
0571:                    }
0572:
0573:                    public boolean supportsTransactionIsolationLevel(int level) {
0574:                        return false;
0575:                    }
0576:
0577:                    public boolean supportsDataDefinitionAndDataManipulationTransactions() {
0578:                        return false;
0579:                    }
0580:
0581:                    public boolean supportsDataManipulationTransactionsOnly() {
0582:                        return false;
0583:                    }
0584:
0585:                    public boolean dataDefinitionCausesTransactionCommit() {
0586:                        return false;
0587:                    }
0588:
0589:                    public boolean dataDefinitionIgnoredInTransactions() {
0590:                        return false;
0591:                    }
0592:
0593:                    public ResultSet getProcedures(String catalog,
0594:                            String schemaPattern, String procedureNamePattern) {
0595:                        return null;
0596:                    }
0597:
0598:                    public ResultSet getProcedureColumns(String catalog,
0599:                            String schemaPattern, String procedureNamePattern,
0600:                            String columnNamePattern) {
0601:                        return null;
0602:                    }
0603:
0604:                    public ResultSet getTables(String catalog,
0605:                            String schemaPattern, String tableNamePattern,
0606:                            String[] types) {
0607:                        return null;
0608:                    }
0609:
0610:                    public ResultSet getSchemas() {
0611:                        return null;
0612:                    }
0613:
0614:                    public ResultSet getCatalogs() {
0615:                        return null;
0616:                    }
0617:
0618:                    public ResultSet getTableTypes() {
0619:                        return null;
0620:                    }
0621:
0622:                    public ResultSet getColumns(String catalog,
0623:                            String schemaPattern, String tableNamePattern,
0624:                            String columnNamePattern) {
0625:                        return null;
0626:                    }
0627:
0628:                    public ResultSet getColumnPrivileges(String catalog,
0629:                            String schema, String table,
0630:                            String columnNamePattern) {
0631:                        return null;
0632:                    }
0633:
0634:                    public ResultSet getTablePrivileges(String catalog,
0635:                            String schemaPattern, String tableNamePattern) {
0636:                        return null;
0637:                    }
0638:
0639:                    public ResultSet getBestRowIdentifier(String catalog,
0640:                            String schema, String table, int scope,
0641:                            boolean nullable) {
0642:                        return null;
0643:                    }
0644:
0645:                    public ResultSet getVersionColumns(String catalog,
0646:                            String schema, String table) {
0647:                        return null;
0648:                    }
0649:
0650:                    public ResultSet getPrimaryKeys(String catalog,
0651:                            String schema, String table) {
0652:                        return null;
0653:                    }
0654:
0655:                    public ResultSet getImportedKeys(String catalog,
0656:                            String schema, String table) {
0657:                        return null;
0658:                    }
0659:
0660:                    public ResultSet getExportedKeys(String catalog,
0661:                            String schema, String table) {
0662:                        return null;
0663:                    }
0664:
0665:                    public ResultSet getCrossReference(String primaryCatalog,
0666:                            String primarySchema, String primaryTable,
0667:                            String foreignCatalog, String foreignSchema,
0668:                            String foreignTable) {
0669:                        return null;
0670:                    }
0671:
0672:                    public ResultSet getTypeInfo() {
0673:                        return null;
0674:                    }
0675:
0676:                    public ResultSet getIndexInfo(String catalog,
0677:                            String schema, String table, boolean unique,
0678:                            boolean approximate) {
0679:                        return null;
0680:                    }
0681:
0682:                    public boolean supportsResultSetType(int type) {
0683:                        return false;
0684:                    }
0685:
0686:                    public boolean supportsResultSetConcurrency(int type,
0687:                            int concurrency) {
0688:                        return false;
0689:                    }
0690:
0691:                    public boolean ownUpdatesAreVisible(int type) {
0692:                        return false;
0693:                    }
0694:
0695:                    public boolean ownDeletesAreVisible(int type) {
0696:                        return false;
0697:                    }
0698:
0699:                    public boolean ownInsertsAreVisible(int type) {
0700:                        return false;
0701:                    }
0702:
0703:                    public boolean othersUpdatesAreVisible(int type) {
0704:                        return false;
0705:                    }
0706:
0707:                    public boolean othersDeletesAreVisible(int type) {
0708:                        return false;
0709:                    }
0710:
0711:                    public boolean othersInsertsAreVisible(int type) {
0712:                        return false;
0713:                    }
0714:
0715:                    public boolean updatesAreDetected(int type) {
0716:                        return false;
0717:                    }
0718:
0719:                    public boolean deletesAreDetected(int type) {
0720:                        return false;
0721:                    }
0722:
0723:                    public boolean insertsAreDetected(int type) {
0724:                        return false;
0725:                    }
0726:
0727:                    public boolean supportsBatchUpdates() {
0728:                        return false;
0729:                    }
0730:
0731:                    public ResultSet getUDTs(String catalog,
0732:                            String schemaPattern, String typeNamePattern,
0733:                            int[] types) {
0734:                        return null;
0735:                    }
0736:
0737:                    public Connection getConnection() {
0738:                        return null;
0739:                    }
0740:
0741:                    public boolean supportsSavepoints() {
0742:                        return false;
0743:                    }
0744:
0745:                    public boolean supportsNamedParameters() {
0746:                        return false;
0747:                    }
0748:
0749:                    public boolean supportsMultipleOpenResults() {
0750:                        return false;
0751:                    }
0752:
0753:                    public boolean supportsGetGeneratedKeys() {
0754:                        return false;
0755:                    }
0756:
0757:                    public ResultSet getSuperTypes(String catalog,
0758:                            String schemaPattern, String typeNamePattern) {
0759:                        return null;
0760:                    }
0761:
0762:                    public ResultSet getSuperTables(String catalog,
0763:                            String schemaPattern, String tableNamePattern) {
0764:                        return null;
0765:                    }
0766:
0767:                    public ResultSet getAttributes(String catalog,
0768:                            String schemaPattern, String typeNamePattern,
0769:                            String attributeNamePattern) {
0770:                        return null;
0771:                    }
0772:
0773:                    public boolean supportsResultSetHoldability(int holdability) {
0774:                        return false;
0775:                    }
0776:
0777:                    public int getResultSetHoldability() {
0778:                        return 0;
0779:                    }
0780:
0781:                    public int getDatabaseMajorVersion() {
0782:                        return 0;
0783:                    }
0784:
0785:                    public int getDatabaseMinorVersion() {
0786:                        return 0;
0787:                    }
0788:
0789:                    public int getJDBCMajorVersion() {
0790:                        return 0;
0791:                    }
0792:
0793:                    public int getJDBCMinorVersion() {
0794:                        return 0;
0795:                    }
0796:
0797:                    public int getSQLStateType() {
0798:                        return 0;
0799:                    }
0800:
0801:                    public boolean locatorsUpdateCopy() {
0802:                        return false;
0803:                    }
0804:
0805:                    public boolean supportsStatementPooling() {
0806:                        return false;
0807:                    }
0808:
0809:                    @Override
0810:                    public boolean autoCommitFailureClosesAllResultSets() {
0811:                        return false;
0812:                    }
0813:
0814:                    @Override
0815:                    public ResultSet getClientInfoProperties() {
0816:                        return null;
0817:                    }
0818:
0819:                    @Override
0820:                    public ResultSet getFunctionColumns(String arg0,
0821:                            String arg1, String arg2, String arg3) {
0822:                        return null;
0823:                    }
0824:
0825:                    @Override
0826:                    public ResultSet getFunctions(String arg0, String arg1,
0827:                            String arg2) {
0828:                        return null;
0829:                    }
0830:
0831:                    @Override
0832:                    public RowIdLifetime getRowIdLifetime() {
0833:                        return null;
0834:                    }
0835:
0836:                    @Override
0837:                    public ResultSet getSchemas(String arg0, String arg1) {
0838:                        return null;
0839:                    }
0840:
0841:                    @Override
0842:                    public boolean supportsStoredFunctionsUsingCallSyntax() {
0843:                        return false;
0844:                    }
0845:
0846:                    @Override
0847:                    public boolean isWrapperFor(Class<?> arg0) {
0848:                        return false;
0849:                    }
0850:
0851:                    @Override
0852:                    public <T> T unwrap(Class<T> arg0) {
0853:                        return null;
0854:                    }
0855:
0856:                };
0857:            }
0858:
0859:            /**
0860:             * @see java.sql.Connection#setReadOnly(boolean)
0861:             */
0862:            public void setReadOnly(boolean arg0) {
0863:            }
0864:
0865:            /**
0866:             * @see java.sql.Connection#isReadOnly()
0867:             */
0868:            public boolean isReadOnly() {
0869:                return false;
0870:            }
0871:
0872:            /**
0873:             * @see java.sql.Connection#setCatalog(java.lang.String)
0874:             */
0875:            public void setCatalog(String arg0) {
0876:            }
0877:
0878:            /**
0879:             * @see java.sql.Connection#getCatalog()
0880:             */
0881:            public String getCatalog() {
0882:                return null;
0883:            }
0884:
0885:            /**
0886:             * @see java.sql.Connection#setTransactionIsolation(int)
0887:             */
0888:            public void setTransactionIsolation(int arg0) {
0889:            }
0890:
0891:            /**
0892:             * @see java.sql.Connection#getTransactionIsolation()
0893:             */
0894:            public int getTransactionIsolation() {
0895:                return 0;
0896:            }
0897:
0898:            /**
0899:             * @see java.sql.Connection#getWarnings()
0900:             */
0901:            public SQLWarning getWarnings() {
0902:                return null;
0903:            }
0904:
0905:            /**
0906:             * @see java.sql.Connection#clearWarnings()
0907:             */
0908:            public void clearWarnings() {
0909:            }
0910:
0911:            /**
0912:             * @see java.sql.Connection#createStatement(int, int)
0913:             */
0914:            public Statement createStatement(int arg0, int arg1) {
0915:                return null;
0916:            }
0917:
0918:            /**
0919:             * @see java.sql.Connection#prepareStatement(java.lang.String, int, int)
0920:             */
0921:            public PreparedStatement prepareStatement(String arg0, int arg1,
0922:                    int arg2) {
0923:                return null;
0924:            }
0925:
0926:            /**
0927:             * @see java.sql.Connection#prepareCall(java.lang.String, int, int)
0928:             */
0929:            public CallableStatement prepareCall(String arg0, int arg1, int arg2) {
0930:                return null;
0931:            }
0932:
0933:            /**
0934:             * @see java.sql.Connection#getTypeMap()
0935:             */
0936:            public Map<String, Class<?>> getTypeMap() {
0937:                return null;
0938:            }
0939:
0940:            /**
0941:             * @see java.sql.Connection#setHoldability(int)
0942:             */
0943:            public void setHoldability(int arg0) {
0944:            }
0945:
0946:            /**
0947:             * @see java.sql.Connection#getHoldability()
0948:             */
0949:            public int getHoldability() {
0950:                return 0;
0951:            }
0952:
0953:            /**
0954:             * @see java.sql.Connection#setSavepoint()
0955:             */
0956:            public Savepoint setSavepoint() {
0957:                return null;
0958:            }
0959:
0960:            /**
0961:             * @see java.sql.Connection#setSavepoint(java.lang.String)
0962:             */
0963:            public Savepoint setSavepoint(String arg0) {
0964:                return null;
0965:            }
0966:
0967:            /**
0968:             * @see java.sql.Connection#rollback(java.sql.Savepoint)
0969:             */
0970:            public void rollback(Savepoint arg0) {
0971:            }
0972:
0973:            /**
0974:             * @see java.sql.Connection#releaseSavepoint(java.sql.Savepoint)
0975:             */
0976:            public void releaseSavepoint(Savepoint arg0) {
0977:            }
0978:
0979:            /**
0980:             * @see java.sql.Connection#createStatement(int, int, int)
0981:             */
0982:            public Statement createStatement(int arg0, int arg1, int arg2) {
0983:                return null;
0984:            }
0985:
0986:            /**
0987:             * @see java.sql.Connection#prepareStatement(java.lang.String, int, int, int)
0988:             */
0989:            public PreparedStatement prepareStatement(String arg0, int arg1,
0990:                    int arg2, int arg3) {
0991:                return null;
0992:            }
0993:
0994:            /**
0995:             * @see java.sql.Connection#prepareCall(java.lang.String, int, int, int)
0996:             */
0997:            public CallableStatement prepareCall(String arg0, int arg1,
0998:                    int arg2, int arg3) {
0999:                return null;
1000:            }
1001:
1002:            /**
1003:             * @see java.sql.Connection#prepareStatement(java.lang.String, int)
1004:             */
1005:            public PreparedStatement prepareStatement(String arg0, int arg1) {
1006:                return null;
1007:            }
1008:
1009:            /**
1010:             * @see java.sql.Connection#prepareStatement(java.lang.String, int[])
1011:             */
1012:            public PreparedStatement prepareStatement(String arg0, int[] arg1) {
1013:                return null;
1014:            }
1015:
1016:            /**
1017:             * @see java.sql.Connection#prepareStatement(java.lang.String, java.lang.String[])
1018:             */
1019:            public PreparedStatement prepareStatement(String arg0, String[] arg1) {
1020:                return null;
1021:            }
1022:
1023:            /**
1024:             * @see java.sql.Connection#createArrayOf(java.lang.String, java.lang.Object[])
1025:             */
1026:            @Override
1027:            public Array createArrayOf(String arg0, Object[] arg1) {
1028:                return null;
1029:            }
1030:
1031:            /**
1032:             * @see java.sql.Connection#createBlob()
1033:             */
1034:            @Override
1035:            public Blob createBlob() {
1036:                return null;
1037:            }
1038:
1039:            /**
1040:             * @see java.sql.Connection#createClob()
1041:             */
1042:            @Override
1043:            public Clob createClob() {
1044:                return null;
1045:            }
1046:
1047:            /**
1048:             * @see java.sql.Connection#createNClob()
1049:             */
1050:            @Override
1051:            public NClob createNClob() {
1052:                return null;
1053:            }
1054:
1055:            /**
1056:             * @see java.sql.Connection#createSQLXML()
1057:             */
1058:            @Override
1059:            public SQLXML createSQLXML() {
1060:                return null;
1061:            }
1062:
1063:            /**
1064:             * @see java.sql.Connection#createStruct(java.lang.String, java.lang.Object[])
1065:             */
1066:            @Override
1067:            public Struct createStruct(String arg0, Object[] arg1) {
1068:                return null;
1069:            }
1070:
1071:            /**
1072:             * @see java.sql.Connection#getClientInfo()
1073:             */
1074:            @Override
1075:            public Properties getClientInfo() {
1076:                return null;
1077:            }
1078:
1079:            /**
1080:             * @see java.sql.Connection#getClientInfo(java.lang.String)
1081:             */
1082:            @Override
1083:            public String getClientInfo(String arg0) {
1084:                return null;
1085:            }
1086:
1087:            /**
1088:             * @see java.sql.Connection#isValid(int)
1089:             */
1090:            @Override
1091:            public boolean isValid(int arg0) {
1092:                return false;
1093:            }
1094:
1095:            /**
1096:             * @see java.sql.Connection#setClientInfo(java.util.Properties)
1097:             */
1098:            @Override
1099:            public void setClientInfo(Properties arg0) {
1100:            }
1101:
1102:            /**
1103:             * @see java.sql.Connection#setClientInfo(java.lang.String, java.lang.String)
1104:             */
1105:            @Override
1106:            public void setClientInfo(String arg0, String arg1) {
1107:            }
1108:
1109:            /**
1110:             * @see java.sql.Connection#setTypeMap(java.util.Map)
1111:             */
1112:            @Override
1113:            public void setTypeMap(Map<String, Class<?>> arg0) {
1114:            }
1115:
1116:            /**
1117:             * @see java.sql.Wrapper#isWrapperFor(java.lang.Class)
1118:             */
1119:            @Override
1120:            public boolean isWrapperFor(Class<?> arg0) {
1121:                return false;
1122:            }
1123:
1124:            /**
1125:             * @see java.sql.Wrapper#unwrap(java.lang.Class)
1126:             */
1127:            @Override
1128:            public <T> T unwrap(Class<T> arg0) {
1129:                return null;
1130:            }
1131:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.