How to start an Android activity when use clicks on Notification?

Nishtha Thakur
Published on 15-May-2019 14:57:33
This example demonstrate about How to start an Android activity when use clicks on NotificationStep 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a new project.Step 2 − Add the following code to res/layout/activity_main.xml.<? xml version ... Read More

Java Connection rollBack() method with example

Vikyath Ram
Published on 15-May-2019 14:57:23
A rollback operation undoes all the changes done by the current transaction i.e. If you call a rollBack() method of the Connection interface, all the modifications are reverted until the last commit.Con.rollback()You can also rollback the changes in the database up to a particular save point by passing the required Savepoint ... Read More

Java Connection setSavepoint() method with example

Vikyath Ram
Published on 15-May-2019 14:54:07
A save point is a logical rollback point within a transaction. When you set a save point, whenever an error occurs past a save point, you can undo the events you have done up to the save point using the rollback() method.You can set a save point in a database ... Read More

How to add button to notifications in android?

Smita Kapse
Published on 15-May-2019 14:50:17
This example demonstrate about How to add button to notifications in androidStep 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a new project.Step 2 − Add the following code to res/layout/activity_main.xml.<? xml version = "1.0" encoding= ... Read More

Java Connection getHoldability() method with example

Arushi
Published on 15-May-2019 12:49:31
ResultSet holdability determines whether the ResultSet objects (cursors) should be closed or held open when a transaction (that contains the said cursor/ResultSet object) is committed using the commit() method of the Connection interface.The getHoldability() method of the Connection interface is used to retrieves and returns the current holdability value of the ResultSet ... Read More

Java Connection setHoldability() method with example

Rishi Raj
Published on 15-May-2019 12:45:48
ResultSet holdability determines whether the ResultSet objects (cursors) should be closed or held open when a transaction (that contains the said cursor/ ResultSet object) is committed using the commit() method of the Connection interface.The setHoldability() method of the Connection interface is used to set the holdability of the ResultSet objects in this ... Read More

What is CLOSE_CURSORS_AT_COMMIT in JDBC?

Vikyath Ram
Published on 15-May-2019 12:35:04
CLOSE_CURSORS_AT_COMMIT is the constant value of the ResultSet interface representing the holdability value. If the ResultSet holdability is set to this value whenever you commit/save a transaction using the commit() method of the Connection interface, the ResultSet objects created in the current transaction (that are already opened) will be closed.Let ... Read More

What is ResultSet holdability in JDBC?

Arushi
Published on 15-May-2019 12:31:20
ResultSet holdability determines whether the ResultSet objects (cursors) should be closed or held open when a transaction (that contains the said cursor/ ResultSet object) is committed using the commit() method of the Connection interface.You can set the ResultSet holdability using the setHoldability() method of the Connection interface.con.setHoldability(ResultSet.CLOSE_CURSORS_AT_COMMIT);The ResultSet interface provides ... Read More

Binary Countdown Protocol

Moumita
Published on 15-May-2019 12:13:58
Binary Countdown Protocol is a collision-free protocol that operates in the Medium Access Control (MAC) layer of the OSI model. In computer networks, when more than one station tries to transmit simultaneously via a shared channel, the transmitted data is garbled, an event called collision. Collision-free protocols resolves channel access ... Read More

Resilient Packet Ring (RPR) - IEEE 802.17

Moumita
Published on 15-May-2019 12:11:11
Resilient Packet Ring (RPR), standardized as IEEE 802.17, is a protocol standard for data transmission over fiber optic ring networks, that operates in the Media Access Control (MAC) layer of the Open Systems Interconnection (OSI) model. It provides a packet based transmission facility, with the aim of improving efficiency of ... Read More
Advertisements