@Test public void shouldHaveDefaultJdbc() throws Exception { assertThat( this.connection.isJdbc( getTransaction() ), is( Connection.DEFAULT_JDBC ) ); }
@Override public boolean isJdbc(UnitOfWork uow) throws KException { final String connectionType = getObjectProperty(uow, PropertyValueType.STRING, "isJdbc", DataVirtLexicon.Connection.TYPE); if ( connectionType == null ) { return Connection.DEFAULT_JDBC; } return ( org.teiid.modeshape.sequencer.dataservice.Connection.Type.JDBC.name().equals(connectionType) ); }
ConnectionImpl extends RelationalObjectImpl implements Connection, EventManager { @Override public boolean isJdbc(UnitOfWork uow) throws KException { final String connectionType = getObjectProperty(uow, PropertyValueType.STRING, "isJdbc", DataVirtLexicon.Connection.TYPE); if ( connectionType == null ) { return Connection.DEFAULT_JDBC; } return ( org.teiid.modeshape.sequencer.dataservice.Connection.Type.JDBC.name().equals(connectionType) ); } }
ConnectionImpl extends RelationalObjectImpl implements Connection, EventManager { @Override public boolean isJdbc(UnitOfWork uow) throws KException { final String connectionType = getObjectProperty(uow, PropertyValueType.STRING, "isJdbc", DataVirtLexicon.Connection.TYPE); if ( connectionType == null ) { return Connection.DEFAULT_JDBC; } return ( org.teiid.modeshape.sequencer.dataservice.Connection.Type.JDBC.name().equals(connectionType) ); } ConnectionImpl( final UnitOfWork uow,
                      final Repository repository,
                      final String path ); }
ConnectionImpl extends RelationalObjectImpl implements Connection, EventManager { @Override public boolean isJdbc(UnitOfWork uow) throws KException { final String connectionType = getObjectProperty(uow, PropertyValueType.STRING, "isJdbc", DataVirtLexicon.Connection.TYPE); if ( connectionType == null ) { return Connection.DEFAULT_JDBC; } return ( org.teiid.modeshape.sequencer.dataservice.Connection.Type.JDBC.name().equals(connectionType) ); } ConnectionImpl( final UnitOfWork uow,
                      final Repository repository,
                      final String path ); @Override KomodoType getTypeIdentifier(UnitOfWork uow); @Override String getId( final UnitOfWork transaction ); @Override int getTypeId(); @Override String getJndiName( final UnitOfWork uow ); @Override String getDescription( final UnitOfWork uow ); @Override String getExternalLocation( final UnitOfWork uow ); @Override String getDriverName( final UnitOfWork uow ); @Override String getClassName(UnitOfWork uow); @Override boolean isJdbc(UnitOfWork uow); @Override void setDriverName( final UnitOfWork uow,
                               final String driverName ); @Override void setJndiName( final UnitOfWork uow,
                             final String jndiName ); @Override void setDescription( final UnitOfWork uow,
                                final String description ); @Override void setExternalLocation( final UnitOfWork uow,
                                     final String extLoc ); @Override void setClassName(UnitOfWork uow,
                             String className); @Override void setJdbc(UnitOfWork uow,
                        boolean isJdbc); @Override Properties getPropertiesForServerDeployment(UnitOfWork transaction,
                                                       TeiidInstance teiidInstance); @Override byte[] export(UnitOfWork transaction,
                         Properties exportProperties); @Override void setProperty( final UnitOfWork transaction,
                             final String propertyName,
                             final Object... values ); @Override DeployStatus deploy(UnitOfWork uow, Teiid teiid); @Override boolean addListener( ExecutionConfigurationListener listener ); @Override void permitListeners( boolean enable ); @Override void notifyListeners( ExecutionConfigurationEvent event ); @Override boolean removeListener( ExecutionConfigurationListener listener ); }
ConnectionImpl extends RelationalObjectImpl implements Connection, EventManager { @Override public boolean isJdbc(UnitOfWork uow) throws KException { final String connectionType = getObjectProperty(uow, PropertyValueType.STRING, "isJdbc", DataVirtLexicon.Connection.TYPE); if ( connectionType == null ) { return Connection.DEFAULT_JDBC; } return ( org.teiid.modeshape.sequencer.dataservice.Connection.Type.JDBC.name().equals(connectionType) ); } ConnectionImpl( final UnitOfWork uow,
                      final Repository repository,
                      final String path ); @Override KomodoType getTypeIdentifier(UnitOfWork uow); @Override String getId( final UnitOfWork transaction ); @Override int getTypeId(); @Override String getJndiName( final UnitOfWork uow ); @Override String getDescription( final UnitOfWork uow ); @Override String getExternalLocation( final UnitOfWork uow ); @Override String getDriverName( final UnitOfWork uow ); @Override String getClassName(UnitOfWork uow); @Override boolean isJdbc(UnitOfWork uow); @Override void setDriverName( final UnitOfWork uow,
                               final String driverName ); @Override void setJndiName( final UnitOfWork uow,
                             final String jndiName ); @Override void setDescription( final UnitOfWork uow,
                                final String description ); @Override void setExternalLocation( final UnitOfWork uow,
                                     final String extLoc ); @Override void setClassName(UnitOfWork uow,
                             String className); @Override void setJdbc(UnitOfWork uow,
                        boolean isJdbc); @Override Properties getPropertiesForServerDeployment(UnitOfWork transaction,
                                                       TeiidInstance teiidInstance); @Override byte[] export(UnitOfWork transaction,
                         Properties exportProperties); @Override void setProperty( final UnitOfWork transaction,
                             final String propertyName,
                             final Object... values ); @Override DeployStatus deploy(UnitOfWork uow, Teiid teiid); @Override boolean addListener( ExecutionConfigurationListener listener ); @Override void permitListeners( boolean enable ); @Override void notifyListeners( ExecutionConfigurationEvent event ); @Override boolean removeListener( ExecutionConfigurationListener listener );  }