iBatis DAO Definition - Teradata Studio

Teradata Studio IDE Plug-in User Guide

Product
Teradata Studio
Release Number
16.00
Published
March 2017
Language
English (United States)
Last Update
2018-05-03
dita:mapPath
poj1484765174891.ditamap
dita:ditavalPath
ft:empty
dita:id
B035-2043
Product Category
Teradata Tools and Utilities

The iBatis DAO Definition dialog enables you to specify the location and name of the Spring DAO class to be generated by the iBatis DAO with Web Services Wizard. This dialog also provides options for the creation of a unit test, WSDL file, and Web service which are used with the generated DAO class.

The Wizard derives the information to create the DAO class from the selected iBatis XML SQL Map file in which the Wizard was launched. The default value for the Source folder is the Source Java folder set in the Teradata project of the selected iBatis XML file.

The default package name is the same name as the iBatis XML file package if the iBatis file is in the Source Resource folder of the Teradata Project. The base name for the iBatis XML file is used for the default Spring DAO class name.

Option Description
Source folder Specifies the source folder for the new class.
Package Specifies the package for the new class.
Name Specifies the name for the new class.
Save Password Saves the database password for the selected profile to the JDBC Properties file.
Database Profile Lists the databases that can be run with the generated unit test or web service.
Create unit test for DAO Generates an unit test for the new Spring DAO class.
Use Teradata Session Manager Implements the DAO and unit test using the Teradata Session Manager.
Create WSDL Creates a Web Service Definition Language file and the supporting XSD files based on the selected iBatis XML Map file.
Create Web Service Generates a web service based on a WSDL derived from the selected iBatis XML Map file.
Overwrite files Overwrites an existing DAO and supporting files for the DAO class if specified.
The Teradata Project is required when using the iBatis DAO with Web Services Wizard.