Skip to content

Conversation

@dilee
Copy link
Contributor

@dilee dilee commented Nov 3, 2015

Purpose
Refactoring DAO classes and DB scripts.

@dilee dilee closed this Nov 11, 2015
@dilee dilee reopened this Nov 11, 2015
@dilee dilee changed the title Refactored oracle DB script Refactored Device and Application DAO classes Nov 11, 2015
@dilee dilee changed the title Refactored Device and Application DAO classes Refactored DB scripts Nov 11, 2015
@dilee dilee changed the title Refactored DB scripts Refactored DB scripts and DAO classes Nov 16, 2015
@harshanL harshanL merged commit f8a2117 into wso2:master Nov 16, 2015
@dilee dilee changed the title Refactored DB scripts and DAO classes Refactored DAO classes and DB scripts Aug 15, 2017
mappingIds.add(rs.getInt(1));
}
return mappingIds;
// rs = stmt.getGeneratedKeys();
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove commented code.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in 77c4c34

PreparedStatement stmt = null;
ByteArrayOutputStream bao = null;
ObjectOutputStream oos = null;
try {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cant we use try with resource here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in #1275

operation.setId(operationId);
operation.setEnabled(true);
ProfileOperation profileOp = (ProfileOperation) operation;
//ProfileOperation profileOp = (ProfileOperation) operation;
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove commented line. And, can we change this to Java try with resource?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in #1275

@prabushi
Copy link

prabushi commented Apr 4, 2019

Add a description.

@dilee dilee changed the title Refactored DAO classes and DB scripts Refactor DAO classes and DB scripts Apr 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants