JavaBean Wrapper Wizard - Teradata Studio

Teradata Studio IDE Plug-in User Guide

Product
Teradata Studio
Release Number
15.12
Published
August 2016
Language
English (United States)
Last Update
2018-05-03
dita:mapPath
pts1468860020550.ditamap
dita:ditavalPath
ft:empty
dita:id
B035-2043
lifecycle
previous
Product Category
Teradata Tools and Utilities

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
The JavaBean Wrapper wizard also provides options to
  • 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