Changeset 888 for MetadataBeans/trunk/src/main/java/org/eobjects/metamodel/OpenOfficeDataContextStrategy.java
- Timestamp:
- 02/04/10 21:57:54 (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
MetadataBeans/trunk/src/main/java/org/eobjects/metamodel/OpenOfficeDataContextStrategy.java
r886 r888 43 43 private Connection _connection; 44 44 45 public OpenOfficeDataContextStrategy(File dbFile) throws Meta ModelException {45 public OpenOfficeDataContextStrategy(File dbFile) throws MetadataBeansException { 46 46 try { 47 47 String databaseName = dbFile.getName(); … … 90 90 JdbcDataContextFactory.DEFAULT_TABLE_TYPES, null); 91 91 } catch (Exception e) { 92 throw new Meta ModelException(e);92 throw new MetadataBeansException(e); 93 93 } 94 94 } 95 95 96 public DataSet executeQuery(Query query) throws Meta ModelException {96 public DataSet executeQuery(Query query) throws MetadataBeansException { 97 97 return _strategy.executeQuery(query); 98 98 } 99 99 100 public String getDefaultSchemaName() throws Meta ModelException {100 public String getDefaultSchemaName() throws MetadataBeansException { 101 101 return _strategy.getDefaultSchemaName(); 102 102 } 103 103 104 public Schema getSchemaByName(String name) throws Meta ModelException {104 public Schema getSchemaByName(String name) throws MetadataBeansException { 105 105 return _strategy.getSchemaByName(name); 106 106 } 107 107 108 public String[] getSchemaNames() throws Meta ModelException {108 public String[] getSchemaNames() throws MetadataBeansException { 109 109 return _strategy.getSchemaNames(); 110 110 }
Note: See TracChangeset
for help on using the changeset viewer.
