Loopback translator
The Loopback translator, known by the type name loopback, provides a quick testing solution. It supports all SQL constructs and returns default results, with some configurable behavior.
Name | Description | Default |
---|---|---|
ThrowError |
|
false |
RowCount |
Rows returned for non-update queries. |
1 |
WaitTime |
Wait randomly up to this number of milliseconds with each source query. |
0 |
PollIntervalInMilli |
If positive, results will be |
-1 |
DelegateName |
Set to the name of the translator which is to be mimicked. |
na |
You can also use the Loopback translator to mimic how a real source query would be formed for a given translator
(although loopback will still return dummy data that might not be useful for your situation).
To enable this behavior, set the DelegateName
property to the name of the translator that you want to mimic.
For example, to disable all capabilities, set the DelegateName
property to jdbc-simple
.
JCA Resource Adapter
A source connection is not required for this translator.