- 
    
        
        Java 8 Stream The peek() is not working with count()?Many examples are using the .count() as the terminal operation for .peek(), for example: Date: 2019-08-11 View: 1966 
- 
    
        
        Java 8 Convert ZonedDateTime to TimestampJava example to convert java.time.ZonedDateTime to java.sql.Timestamp and vice verse. Date: 2019-08-11 View: 2425 
- 
    
        
        java.sql.SQLException: operation not allowed: Ordinal binding and Named binding cannot be combined!Ordinal binding or index binding: Date: 2019-08-11 View: 3177 
- 
    
        
              Java Prime Numbers examplesThe following Java examples will print a list of all the prime numbers up to 1,000: Date: 2019-08-11 View: 1797 
- 
    
        
              Java 8 Parallel Streams ExamplesFew Java 8 examples to execute streams in parallel. Date: 2019-08-11 View: 1567 
- 
    
        
        Java Convert Integer to LongIn Java, we can use Long.valueOf() to convert an Integer to a Long Date: 2019-08-11 View: 1665 
- 
    
        
        java.sql.SQLException: The server time zone value xx time is unrecognizedMaking a JDBC connection to the MySQL server with the latest mysql-connector-java:8.0.16 and hits the following SQLException: Date: 2019-08-11 View: 1907 
- 
    
        
        How to loop an enum in JavaCall the .values() method of the enum class to return an array, and loop it with the for loop: Date: 2019-08-11 View: 1617 
- 
    
        
        Java 8 Stream Convert List<List<String>> to List<String>As title, we can use flatMap to convert it. Date: 2019-08-11 View: 3445 
- 
    
        
        Java Regular Expression ExamplesJava 8 stream and regular expression examples. Date: 2019-08-11 View: 1478 
- 
    
        
              Spring Boot JDBC ExamplesIn this tutorial, we will show you how to use Spring Boot JDBC JdbcTemplate and NamedParameterJdbcTemplate. Date: 2019-08-11 View: 1577 
- 
    
        
              Spring Boot JDBC Stored Procedure ExamplesIn this tutorial, we will show you how to use Spring Boot JDBC SimpleJdbcCall to call a stored procedure and stored function from a Oracle database. Date: 2019-08-11 View: 3025 
- 
    
        
        Java How to read last few lines of a FileIn Java, we can use the Apache Commons IO ReversedLinesFileReader to read the last few lines of a File. Date: 2019-08-11 View: 1698 
- 
    
        
        Java How to lock a file before writingIn Java, we can combine RandomAccessFile and FileChannel to lock a file before writing. Date: 2019-08-11 View: 1554 
- 
    
        
        java.lang.ClassCastException: class java.lang.Integer cannot be cast to class java.lang.LongBelow example, the jdbcTemplate.queryForList returns an object of Integer and we try to convert it into a Long directly: Date: 2019-08-11 View: 2228 


