org.mule.module.db.internal.domain.type
Class StructuredDbType

java.lang.Object
  extended by org.mule.module.db.internal.domain.type.AbstractDbType
      extended by org.mule.module.db.internal.domain.type.ResolvedDbType
          extended by org.mule.module.db.internal.domain.type.StructuredDbType
All Implemented Interfaces:
DbType

public class StructuredDbType
extends ResolvedDbType

Defines a structured data type


Field Summary
 
Fields inherited from class org.mule.module.db.internal.domain.type.AbstractDbType
name
 
Constructor Summary
StructuredDbType(int id, String name, String internalName)
           
 
Method Summary
 void registerOutParameter(CallableStatement statement, int index)
          Registers an output parameter
 
Methods inherited from class org.mule.module.db.internal.domain.type.ResolvedDbType
getParameterValue, setParameterValue
 
Methods inherited from class org.mule.module.db.internal.domain.type.AbstractDbType
getId, getName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StructuredDbType

public StructuredDbType(int id,
                        String name,
                        String internalName)
Method Detail

registerOutParameter

public void registerOutParameter(CallableStatement statement,
                                 int index)
                          throws SQLException
Description copied from interface: DbType
Registers an output parameter

Specified by:
registerOutParameter in interface DbType
Overrides:
registerOutParameter in class AbstractDbType
Parameters:
statement - statement that contains the parameter
index - index of the parameter in the statement (first parameter is 1, the second is 2, etc)
Throws:
SQLException - if the parameterIndex is not valid; if a database access error occurs or this method is called on a closed CallableStatement


Copyright © 2003–2014 MuleSoft, Inc.. All rights reserved.