相鐵FRESA INN (相鉄フレッサイン) 近幾年在日本展點十分的快速 ( 其實不止這家,感覺很多飯店都在為日本的2020奧運做準備 不是翻修就是全力擴點),
京都駅八条口的這家飯店是在 2017年4月 開幕,從京都車站八条口徒步約五分鐘。雖然住在前站會比較方便,但如果有價格考量的話,這家CP值很高,推薦給有金錢考量又希望住的離車站近的人。

PS. 飯店全面禁菸。

旁邊是LAWSON超商,附近也有24小時餐廳 なか卯  和 唐吉訶德(ドン・キホーテ) ,生活機能方便。

相鐵FRESA INN 京都站八條口 相鉄フレッサイン 京都駅八条口

 

飯店裝潢走簡約和風。大廳放有旅遊雜誌可以翻閱。

文章標籤

咪卡恰比 發表在 痞客邦 留言(0) 人氣()

測試裝置:Google Pixel 3
測速APP:Speedtest
測試地點:大阪中心、奈良郊區
使用習慣:GOOGLE MAP、網站搜尋瀏覽、PTT、instagram、GOOGLE雲端硬碟、YOUTUBE邊看影片邊找遊玩的地點

image

在日本使用網路的選擇大致如下,我把我認為的優缺點列出來:

  費用 優點 缺點
WIFI機

吃到飽推薦

文章標籤

咪卡恰比 發表在 痞客邦 留言(0) 人氣()

 

AGODA的訂房取消規則基本上訂房分為「條件退訂」、「不可退訂」(如下圖黃框部分)。不可退訂一般都是會比可退訂的便宜很多,所以我常常在出遊日期快到且確定的情況下,改定不可退訂的方案。
 
「條件退訂」:只要在期限許可下,想要和子龍一樣七進七出 七定七取消都沒問題(如果已刷卡的取消信用卡手續費可能會被銀行扣除不還,相關資料請詢問銀行)。
 
「不可退訂」:請多看幾眼此規範
 
文章標籤

咪卡恰比 發表在 痞客邦 留言(1) 人氣()

spring boot cache 結合 redis 快取機制設定
使用spring boot版本:2.1.6

  1. pom.xml
<dependency>
  <groupId>org.springframework.boot</groupId>
  <artifactId>spring-boot-starter-actuator</artifactId>
</dependency>

<dependency>
  <groupId>org.springframework.boot</groupId>
  <artifactId>spring-boot-starter-mail</artifactId>
</dependency>

 

  1. application.yml
    增加快取管理設定
    reference:
    Redis Sentinel Support https://docs.spring.io/spring-data/data-redis/docs/current/reference/html/#redis:sentinel
spring:
  cache:
    type: REDIS
  redis:
    jedis:
      pool:
        max-idle: 8
        min-idle: 0
        max-active: 8
        max-wait: -1
    sentinel:
      master: mymaster
      nodes: 127.0.0.1:26379

 

文章標籤

咪卡恰比 發表在 痞客邦 留言(0) 人氣()

比對相同資料寫法

有一筆pojo資料,要查出與他相同的其他資料

 POJO 

@Entity
@Table(name = "RECEIVER")
public class ReceiverDTO implements Serializable {

  private static final long serialVersionUID = -5368343800218280407L;

  @Id
  private String id;

  @Column
  private String name;

  @Column
  private String email;

  @Column
  private String mobile;

  @Column
  private String phone;

 @Temporal(TemporalType.TIMESTAMP)
 @Column
 private Date updateTime;

  public MemReceiverDTO() {
    super();
  }

  public String getId() {
    return id;
  }

  public void setId(String id) {
    this.id = id;
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
      this.name = name;
  }

  public String getEmail() {
    return email;
  }

  public void setEmail(String email) {
    this.email = email;
  }

  public String getMobile() {
    return mobile;
  }

  public void setMobile(String mobile) {
    this.mobile = mobile;
  }

  public String getPhone() {
    return phone;
  }

  public void setPhone(String phone) {
    this.phone = phone;
  }

  public Date getUpdateTime() {
    return updateTime;
  }

  public void setUpdateTime(Date updateTime) {
    this.updateTime = updateTime;
  }

}

 

 hibernate 

  public List<ReceiverDTO> findSameData(ReceiverDTO DTO) {
    //搜尋資料以Map包裝
    Map map = new HashMap();
    map.put("name",DTO.getName());
    map.put("mobile",DTO.getMobile());
    map.put("email",DTO.getEmail());

    Criteria criteria = this.getSession().createCriteria(ReceiverDTO.class);
    criteria.add(Restrictions.allEq(map));  //下條件
    criteria.addOrder(Order.desc("updateTime"));

    return criteria.list();
  }

 

 Spring Data JPA 

文章標籤

咪卡恰比 發表在 痞客邦 留言(0) 人氣()

springdata jpa使用Example快速实现动态查询
https://blog.csdn.net/long476964/article/details/79677526

Spring Data JPA ——默认方法使用
https://segmentfault.com/a/1190000011067941


文章標籤

咪卡恰比 發表在 痞客邦 留言(0) 人氣()

滿滿三日的行程分享,此為實際旅行的時間:
人數:2人:耐走、愛拍照會定點停留、買東西花比較多時間、不走急急忙忙路線
旅行主要目的:環球影城為主,其他為輔。想去奈良住一晚。

以下供行程參考
(相關的分享文再慢慢補上)

第 1 天  2017/09/01 ( 週五 )
flight_takeoff TAIPEI ~ OSAKA   停留時間: 05:00 ~ 08:40
directions_bus 關西機場交通株式會社 ( 関西空港 ~ 近鐵奈良車站 ) 在機場櫃檯直接買票 停留時間: 09:40 ~ 11:10
location_city 天然温泉 吉野桜の湯 御宿 野乃 奈良 寄放行李  
文章標籤

咪卡恰比 發表在 痞客邦 留言(0) 人氣()