bugged stringlengths 6 599k | fixed stringlengths 10 599k | __index_level_0__ int64 0 1.13M |
|---|---|---|
public void addReferences(long channelID, List references, boolean loaded) throws Exception { Connection conn = null; PreparedStatement psInsertReference = null; PreparedStatement psInsertMessage = null; PreparedStatement psUpdateMessage = null; TransactionWrapper wrap = new TransactionW... | public void addReferences(long channelID, List references, boolean loaded) throws Exception { Connection conn = null; PreparedStatement psInsertReference = null; PreparedStatement psInsertMessage = null; PreparedStatement psUpdateMessage = null; TransactionWrapper wrap = new TransactionW... | 26,644 |
public void addReferences(long channelID, List references, boolean loaded) throws Exception { Connection conn = null; PreparedStatement psInsertReference = null; PreparedStatement psInsertMessage = null; PreparedStatement psUpdateMessage = null; TransactionWrapper wrap = new TransactionW... | public void addReferences(long channelID, List references, boolean loaded) throws Exception { Connection conn = null; PreparedStatement psInsertReference = null; PreparedStatement psInsertMessage = null; PreparedStatement psUpdateMessage = null; TransactionWrapper wrap = new TransactionW... | 26,645 |
public void addReferences(long channelID, List references, boolean loaded) throws Exception { Connection conn = null; PreparedStatement psInsertReference = null; PreparedStatement psInsertMessage = null; PreparedStatement psUpdateMessage = null; TransactionWrapper wrap = new TransactionW... | public void addReferences(long channelID, List references, boolean loaded) throws Exception { Connection conn = null; PreparedStatement psInsertReference = null; PreparedStatement psInsertMessage = null; PreparedStatement psUpdateMessage = null; TransactionWrapper wrap = new TransactionW... | 26,646 |
public void addReferences(long channelID, List references, boolean loaded) throws Exception { Connection conn = null; PreparedStatement psInsertReference = null; PreparedStatement psInsertMessage = null; PreparedStatement psUpdateMessage = null; TransactionWrapper wrap = new TransactionW... | public void addReferences(long channelID, List references, boolean loaded) throws Exception { Connection conn = null; PreparedStatement psInsertReference = null; PreparedStatement psInsertMessage = null; PreparedStatement psUpdateMessage = null; TransactionWrapper wrap = new TransactionW... | 26,647 |
public void addReferences(long channelID, List references, boolean loaded) throws Exception { Connection conn = null; PreparedStatement psInsertReference = null; PreparedStatement psInsertMessage = null; PreparedStatement psUpdateMessage = null; TransactionWrapper wrap = new TransactionW... | public void addReferences(long channelID, List references, boolean loaded) throws Exception { Connection conn = null; PreparedStatement psInsertReference = null; PreparedStatement psInsertMessage = null; PreparedStatement psUpdateMessage = null; TransactionWrapper wrap = new TransactionW... | 26,648 |
public void addReferences(long channelID, List references, boolean loaded) throws Exception { Connection conn = null; PreparedStatement psInsertReference = null; PreparedStatement psInsertMessage = null; PreparedStatement psUpdateMessage = null; TransactionWrapper wrap = new TransactionW... | public void addReferences(long channelID, List references, boolean loaded) throws Exception { Connection conn = null; PreparedStatement psInsertReference = null; PreparedStatement psInsertMessage = null; PreparedStatement psUpdateMessage = null; TransactionWrapper wrap = new TransactionW... | 26,649 |
protected void createSchema() throws Exception { Connection conn = null; TransactionWrapper tx = new TransactionWrapper(); log.info("creating tables"); try { conn = ds.getConnection(); try { conn.createStatement().executeUpdate(create... | protected void createSchema() throws Exception { Connection conn = null; TransactionWrapper tx = new TransactionWrapper(); try { conn = ds.getConnection(); try { conn.createStatement().executeUpdate(createTransaction); if ... | 26,650 |
protected void createSchema() throws Exception { Connection conn = null; TransactionWrapper tx = new TransactionWrapper(); log.info("creating tables"); try { conn = ds.getConnection(); try { conn.createStatement().executeUpdate(create... | protected void createSchema() throws Exception { Connection conn = null; TransactionWrapper tx = new TransactionWrapper(); log.info("creating tables"); try { conn = getConnection(); try { conn.createStatement().executeUpdate(createTra... | 26,651 |
public List getMessages(List messageIds) throws Exception { if (trace) { log.trace("Getting batch of messages for " + messageIds); } Connection conn = null; PreparedStatement ps = null; ResultSet rs = null; TransactionWrapper wrap = new TransactionWrapper(); ... | public List getMessages(List messageIds) throws Exception { if (trace) { log.trace("Getting batch of messages for " + messageIds); } Connection conn = null; PreparedStatement ps = null; ResultSet rs = null; TransactionWrapper wrap = new TransactionWrapper(); ... | 26,653 |
public List getMessages(List messageIds) throws Exception { if (trace) { log.trace("Getting batch of messages for " + messageIds); } Connection conn = null; PreparedStatement ps = null; ResultSet rs = null; TransactionWrapper wrap = new TransactionWrapper(); ... | public List getMessages(List messageIds) throws Exception { if (trace) { log.trace("Getting batch of messages for " + messageIds); } Connection conn = null; PreparedStatement ps = null; ResultSet rs = null; TransactionWrapper wrap = new TransactionWrapper(); ... | 26,654 |
public int getNumberOfUnloadedReferences(long channelID) throws Exception { if (trace) { log.trace("getting number of unloaded references for channel [" + channelID + "]"); } Connection conn = null; PreparedStatement ps = null; ResultSet rs = null; TransactionWrapper wrap = new Trans... | public int getNumberOfUnloadedReferences(long channelID) throws Exception { if (trace) { log.trace("getting number of unloaded references for channel [" + channelID + "]"); } Connection conn = null; PreparedStatement ps = null; ResultSet rs = null; TransactionWrapper wrap = new Trans... | 26,655 |
public List getReferenceInfos(long channelID, int number) throws Exception { if (trace) { log.trace("loading message reference info for channel " + channelID + " for " + number + " refs"); } Connection conn = null; PreparedStatement ps = null; ResultSet rs = null; T... | public List getReferenceInfos(long channelID, int number) throws Exception { if (trace) { log.trace("loading message reference info for channel " + channelID + " for " + number + " refs"); } Connection conn = null; PreparedStatement ps = null; ResultSet rs = null; T... | 26,656 |
public List getReferenceInfos(long channelID, int number) throws Exception { if (trace) { log.trace("loading message reference info for channel " + channelID + " for " + number + " refs"); } Connection conn = null; PreparedStatement ps = null; ResultSet rs = null; T... | public List getReferenceInfos(long channelID, int number) throws Exception { if (trace) { log.trace("loading message reference info for channel " + channelID + " for " + number + " refs"); } Connection conn = null; PreparedStatement ps = null; ResultSet rs = null; T... | 26,658 |
public List getReferenceInfos(long channelID, int number) throws Exception { if (trace) { log.trace("loading message reference info for channel " + channelID + " for " + number + " refs"); } Connection conn = null; PreparedStatement ps = null; ResultSet rs = null; T... | public List getReferenceInfos(long channelID, int number) throws Exception { if (trace) { log.trace("loading message reference info for channel " + channelID + " for " + number + " refs"); } Connection conn = null; PreparedStatement ps = null; ResultSet rs = null; T... | 26,659 |
public List getReferenceInfos(long channelID, int number) throws Exception { if (trace) { log.trace("loading message reference info for channel " + channelID + " for " + number + " refs"); } Connection conn = null; PreparedStatement ps = null; ResultSet rs = null; T... | public List getReferenceInfos(long channelID, int number) throws Exception { if (trace) { log.trace("loading message reference info for channel " + channelID + " for " + number + " refs"); } Connection conn = null; PreparedStatement ps = null; ResultSet rs = null; T... | 26,660 |
public List getReferenceInfos(long channelID, int number) throws Exception { if (trace) { log.trace("loading message reference info for channel " + channelID + " for " + number + " refs"); } Connection conn = null; PreparedStatement ps = null; ResultSet rs = null; T... | public List getReferenceInfos(long channelID, int number) throws Exception { if (trace) { log.trace("loading message reference info for channel " + channelID + " for " + number + " refs"); } Connection conn = null; PreparedStatement ps = null; ResultSet rs = null; T... | 26,661 |
public List getReferenceInfos(long channelID, int number) throws Exception { if (trace) { log.trace("loading message reference info for channel " + channelID + " for " + number + " refs"); } Connection conn = null; PreparedStatement ps = null; ResultSet rs = null; T... | public List getReferenceInfos(long channelID, int number) throws Exception { if (trace) { log.trace("loading message reference info for channel " + channelID + " for " + number + " refs"); } Connection conn = null; PreparedStatement ps = null; ResultSet rs = null; T... | 26,662 |
public List getReferenceInfos(long channelID, int number) throws Exception { if (trace) { log.trace("loading message reference info for channel " + channelID + " for " + number + " refs"); } Connection conn = null; PreparedStatement ps = null; ResultSet rs = null; T... | public List getReferenceInfos(long channelID, int number) throws Exception { if (trace) { log.trace("loading message reference info for channel " + channelID + " for " + number + " refs"); } Connection conn = null; PreparedStatement ps = null; ResultSet rs = null; T... | 26,663 |
public List getReferenceInfos(long channelID, int number) throws Exception { if (trace) { log.trace("loading message reference info for channel " + channelID + " for " + number + " refs"); } Connection conn = null; PreparedStatement ps = null; ResultSet rs = null; T... | public List getReferenceInfos(long channelID, int number) throws Exception { if (trace) { log.trace("loading message reference info for channel " + channelID + " for " + number + " refs"); } Connection conn = null; PreparedStatement ps = null; ResultSet rs = null; T... | 26,664 |
public String getSqlProperties() { try { ByteArrayOutputStream boa = new ByteArrayOutputStream(); sqlProperties.store(boa, ""); return new String(boa.toByteArray()); } catch (IOException shouldnothappen) { return ""; } } | public String getSqlProperties() { try { ByteArrayOutputStream boa = new ByteArrayOutputStream(); sqlProperties.store(boa, ""); return new String(boa.toByteArray()); } catch (IOException shouldnothappen) { log.error("Failed to get sql properties", shouldnoth... | 26,665 |
protected void handleBeforeCommit1PC(List refsToAdd, List refsToRemove, Transaction tx) throws Exception { //For one phase we simply add rows corresponding to the refs //and remove rows corresponding to the deliveries in one jdbc tx //We also need to store or remove messages as necessary, depen... | protected void handleBeforeCommit1PC(List refsToAdd, List refsToRemove, Transaction tx) throws Exception { //For one phase we simply add rows corresponding to the refs //and remove rows corresponding to the deliveries in one jdbc tx //We also need to store or remove messages as necessary, depen... | 26,666 |
protected void handleBeforeCommit1PC(List refsToAdd, List refsToRemove, Transaction tx) throws Exception { //For one phase we simply add rows corresponding to the refs //and remove rows corresponding to the deliveries in one jdbc tx //We also need to store or remove messages as necessary, depen... | protected void handleBeforeCommit1PC(List refsToAdd, List refsToRemove, Transaction tx) throws Exception { //For one phase we simply add rows corresponding to the refs //and remove rows corresponding to the deliveries in one jdbc tx //We also need to store or remove messages as necessary, depen... | 26,667 |
protected void handleBeforeCommit1PC(List refsToAdd, List refsToRemove, Transaction tx) throws Exception { //For one phase we simply add rows corresponding to the refs //and remove rows corresponding to the deliveries in one jdbc tx //We also need to store or remove messages as necessary, depen... | protected void handleBeforeCommit1PC(List refsToAdd, List refsToRemove, Transaction tx) throws Exception { //For one phase we simply add rows corresponding to the refs //and remove rows corresponding to the deliveries in one jdbc tx //We also need to store or remove messages as necessary, depen... | 26,668 |
protected void handleBeforeCommit1PC(List refsToAdd, List refsToRemove, Transaction tx) throws Exception { //For one phase we simply add rows corresponding to the refs //and remove rows corresponding to the deliveries in one jdbc tx //We also need to store or remove messages as necessary, depen... | protected void handleBeforeCommit1PC(List refsToAdd, List refsToRemove, Transaction tx) throws Exception { //For one phase we simply add rows corresponding to the refs //and remove rows corresponding to the deliveries in one jdbc tx //We also need to store or remove messages as necessary, depen... | 26,669 |
protected void handleBeforeCommit1PC(List refsToAdd, List refsToRemove, Transaction tx) throws Exception { //For one phase we simply add rows corresponding to the refs //and remove rows corresponding to the deliveries in one jdbc tx //We also need to store or remove messages as necessary, depen... | protected void handleBeforeCommit1PC(List refsToAdd, List refsToRemove, Transaction tx) throws Exception { //For one phase we simply add rows corresponding to the refs //and remove rows corresponding to the deliveries in one jdbc tx //We also need to store or remove messages as necessary, depen... | 26,670 |
protected void handleBeforeCommit1PC(List refsToAdd, List refsToRemove, Transaction tx) throws Exception { //For one phase we simply add rows corresponding to the refs //and remove rows corresponding to the deliveries in one jdbc tx //We also need to store or remove messages as necessary, depen... | protected void handleBeforeCommit1PC(List refsToAdd, List refsToRemove, Transaction tx) throws Exception { //For one phase we simply add rows corresponding to the refs //and remove rows corresponding to the deliveries in one jdbc tx //We also need to store or remove messages as necessary, depen... | 26,671 |
protected void handleBeforeCommit1PC(List refsToAdd, List refsToRemove, Transaction tx) throws Exception { //For one phase we simply add rows corresponding to the refs //and remove rows corresponding to the deliveries in one jdbc tx //We also need to store or remove messages as necessary, depen... | protected void handleBeforeCommit1PC(List refsToAdd, List refsToRemove, Transaction tx) throws Exception { //For one phase we simply add rows corresponding to the refs //and remove rows corresponding to the deliveries in one jdbc tx //We also need to store or remove messages as necessary, depen... | 26,672 |
protected void handleBeforeCommit1PC(List refsToAdd, List refsToRemove, Transaction tx) throws Exception { //For one phase we simply add rows corresponding to the refs //and remove rows corresponding to the deliveries in one jdbc tx //We also need to store or remove messages as necessary, depen... | protected void handleBeforeCommit1PC(List refsToAdd, List refsToRemove, Transaction tx) throws Exception { //For one phase we simply add rows corresponding to the refs //and remove rows corresponding to the deliveries in one jdbc tx //We also need to store or remove messages as necessary, depen... | 26,673 |
protected void handleBeforeCommit1PC(List refsToAdd, List refsToRemove, Transaction tx) throws Exception { //For one phase we simply add rows corresponding to the refs //and remove rows corresponding to the deliveries in one jdbc tx //We also need to store or remove messages as necessary, depen... | protected void handleBeforeCommit1PC(List refsToAdd, List refsToRemove, Transaction tx) throws Exception { //For one phase we simply add rows corresponding to the refs //and remove rows corresponding to the deliveries in one jdbc tx //We also need to store or remove messages as necessary, depen... | 26,674 |
protected void handleBeforeCommit1PC(List refsToAdd, List refsToRemove, Transaction tx) throws Exception { //For one phase we simply add rows corresponding to the refs //and remove rows corresponding to the deliveries in one jdbc tx //We also need to store or remove messages as necessary, depen... | protected void handleBeforeCommit1PC(List refsToAdd, List refsToRemove, Transaction tx) throws Exception { //For one phase we simply add rows corresponding to the refs //and remove rows corresponding to the deliveries in one jdbc tx //We also need to store or remove messages as necessary, depen... | 26,675 |
protected void handleBeforeCommit1PC(List refsToAdd, List refsToRemove, Transaction tx) throws Exception { //For one phase we simply add rows corresponding to the refs //and remove rows corresponding to the deliveries in one jdbc tx //We also need to store or remove messages as necessary, depen... | protected void handleBeforeCommit1PC(List refsToAdd, List refsToRemove, Transaction tx) throws Exception { //For one phase we simply add rows corresponding to the refs //and remove rows corresponding to the deliveries in one jdbc tx //We also need to store or remove messages as necessary, depen... | 26,676 |
protected void handleBeforeCommit1PC(List refsToAdd, List refsToRemove, Transaction tx) throws Exception { //For one phase we simply add rows corresponding to the refs //and remove rows corresponding to the deliveries in one jdbc tx //We also need to store or remove messages as necessary, depen... | protected void handleBeforeCommit1PC(List refsToAdd, List refsToRemove, Transaction tx) throws Exception { //For one phase we simply add rows corresponding to the refs //and remove rows corresponding to the deliveries in one jdbc tx //We also need to store or remove messages as necessary, depen... | 26,677 |
protected void handleBeforeCommit1PC(List refsToAdd, List refsToRemove, Transaction tx) throws Exception { //For one phase we simply add rows corresponding to the refs //and remove rows corresponding to the deliveries in one jdbc tx //We also need to store or remove messages as necessary, depen... | protected void handleBeforeCommit1PC(List refsToAdd, List refsToRemove, Transaction tx) throws Exception { //For one phase we simply add rows corresponding to the refs //and remove rows corresponding to the deliveries in one jdbc tx //We also need to store or remove messages as necessary, depen... | 26,678 |
protected void handleBeforeCommit1PC(List refsToAdd, List refsToRemove, Transaction tx) throws Exception { //For one phase we simply add rows corresponding to the refs //and remove rows corresponding to the deliveries in one jdbc tx //We also need to store or remove messages as necessary, depen... | protected void handleBeforeCommit1PC(List refsToAdd, List refsToRemove, Transaction tx) throws Exception { //For one phase we simply add rows corresponding to the refs //and remove rows corresponding to the deliveries in one jdbc tx //We also need to store or remove messages as necessary, depen... | 26,679 |
protected void handleBeforeCommit1PC(List refsToAdd, List refsToRemove, Transaction tx) throws Exception { //For one phase we simply add rows corresponding to the refs //and remove rows corresponding to the deliveries in one jdbc tx //We also need to store or remove messages as necessary, depen... | protected void handleBeforeCommit1PC(List refsToAdd, List refsToRemove, Transaction tx) throws Exception { //For one phase we simply add rows corresponding to the refs //and remove rows corresponding to the deliveries in one jdbc tx //We also need to store or remove messages as necessary, depen... | 26,680 |
protected void handleBeforeCommit1PC(List refsToAdd, List refsToRemove, Transaction tx) throws Exception { //For one phase we simply add rows corresponding to the refs //and remove rows corresponding to the deliveries in one jdbc tx //We also need to store or remove messages as necessary, depen... | protected void handleBeforeCommit1PC(List refsToAdd, List refsToRemove, Transaction tx) throws Exception { //For one phase we simply add rows corresponding to the refs //and remove rows corresponding to the deliveries in one jdbc tx //We also need to store or remove messages as necessary, depen... | 26,681 |
protected void handleBeforeCommit2PC(List refsToRemove, Transaction tx) throws Exception { Connection conn = null; PreparedStatement psUpdateMessage = null; PreparedStatement psDeleteMessage = null; TransactionWrapper wrap = new TransactionWrapper(); try { con... | protected void handleBeforeCommit2PC(List refsToRemove, Transaction tx) throws Exception { Connection conn = null; PreparedStatement psUpdateMessage = null; PreparedStatement psDeleteMessage = null; TransactionWrapper wrap = new TransactionWrapper(); try { thi... | 26,682 |
protected void handleBeforeCommit2PC(List refsToRemove, Transaction tx) throws Exception { Connection conn = null; PreparedStatement psUpdateMessage = null; PreparedStatement psDeleteMessage = null; TransactionWrapper wrap = new TransactionWrapper(); try { con... | protected void handleBeforeCommit2PC(List refsToRemove, Transaction tx) throws Exception { Connection conn = null; PreparedStatement psUpdateMessage = null; PreparedStatement psDeleteMessage = null; TransactionWrapper wrap = new TransactionWrapper(); try { con... | 26,683 |
protected void handleBeforeCommit2PC(List refsToRemove, Transaction tx) throws Exception { Connection conn = null; PreparedStatement psUpdateMessage = null; PreparedStatement psDeleteMessage = null; TransactionWrapper wrap = new TransactionWrapper(); try { con... | protected void handleBeforeCommit2PC(List refsToRemove, Transaction tx) throws Exception { Connection conn = null; PreparedStatement psUpdateMessage = null; PreparedStatement psDeleteMessage = null; TransactionWrapper wrap = new TransactionWrapper(); try { con... | 26,684 |
protected void handleBeforeCommit2PC(List refsToRemove, Transaction tx) throws Exception { Connection conn = null; PreparedStatement psUpdateMessage = null; PreparedStatement psDeleteMessage = null; TransactionWrapper wrap = new TransactionWrapper(); try { con... | protected void handleBeforeCommit2PC(List refsToRemove, Transaction tx) throws Exception { Connection conn = null; PreparedStatement psUpdateMessage = null; PreparedStatement psDeleteMessage = null; TransactionWrapper wrap = new TransactionWrapper(); try { con... | 26,685 |
protected void handleBeforeCommit2PC(List refsToRemove, Transaction tx) throws Exception { Connection conn = null; PreparedStatement psUpdateMessage = null; PreparedStatement psDeleteMessage = null; TransactionWrapper wrap = new TransactionWrapper(); try { con... | protected void handleBeforeCommit2PC(List refsToRemove, Transaction tx) throws Exception { Connection conn = null; PreparedStatement psUpdateMessage = null; PreparedStatement psDeleteMessage = null; TransactionWrapper wrap = new TransactionWrapper(); try { con... | 26,686 |
protected void handleBeforeCommit2PC(List refsToRemove, Transaction tx) throws Exception { Connection conn = null; PreparedStatement psUpdateMessage = null; PreparedStatement psDeleteMessage = null; TransactionWrapper wrap = new TransactionWrapper(); try { con... | protected void handleBeforeCommit2PC(List refsToRemove, Transaction tx) throws Exception { Connection conn = null; PreparedStatement psUpdateMessage = null; PreparedStatement psDeleteMessage = null; TransactionWrapper wrap = new TransactionWrapper(); try { con... | 26,687 |
protected void handleBeforeCommit2PC(List refsToRemove, Transaction tx) throws Exception { Connection conn = null; PreparedStatement psUpdateMessage = null; PreparedStatement psDeleteMessage = null; TransactionWrapper wrap = new TransactionWrapper(); try { con... | protected void handleBeforeCommit2PC(List refsToRemove, Transaction tx) throws Exception { Connection conn = null; PreparedStatement psUpdateMessage = null; PreparedStatement psDeleteMessage = null; TransactionWrapper wrap = new TransactionWrapper(); try { con... | 26,688 |
protected void handleBeforeCommit2PC(List refsToRemove, Transaction tx) throws Exception { Connection conn = null; PreparedStatement psUpdateMessage = null; PreparedStatement psDeleteMessage = null; TransactionWrapper wrap = new TransactionWrapper(); try { con... | protected void handleBeforeCommit2PC(List refsToRemove, Transaction tx) throws Exception { Connection conn = null; PreparedStatement psUpdateMessage = null; PreparedStatement psDeleteMessage = null; TransactionWrapper wrap = new TransactionWrapper(); try { con... | 26,689 |
protected void handleBeforeCommit2PC(List refsToRemove, Transaction tx) throws Exception { Connection conn = null; PreparedStatement psUpdateMessage = null; PreparedStatement psDeleteMessage = null; TransactionWrapper wrap = new TransactionWrapper(); try { con... | protected void handleBeforeCommit2PC(List refsToRemove, Transaction tx) throws Exception { Connection conn = null; PreparedStatement psUpdateMessage = null; PreparedStatement psDeleteMessage = null; TransactionWrapper wrap = new TransactionWrapper(); try { con... | 26,690 |
protected void handleBeforeCommit2PC(List refsToRemove, Transaction tx) throws Exception { Connection conn = null; PreparedStatement psUpdateMessage = null; PreparedStatement psDeleteMessage = null; TransactionWrapper wrap = new TransactionWrapper(); try { con... | protected void handleBeforeCommit2PC(List refsToRemove, Transaction tx) throws Exception { Connection conn = null; PreparedStatement psUpdateMessage = null; PreparedStatement psDeleteMessage = null; TransactionWrapper wrap = new TransactionWrapper(); try { con... | 26,691 |
protected void handleBeforePrepare(List refsToAdd, List refsToRemove, Transaction tx) throws Exception { //We insert a tx record and //a row for each ref with + //and update the row for each delivery with "-" PreparedStatement psReference = null; PreparedStatement psInsertMessage = n... | protected void handleBeforePrepare(List refsToAdd, List refsToRemove, Transaction tx) throws Exception { //We insert a tx record and //a row for each ref with + //and update the row for each delivery with "-" PreparedStatement psReference = null; PreparedStatement psInsertMessage = n... | 26,692 |
protected void handleBeforePrepare(List refsToAdd, List refsToRemove, Transaction tx) throws Exception { //We insert a tx record and //a row for each ref with + //and update the row for each delivery with "-" PreparedStatement psReference = null; PreparedStatement psInsertMessage = n... | protected void handleBeforePrepare(List refsToAdd, List refsToRemove, Transaction tx) throws Exception { //We insert a tx record and //a row for each ref with + //and update the row for each delivery with "-" PreparedStatement psReference = null; PreparedStatement psInsertMessage = n... | 26,693 |
protected void handleBeforePrepare(List refsToAdd, List refsToRemove, Transaction tx) throws Exception { //We insert a tx record and //a row for each ref with + //and update the row for each delivery with "-" PreparedStatement psReference = null; PreparedStatement psInsertMessage = n... | protected void handleBeforePrepare(List refsToAdd, List refsToRemove, Transaction tx) throws Exception { //We insert a tx record and //a row for each ref with + //and update the row for each delivery with "-" PreparedStatement psReference = null; PreparedStatement psInsertMessage = n... | 26,694 |
protected void handleBeforePrepare(List refsToAdd, List refsToRemove, Transaction tx) throws Exception { //We insert a tx record and //a row for each ref with + //and update the row for each delivery with "-" PreparedStatement psReference = null; PreparedStatement psInsertMessage = n... | protected void handleBeforePrepare(List refsToAdd, List refsToRemove, Transaction tx) throws Exception { //We insert a tx record and //a row for each ref with + //and update the row for each delivery with "-" PreparedStatement psReference = null; PreparedStatement psInsertMessage = n... | 26,695 |
protected void handleBeforePrepare(List refsToAdd, List refsToRemove, Transaction tx) throws Exception { //We insert a tx record and //a row for each ref with + //and update the row for each delivery with "-" PreparedStatement psReference = null; PreparedStatement psInsertMessage = n... | protected void handleBeforePrepare(List refsToAdd, List refsToRemove, Transaction tx) throws Exception { //We insert a tx record and //a row for each ref with + //and update the row for each delivery with "-" PreparedStatement psReference = null; PreparedStatement psInsertMessage = n... | 26,696 |
protected void handleBeforePrepare(List refsToAdd, List refsToRemove, Transaction tx) throws Exception { //We insert a tx record and //a row for each ref with + //and update the row for each delivery with "-" PreparedStatement psReference = null; PreparedStatement psInsertMessage = n... | protected void handleBeforePrepare(List refsToAdd, List refsToRemove, Transaction tx) throws Exception { //We insert a tx record and //a row for each ref with + //and update the row for each delivery with "-" PreparedStatement psReference = null; PreparedStatement psInsertMessage = n... | 26,697 |
protected void handleBeforePrepare(List refsToAdd, List refsToRemove, Transaction tx) throws Exception { //We insert a tx record and //a row for each ref with + //and update the row for each delivery with "-" PreparedStatement psReference = null; PreparedStatement psInsertMessage = n... | protected void handleBeforePrepare(List refsToAdd, List refsToRemove, Transaction tx) throws Exception { //We insert a tx record and //a row for each ref with + //and update the row for each delivery with "-" PreparedStatement psReference = null; PreparedStatement psInsertMessage = n... | 26,698 |
protected void handleBeforePrepare(List refsToAdd, List refsToRemove, Transaction tx) throws Exception { //We insert a tx record and //a row for each ref with + //and update the row for each delivery with "-" PreparedStatement psReference = null; PreparedStatement psInsertMessage = n... | protected void handleBeforePrepare(List refsToAdd, List refsToRemove, Transaction tx) throws Exception { //We insert a tx record and //a row for each ref with + //and update the row for each delivery with "-" PreparedStatement psReference = null; PreparedStatement psInsertMessage = n... | 26,699 |
protected void handleBeforePrepare(List refsToAdd, List refsToRemove, Transaction tx) throws Exception { //We insert a tx record and //a row for each ref with + //and update the row for each delivery with "-" PreparedStatement psReference = null; PreparedStatement psInsertMessage = n... | protected void handleBeforePrepare(List refsToAdd, List refsToRemove, Transaction tx) throws Exception { //We insert a tx record and //a row for each ref with + //and update the row for each delivery with "-" PreparedStatement psReference = null; PreparedStatement psInsertMessage = n... | 26,700 |
protected void handleBeforeRollback(List refsToAdd, Transaction tx) throws Exception { //remove refs marked with + //and update rows marked with - to C PreparedStatement psDeleteMessage = null; PreparedStatement psUpdateMessage = null; Connection conn = null; TransactionWr... | protected void handleBeforeRollback(List refsToAdd, Transaction tx) throws Exception { //remove refs marked with + //and update rows marked with - to C PreparedStatement psDeleteMessage = null; PreparedStatement psUpdateMessage = null; Connection conn = null; TransactionWr... | 26,701 |
protected void handleBeforeRollback(List refsToAdd, Transaction tx) throws Exception { //remove refs marked with + //and update rows marked with - to C PreparedStatement psDeleteMessage = null; PreparedStatement psUpdateMessage = null; Connection conn = null; TransactionWr... | protected void handleBeforeRollback(List refsToAdd, Transaction tx) throws Exception { //remove refs marked with + //and update rows marked with - to C PreparedStatement psDeleteMessage = null; PreparedStatement psUpdateMessage = null; Connection conn = null; TransactionWr... | 26,702 |
protected void handleBeforeRollback(List refsToAdd, Transaction tx) throws Exception { //remove refs marked with + //and update rows marked with - to C PreparedStatement psDeleteMessage = null; PreparedStatement psUpdateMessage = null; Connection conn = null; TransactionWr... | protected void handleBeforeRollback(List refsToAdd, Transaction tx) throws Exception { //remove refs marked with + //and update rows marked with - to C PreparedStatement psDeleteMessage = null; PreparedStatement psUpdateMessage = null; Connection conn = null; TransactionWr... | 26,703 |
protected void handleBeforeRollback(List refsToAdd, Transaction tx) throws Exception { //remove refs marked with + //and update rows marked with - to C PreparedStatement psDeleteMessage = null; PreparedStatement psUpdateMessage = null; Connection conn = null; TransactionWr... | protected void handleBeforeRollback(List refsToAdd, Transaction tx) throws Exception { //remove refs marked with + //and update rows marked with - to C PreparedStatement psDeleteMessage = null; PreparedStatement psUpdateMessage = null; Connection conn = null; TransactionWr... | 26,704 |
protected void handleBeforeRollback(List refsToAdd, Transaction tx) throws Exception { //remove refs marked with + //and update rows marked with - to C PreparedStatement psDeleteMessage = null; PreparedStatement psUpdateMessage = null; Connection conn = null; TransactionWr... | protected void handleBeforeRollback(List refsToAdd, Transaction tx) throws Exception { //remove refs marked with + //and update rows marked with - to C PreparedStatement psDeleteMessage = null; PreparedStatement psUpdateMessage = null; Connection conn = null; TransactionWr... | 26,705 |
protected void handleBeforeRollback(List refsToAdd, Transaction tx) throws Exception { //remove refs marked with + //and update rows marked with - to C PreparedStatement psDeleteMessage = null; PreparedStatement psUpdateMessage = null; Connection conn = null; TransactionWr... | protected void handleBeforeRollback(List refsToAdd, Transaction tx) throws Exception { //remove refs marked with + //and update rows marked with - to C PreparedStatement psDeleteMessage = null; PreparedStatement psUpdateMessage = null; Connection conn = null; TransactionWr... | 26,706 |
protected void handleBeforeRollback(List refsToAdd, Transaction tx) throws Exception { //remove refs marked with + //and update rows marked with - to C PreparedStatement psDeleteMessage = null; PreparedStatement psUpdateMessage = null; Connection conn = null; TransactionWr... | protected void handleBeforeRollback(List refsToAdd, Transaction tx) throws Exception { //remove refs marked with + //and update rows marked with - to C PreparedStatement psDeleteMessage = null; PreparedStatement psUpdateMessage = null; Connection conn = null; TransactionWr... | 26,707 |
protected void handleBeforeRollback(List refsToAdd, Transaction tx) throws Exception { //remove refs marked with + //and update rows marked with - to C PreparedStatement psDeleteMessage = null; PreparedStatement psUpdateMessage = null; Connection conn = null; TransactionWr... | protected void handleBeforeRollback(List refsToAdd, Transaction tx) throws Exception { //remove refs marked with + //and update rows marked with - to C PreparedStatement psDeleteMessage = null; PreparedStatement psUpdateMessage = null; Connection conn = null; TransactionWr... | 26,708 |
protected void handleBeforeRollback(List refsToAdd, Transaction tx) throws Exception { //remove refs marked with + //and update rows marked with - to C PreparedStatement psDeleteMessage = null; PreparedStatement psUpdateMessage = null; Connection conn = null; TransactionWr... | protected void handleBeforeRollback(List refsToAdd, Transaction tx) throws Exception { //remove refs marked with + //and update rows marked with - to C PreparedStatement psDeleteMessage = null; PreparedStatement psUpdateMessage = null; Connection conn = null; TransactionWr... | 26,709 |
protected void handleBeforeRollback(List refsToAdd, Transaction tx) throws Exception { //remove refs marked with + //and update rows marked with - to C PreparedStatement psDeleteMessage = null; PreparedStatement psUpdateMessage = null; Connection conn = null; TransactionWr... | protected void handleBeforeRollback(List refsToAdd, Transaction tx) throws Exception { //remove refs marked with + //and update rows marked with - to C PreparedStatement psDeleteMessage = null; PreparedStatement psUpdateMessage = null; Connection conn = null; TransactionWr... | 26,710 |
protected void handleBeforeRollback(List refsToAdd, Transaction tx) throws Exception { //remove refs marked with + //and update rows marked with - to C PreparedStatement psDeleteMessage = null; PreparedStatement psUpdateMessage = null; Connection conn = null; TransactionWr... | protected void handleBeforeRollback(List refsToAdd, Transaction tx) throws Exception { //remove refs marked with + //and update rows marked with - to C PreparedStatement psDeleteMessage = null; PreparedStatement psUpdateMessage = null; Connection conn = null; TransactionWr... | 26,711 |
protected void handleBeforeRollback(List refsToAdd, Transaction tx) throws Exception { //remove refs marked with + //and update rows marked with - to C PreparedStatement psDeleteMessage = null; PreparedStatement psUpdateMessage = null; Connection conn = null; TransactionWr... | protected void handleBeforeRollback(List refsToAdd, Transaction tx) throws Exception { //remove refs marked with + //and update rows marked with - to C PreparedStatement psDeleteMessage = null; PreparedStatement psUpdateMessage = null; Connection conn = null; TransactionWr... | 26,712 |
protected void handleBeforeRollback(List refsToAdd, Transaction tx) throws Exception { //remove refs marked with + //and update rows marked with - to C PreparedStatement psDeleteMessage = null; PreparedStatement psUpdateMessage = null; Connection conn = null; TransactionWr... | protected void handleBeforeRollback(List refsToAdd, Transaction tx) throws Exception { //remove refs marked with + //and update rows marked with - to C PreparedStatement psDeleteMessage = null; PreparedStatement psUpdateMessage = null; Connection conn = null; TransactionWr... | 26,713 |
protected void handleBeforeRollback(List refsToAdd, Transaction tx) throws Exception { //remove refs marked with + //and update rows marked with - to C PreparedStatement psDeleteMessage = null; PreparedStatement psUpdateMessage = null; Connection conn = null; TransactionWr... | protected void handleBeforeRollback(List refsToAdd, Transaction tx) throws Exception { //remove refs marked with + //and update rows marked with - to C PreparedStatement psDeleteMessage = null; PreparedStatement psUpdateMessage = null; Connection conn = null; TransactionWr... | 26,714 |
protected void initSqlProperties() { insertMessageRef = sqlProperties.getProperty("INSERT_MESSAGE_REF", insertMessageRef); deleteMessageRef = sqlProperties.getProperty("DELETE_MESSAGE_REF", deleteMessageRef); updateMessageRef = sqlProperties.getProperty("UPDATE_MESSAGE_REF", updateMessageRef); ... | protected void initSqlProperties() { insertMessageRef = sqlProperties.getProperty("INSERT_MESSAGE_REF", insertMessageRef); deleteMessageRef = sqlProperties.getProperty("DELETE_MESSAGE_REF", deleteMessageRef); updateMessageRef = sqlProperties.getProperty("UPDATE_MESSAGE_REF", updateMessageRef); ... | 26,715 |
protected void initSqlProperties() { insertMessageRef = sqlProperties.getProperty("INSERT_MESSAGE_REF", insertMessageRef); deleteMessageRef = sqlProperties.getProperty("DELETE_MESSAGE_REF", deleteMessageRef); updateMessageRef = sqlProperties.getProperty("UPDATE_MESSAGE_REF", updateMessageRef); ... | protected void initSqlProperties() { insertMessageRef = sqlProperties.getProperty("INSERT_MESSAGE_REF", insertMessageRef); deleteMessageRef = sqlProperties.getProperty("DELETE_MESSAGE_REF", deleteMessageRef); updateMessageRef = sqlProperties.getProperty("UPDATE_MESSAGE_REF", updateMessageRef); ... | 26,716 |
protected void initSqlProperties() { insertMessageRef = sqlProperties.getProperty("INSERT_MESSAGE_REF", insertMessageRef); deleteMessageRef = sqlProperties.getProperty("DELETE_MESSAGE_REF", deleteMessageRef); updateMessageRef = sqlProperties.getProperty("UPDATE_MESSAGE_REF", updateMessageRef); ... | protected void initSqlProperties() { insertMessageRef = sqlProperties.getProperty("INSERT_MESSAGE_REF", insertMessageRef); deleteMessageRef = sqlProperties.getProperty("DELETE_MESSAGE_REF", deleteMessageRef); updateMessageRef = sqlProperties.getProperty("UPDATE_MESSAGE_REF", updateMessageRef); ... | 26,717 |
protected void initSqlProperties() { insertMessageRef = sqlProperties.getProperty("INSERT_MESSAGE_REF", insertMessageRef); deleteMessageRef = sqlProperties.getProperty("DELETE_MESSAGE_REF", deleteMessageRef); updateMessageRef = sqlProperties.getProperty("UPDATE_MESSAGE_REF", updateMessageRef); ... | protected void initSqlProperties() { insertMessageRef = sqlProperties.getProperty("INSERT_MESSAGE_REF", insertMessageRef); deleteMessageRef = sqlProperties.getProperty("DELETE_MESSAGE_REF", deleteMessageRef); updateMessageRef = sqlProperties.getProperty("UPDATE_MESSAGE_REF", updateMessageRef); ... | 26,718 |
public void removeAllChannelData(long channelID) throws Exception { if (trace) { log.trace("removing all references for channel " + channelID); } Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap = new TransactionWrapper(); boolean success... | public void removeAllChannelData(long channelID) throws Exception { if (trace) { log.trace("removing all references for channel " + channelID); } Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap = new TransactionWrapper(); boolean success... | 26,719 |
public void removeReference(long channelID, MessageReference ref, Transaction tx) throws Exception { if (tx != null) { //In a tx so we just add the ref in the tx in memory for now TransactionCallback callback = getCallback(tx); callback.addReferenceToRemove(channelID, ref); ... | public void removeReference(long channelID, MessageReference ref, Transaction tx) throws Exception { if (tx != null) { //In a tx so we just add the ref in the tx in memory for now TransactionCallback callback = getCallback(tx); callback.addReferenceToRemove(channelID, ref); ... | 26,720 |
public void removeReference(long channelID, MessageReference ref, Transaction tx) throws Exception { if (tx != null) { //In a tx so we just add the ref in the tx in memory for now TransactionCallback callback = getCallback(tx); callback.addReferenceToRemove(channelID, ref); ... | public void removeReference(long channelID, MessageReference ref, Transaction tx) throws Exception { if (tx != null) { //In a tx so we just add the ref in the tx in memory for now TransactionCallback callback = getCallback(tx); callback.addReferenceToRemove(channelID, ref); ... | 26,721 |
public void removeReference(long channelID, MessageReference ref, Transaction tx) throws Exception { if (tx != null) { //In a tx so we just add the ref in the tx in memory for now TransactionCallback callback = getCallback(tx); callback.addReferenceToRemove(channelID, ref); ... | public void removeReference(long channelID, MessageReference ref, Transaction tx) throws Exception { if (tx != null) { //In a tx so we just add the ref in the tx in memory for now TransactionCallback callback = getCallback(tx); callback.addReferenceToRemove(channelID, ref); ... | 26,722 |
public void removeReference(long channelID, MessageReference ref, Transaction tx) throws Exception { if (tx != null) { //In a tx so we just add the ref in the tx in memory for now TransactionCallback callback = getCallback(tx); callback.addReferenceToRemove(channelID, ref); ... | public void removeReference(long channelID, MessageReference ref, Transaction tx) throws Exception { if (tx != null) { //In a tx so we just add the ref in the tx in memory for now TransactionCallback callback = getCallback(tx); callback.addReferenceToRemove(channelID, ref); ... | 26,723 |
public void removeReferences(long channelID, List references) throws Exception { if (trace) { log.trace(this + " Removing " + references.size() + " refs from channel " + channelID); } Connection conn = null; PreparedStatement psDeleteReference = null; PreparedStatement psDeleteMessage =... | public void removeReferences(long channelID, List references) throws Exception { if (trace) { log.trace(this + " Removing " + references.size() + " refs from channel " + channelID); } Connection conn = null; PreparedStatement psDeleteReference = null; PreparedStatement psDeleteMessage =... | 26,724 |
public void removeReferences(long channelID, List references) throws Exception { if (trace) { log.trace(this + " Removing " + references.size() + " refs from channel " + channelID); } Connection conn = null; PreparedStatement psDeleteReference = null; PreparedStatement psDeleteMessage =... | public void removeReferences(long channelID, List references) throws Exception { if (trace) { log.trace(this + " Removing " + references.size() + " refs from channel " + channelID); } Connection conn = null; PreparedStatement psDeleteReference = null; PreparedStatement psDeleteMessage =... | 26,725 |
public void removeReferences(long channelID, List references) throws Exception { if (trace) { log.trace(this + " Removing " + references.size() + " refs from channel " + channelID); } Connection conn = null; PreparedStatement psDeleteReference = null; PreparedStatement psDeleteMessage =... | public void removeReferences(long channelID, List references) throws Exception { if (trace) { log.trace(this + " Removing " + references.size() + " refs from channel " + channelID); } Connection conn = null; PreparedStatement psDeleteReference = null; PreparedStatement psDeleteMessage =... | 26,726 |
public void removeReferences(long channelID, List references) throws Exception { if (trace) { log.trace(this + " Removing " + references.size() + " refs from channel " + channelID); } Connection conn = null; PreparedStatement psDeleteReference = null; PreparedStatement psDeleteMessage =... | public void removeReferences(long channelID, List references) throws Exception { if (trace) { log.trace(this + " Removing " + references.size() + " refs from channel " + channelID); } Connection conn = null; PreparedStatement psDeleteReference = null; PreparedStatement psDeleteMessage =... | 26,727 |
public void removeReferences(long channelID, List references) throws Exception { if (trace) { log.trace(this + " Removing " + references.size() + " refs from channel " + channelID); } Connection conn = null; PreparedStatement psDeleteReference = null; PreparedStatement psDeleteMessage =... | public void removeReferences(long channelID, List references) throws Exception { if (trace) { log.trace(this + " Removing " + references.size() + " refs from channel " + channelID); } Connection conn = null; PreparedStatement psDeleteReference = null; PreparedStatement psDeleteMessage =... | 26,728 |
public void removeReferences(long channelID, List references) throws Exception { if (trace) { log.trace(this + " Removing " + references.size() + " refs from channel " + channelID); } Connection conn = null; PreparedStatement psDeleteReference = null; PreparedStatement psDeleteMessage =... | public void removeReferences(long channelID, List references) throws Exception { if (trace) { log.trace(this + " Removing " + references.size() + " refs from channel " + channelID); } Connection conn = null; PreparedStatement psDeleteReference = null; PreparedStatement psDeleteMessage =... | 26,729 |
public void removeReferences(long channelID, List references) throws Exception { if (trace) { log.trace(this + " Removing " + references.size() + " refs from channel " + channelID); } Connection conn = null; PreparedStatement psDeleteReference = null; PreparedStatement psDeleteMessage =... | public void removeReferences(long channelID, List references) throws Exception { if (trace) { log.trace(this + " Removing " + references.size() + " refs from channel " + channelID); } Connection conn = null; PreparedStatement psDeleteReference = null; PreparedStatement psDeleteMessage =... | 26,730 |
public void removeReferences(long channelID, List references) throws Exception { if (trace) { log.trace(this + " Removing " + references.size() + " refs from channel " + channelID); } Connection conn = null; PreparedStatement psDeleteReference = null; PreparedStatement psDeleteMessage =... | public void removeReferences(long channelID, List references) throws Exception { if (trace) { log.trace(this + " Removing " + references.size() + " refs from channel " + channelID); } Connection conn = null; PreparedStatement psDeleteReference = null; PreparedStatement psDeleteMessage =... | 26,731 |
public void removeReferences(long channelID, List references) throws Exception { if (trace) { log.trace(this + " Removing " + references.size() + " refs from channel " + channelID); } Connection conn = null; PreparedStatement psDeleteReference = null; PreparedStatement psDeleteMessage =... | public void removeReferences(long channelID, List references) throws Exception { if (trace) { log.trace(this + " Removing " + references.size() + " refs from channel " + channelID); } Connection conn = null; PreparedStatement psDeleteReference = null; PreparedStatement psDeleteMessage =... | 26,732 |
public long reserveIDBlock(String counterName, int size) throws Exception { //TODO This will need locking (e.g. SELECT ... FOR UPDATE...) in the clustered case if (trace) { log.trace("Getting id block for counter: " + counterName + " ,size: " + size); } if (size <= 0) ... | public long reserveIDBlock(String counterName, int size) throws Exception { //TODO This will need locking (e.g. SELECT ... FOR UPDATE...) in the clustered case if (trace) { log.trace("Getting id block for counter: " + counterName + " ,size: " + size); } if (size <= 0) ... | 26,733 |
protected void resetMessageData() throws Exception { if (trace) { log.trace("Removing all non-persistent data"); } Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap = new TransactionWrapper(); try { conn = ds.getConnection(); ... | protected void resetMessageData() throws Exception { if (trace) { log.trace("Removing all non-persistent data"); } Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap = new TransactionWrapper(); try { conn = getConnection(); log.info("Remo... | 26,734 |
public List retrievePreparedTransactions() throws Exception { Connection conn = null; Statement st = null; ResultSet rs = null; TransactionWrapper wrap = new TransactionWrapper(); try { List transactions = new ArrayList(); conn = ds.getConnection(); ... | public List retrievePreparedTransactions() throws Exception { Connection conn = null; Statement st = null; ResultSet rs = null; TransactionWrapper wrap = new TransactionWrapper(); try { List transactions = new ArrayList(); conn = getConnection(); ... | 26,736 |
protected void storeMessage(Message m, PreparedStatement ps) throws Exception { /* Reference counting code commented out until 1.2 // get the reference count from the database // TODO Probably this can be done smarter than that incrementing directly in the database ps ... | protected void storeMessage(Message m, PreparedStatement ps) throws Exception { /* Reference counting code commented out until 1.2 // get the reference count from the database // TODO Probably this can be done smarter than that incrementing directly in the database ps ... | 26,738 |
public void updateReferencesNotLoaded(long channelID, List references) throws Exception { Connection conn = null; PreparedStatement psUpdateReference = null; TransactionWrapper wrap = new TransactionWrapper(); if (trace) { log.trace("Updating references to not loaded for ch... | public void updateReferencesNotLoaded(long channelID, List references) throws Exception { Connection conn = null; PreparedStatement psUpdateReference = null; TransactionWrapper wrap = new TransactionWrapper(); if (trace) { log.trace("Updating references to not loaded for ch... | 26,740 |
public void updateReliableReferencesLoadedInRange(long channelID, long orderStart, long orderEnd) throws Exception { if (trace) { log.trace("Updating reliable references for channel " + channelID + " between " + orderStart + " and " + orderEnd); } Connection conn = null; Prep... | public void updateReliableReferencesLoadedInRange(long channelID, long orderStart, long orderEnd) throws Exception { if (trace) { log.trace("Updating reliable references for channel " + channelID + " between " + orderStart + " and " + orderEnd); } Connection conn = null; Prep... | 26,741 |
void setBytes(int parameterIndex, byte[] x) throws SQLException; | void setBytes(int index, byte[] value) throws SQLException; | 26,742 |
public static void writeMap(ObjectOutput out, Map map, boolean stringKeys) throws IOException { if (map.isEmpty()) { out.writeByte(NULL); } else { out.writeByte(MAP); Set entrySet = map.entrySet(); out.writeInt(entrySet.size()); for (Iter... | public static void writeMap(ObjectOutput out, Map map, boolean stringKeys) throws IOException { if (map.isEmpty()) { out.writeByte(NULL); } else { out.writeByte(MAP); Set entrySet = map.entrySet(); out.writeInt(entrySet.size()); for (Iter... | 26,743 |
public static void writeMap(ObjectOutput out, Map map, boolean stringKeys) throws IOException { if (map.isEmpty()) { out.writeByte(NULL); } else { out.writeByte(MAP); Set entrySet = map.entrySet(); out.writeInt(entrySet.size()); for (Iter... | public static void writeMap(ObjectOutput out, Map map, boolean stringKeys) throws IOException { if (map.isEmpty()) { out.writeByte(NULL); } else { out.writeByte(MAP); Set entrySet = map.entrySet(); out.writeInt(entrySet.size()); for (Iter... | 26,744 |
void setBinaryStream(int parameterIndex, InputStream x, int length) throws SQLException; | void setBinaryStream(int index, InputStream stream, int count) throws SQLException; | 26,745 |
void setByte(int parameterIndex, byte x) throws SQLException; | void setByte(int index, byte value) throws SQLException; | 26,746 |
public void layoutContainer(Container parent) { awtContainer.doLayout(); final int cnt = parent.getComponentCount(); final Insets insets = containerPeer.getInsets(); final int dx = insets.left; final int dy = insets.top; for (int i = 0; i < cnt; i++) { final Component child = parent.getComponent(... | public void layoutContainer(Container parent) { awtContainer.doLayout(); final int cnt = parent.getComponentCount(); final Insets insets = containerPeer.getInsets(); final int dx = insets.left; final int dy = insets.top; for (int i = 0; i < cnt; i++) { final Component child = parent.getComponent(... | 26,748 |
public void actionPerformed(ActionEvent evt) { System.exit(0); } | public void actionPerformed(ActionEvent evt) { try { FileDialog fd = new FileDialog(root.frame,"Open a local file",FileDialog.LOAD); fd.show(); String file = fd.getDirectory() + fd.getFile(); root.panel.loadPage(file); } catch (Exception ex) { logger.info("error:" + ex); } } | 26,750 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.