AdSense

網頁

2018/10/29

在Windows 7 64Bit 安裝Oracle 12c資料庫

本篇紀錄如何在Windows 7 64Bit安裝Oracle Database 12c Release 2 - (12.2.0.1.0) - Standard Edition 2 and Enterprise Edition。

2018/10/26

Java 8 使用Stream.collect依條件蒐集物件

在Java中常會有從一個集合(例如List)中依條件篩選元素,並將符合條件的元素放入另一個集合的操作,本篇介紹如何使用Java 8的Stream.filter()搭配Stream.collect()來達成。

Java 8 Stream聚合操作(aggregate operations)的forEach()與迭代(iterations)的區別

Java 8對於集合(collections)的操作,新增了使用流(Stream)來進行操作。以Stream操作collection的方式稱為聚合操作(aggregate operations)。而其forEach方法與傳統的迭代(iteration)雖然都是用來走訪集合中的每一個元素,但差別如下:

2018/10/23

Oracle SQL Tuning

本篇參考來源Introduction to SQL Tuning

SQL Tuning(SQL效能調校)用來診斷並修正SQL語句(SQL statement)來達到校能要求。

2018/10/14

Spring Boot 啟動後馬上被中止的原因

如果在啟動Spring Boot專案時發現啟動後立刻自動被結束的原因如下。

Java Eclipse The import [class name] conflicts with a type defined in the same file

當你在某個類別要匯入外部的類別檔時,出現以下錯誤指示:

The import [class name] conflicts with a type defined in the same file

2018/10/13

什麼是Maven Coordinates

Maven Coordinates用來指名一個特定Maven專案的位置資訊,其作用類似地址。

2018/10/6

Java 8 用Optional來檢查null 範例二

練習使用Optional來避免NullPointerException

2018/10/2

Oracle PL/SQL 在Package建立一個查詢Procedure,條件為另一查詢的結果

本範例主要是紀錄如何在Procedure中使用變數暫存查詢的結果,並以該變數做為另一查詢的條件。

AdSense