Blog: mkyong (Yong Mook Kim)


357 blogs updated: 41 min. ago
Java Events 2019
Some Java Conferences and Events 2019. 1. JAX London (October 7-10, 2019) JAX London is a four-day conference for cutting edge software engi...
6
15-06-2019 23:07:20 mkyong (Yong Mook Kim) Beginners
Java 8 - Convert LocalDateTime to Timestamp
In Java, we can use Timestamp.valueOf(LocalDa teTime) to convert a LocalDateTime into a Timestamp. 1. LocalDateTime Timestamp Java example t...
4
15-06-2019 15:22:59 mkyong (Yong Mook Kim) Beginners
Java 8 Stream - The peek() is not working with count()?
Many examples are using the .count() as the terminal operation for .peek(), for example: Java 8 List l = Arrays.asList("A", "B", "C", "D"); ...
7
15-06-2019 07:37:16 mkyong (Yong Mook Kim) Beginners
How to Uninstall Oracle Database 19c on Windows
To uninstall Oracle database on Windows, we have to delete the all the related Ora* registry keys, files and folders manually. P.S Tested wi...
4
13-06-2019 16:48:06 mkyong (Yong Mook Kim) Beginners
ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
This is caused by the requested SID doesn't exist in {ORACLE_HOME}/network/adm in/tnsnames.ora P.S Tested with Oracle database 19c with ojdb...
3
13-06-2019 09:01:09 mkyong (Yong Mook Kim) Beginners
JDBC CallableStatement - PostgreSQL Stored Function
A JDBC CallableStatement example to show you how to call a stored function from PostgreSQL database. P.S Tested with PostgreSQL 11 and Java ...
4
11-06-2019 08:15:16 mkyong (Yong Mook Kim) Beginners
JDBC Class.forName() is no longer required
Since Java 1.6, JDBC 4.0 API, it provides a new feature to discover java.sql.Driver automatically, it means the Class.forName is no longer r...
6
01-06-2019 08:21:16 mkyong (Yong Mook Kim) Beginners
JDBC - How to print all table names from a database?
A JDBC example to connect to a PostgreSQL, and print out all the tables from the default database postgres pom.xml org.postgresql postgresql...
9
18-05-2019 07:25:03 mkyong (Yong Mook Kim) Beginners
Java - How to change date format in a String
If Java 8, DateTimeFormatter, else SimpleDateFormat to change the date format in a String. 1. DateTimeFormatter (Java 8) Convert the String ...
3
14-05-2019 07:54:41 mkyong (Yong Mook Kim) Beginners
Java 8 - Should we close the Stream after use?
Only Streams whose source are an IO channel like Files.lines(Path, Charset) need to be closed. Read this Stream JavaDocs Streams have a Base...
7
12-05-2019 16:44:08 mkyong (Yong Mook Kim) Beginners


© Jiri Pinkas | this project on GitHub | related: JavaVids | Maven Central Repository Search | Java školení | Top SQL Blogs | monitored using: sitemonitoring

Top Java Blogs is a Java blog aggregator (with English-written blogs only) focused on Java SE, Java EE, Spring Framework and Hibernate.