The JavaBean Wrapper Wizard allows you to quickly generate a JavaBean class for a given SQL statement or stored procedure. A JavaBean is a class written in the Java programming language that encapsulates many objects into a single object (the bean).
You can edit the SQL statement to use parameter substitution and named parameters to enable the parameters to be used with encapsulated SQL and the generated JavaBean. Programmers can then pass this bean rather than the individual objects, simplifying access to a Teradata Database.
The JavaBean Wrapper class contains code to
- Create a connection to Teradata
- Execute an SQL statement
- Call a stored procedure
- Process the result sets depending on how the results return
- Create helper classes for accessing the result set data
- Add Query Banding when running the query
- Add XSL Transformations for the result set data
- Generate a JavaBean that runs with the Spring DAO framework used by the Spring DAO Wizard