-
Notifications
You must be signed in to change notification settings - Fork 427
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Metadata caching issue with AE on connection #361
Conversation
Codecov Report
@@ Coverage Diff @@
## RTW_6.2.0 #361 +/- ##
===============================================
- Coverage 40.09% 40.08% -0.02%
- Complexity 1881 1882 +1
===============================================
Files 107 107
Lines 24484 24486 +2
Branches 4037 4039 +2
===============================================
- Hits 9817 9814 -3
+ Misses 12833 12830 -3
- Partials 1834 1842 +8
Continue to review full report at Codecov.
|
try { | ||
String sPrepStmt = "update ctstable2 set PRICE=PRICE*20 where TYPE_ID=?"; | ||
|
||
System.out.println("Prepared Statement String :" + sPrepStmt); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove sysouts. better to use logger. Simple java.util.logger
testExecuteBatch1(); | ||
} | ||
|
||
public void testAddBatch1() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggestion: Adding javadocs will give hint to developers related to what we are going to test.
} | ||
|
||
private static void dropTable() throws SQLException { | ||
stmt.executeUpdate("if object_id('" + "ctstable2" + "','U') is not null" + " drop table " + "ctstable2"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please use Utils.dropObjectIfExists(tableName,"IsTable",stmt)
function to drop table.
* | ||
*/ | ||
@RunWith(JUnitPlatform.class) | ||
public class BatchExecution extends AbstractTest { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we rename BatchExecutionTest
?
No description provided.