Tec Bar

Main menu

Skip to primary content
Skip to secondary content
  • Home
  • Java
  • JDBC
  • Hibernate
  • Algorithms
  • Design Patterns
  • Linux
  • Database
  • Others
  • Terms of Service
  • About
  1. Pages:
  2. «
  3. 1
  4. 2
  5. 3
  6. 4
  7. 5
  8. 6
  9. 7
  10. 8
  11. 9
  12. 10
  13. 11
  14. 12
  15. 13
  16. »

Add Two Numbers – LeetCode

Posted on February 27, 2015 by James
Reply

Problem
You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single digit. Add the two numbers and return it as a linked list. Continue reading →

Posted in Algorithms | Leave a reply

Create and Start a Thread in Java

Posted on February 26, 2015 by James
Reply

Threads are lightweight sub-processes which share the same address space and data, and can execute different tasks concurrently. Compared to processes, context switching between threads is less expensive. In Java environment, a Java thread is an instance of Thread class or its subclasses. Continue reading →

Posted in Java | Leave a reply

Two Sum – LeetCode

Posted on February 26, 2015 by James
Reply

Problem
Given an array of integers, find two numbers such that they add up to a specific target number.

The function twoSum should return indices of the two numbers such that they add up to the target, where index1 must be less than index2. Please note that your returned answers (both index1 and index2) are not zero-based. Continue reading →

Posted in Algorithms | Leave a reply

Hibernate Session

Posted on February 24, 2015 by James
Reply

The main function of a Hibernate session is to open a database connection, and offer read and update operations for instances. Each instance object associated with the session will keep alive until the session is closed or the object is deleted. Continue reading →

Posted in Hibernate, Java | Tagged Hibernate, Java | Leave a reply

JDBC CallableStatement

Posted on February 23, 2015 by James
1

A CallableStatement is used to call stored procedures in a database. The post (“JDBC Batch Update”) will give a simple example, and show how to use JDBC CallableStatement to call stored procedures. Continue reading →

Posted in Java, JDBC | Tagged Java, JDBC | 1 Reply

JDBC Batch Update

Posted on February 21, 2015 by James
1

The post (“JDBC Batch Update”) will give an example, and show how to use JDBC batch update. Continue reading →

Posted in Java, JDBC | Tagged Java, JDBC | 1 Reply

JDBC Delete Record Using PreparedStatement

Posted on February 21, 2015 by James
7

The post (“JDBC Delete Record Using PreparedStatement”) will give an example, and show how to delete a record using PreparedStatement. Continue reading →

Posted in Java, JDBC | Tagged Java, JDBC | 7 Replies

JDBC Delete Record Using Statement

Posted on February 21, 2015 by James
1

The post (“JDBC Delete Record Using Statement”) will give an example, and show how to delete a record using Statement. Continue reading →

Posted in Java, JDBC | Tagged Java, JDBC | 1 Reply

JDBC Update Record Using PreparedStatement

Posted on February 20, 2015 by James
1

The post (“JDBC Update Record Using PreparedStatement”) will give an example, and show how to update records using JDBC PreparedStatement. Continue reading →

Posted in Java, JDBC | Tagged Java, JDBC | 1 Reply

JDBC Update Records Using Statement

Posted on February 20, 2015 by James
1

The post (“JDBC Update Records”) will give an example, and show how to update records. Continue reading →

Posted in Java, JDBC | Tagged Java, JDBC | 1 Reply
  1. Pages:
  2. «
  3. 1
  4. 2
  5. 3
  6. 4
  7. 5
  8. 6
  9. 7
  10. 8
  11. 9
  12. 10
  13. 11
  14. 12
  15. 13
  16. »

Categories

  • Algorithms (29)
  • Database (3)
  • Design Patterns (12)
  • Hibernate (8)
  • Java (40)
  • JDBC (15)
  • Linux (17)
  • Others (18)

Recent Posts

  • UML Class Diagram and Relationships
  • Java Date Format Pattern
  • Gmail SMTP debug: error “please log in via your web browser”
  • Install Sendmail Server on CentOS
  • Difference between @Component, @Repository & @Service annotations in Spring

Recent Comments

  • Nagesh on Java HTTP client crashes on HTTPS connections
  • Uli on Java HTTP client crashes on HTTPS connections
  • Guest on How to check if a radio button is checked using JQuery
  • Burns on RAID 1 Repair on Linux
  • prateek on Java HTTP client crashes on HTTPS connections

© 2025 tecbar.net