Skip to content

Instantly share code, notes, and snippets.

rararamorio rararamorio

Block or report user

Report or block rararamorio

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@rararamorio
rararamorio / test_mapper.xml
Created Apr 1, 2018
autoMapping を 有効にした場合のデータの取得方法
View test_mapper.xml
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="person">
<resultMap id="personMap" autoMapping="true" type="jp.sample.mybatis.entity.Person">
<id property="personId" column="person_id" />
<collection property="books" columnPrefix="b_" resultMap="BookMap" />
</resultMap>
<resultMap id="BookMap" autoMapping="true" type="jp.sample.mybatis.entity.Book">
@rararamorio
rararamorio / test_mapper.xml
Last active Mar 31, 2018
categoryが取得できない
View test_mapper.xml
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="person">
<resultMap id="personMap" type="jp.sample.mybatis.entity.Person">
<id property="personId" column="person_id" />
<result property="personId" column="person_id" />
<result property="name" column="name" />
@rararamorio
rararamorio / test_mapper.xml
Last active Mar 31, 2018
categoryが取得できる
View test_mapper.xml
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="person">
<resultMap id="personMap" type="jp.sample.mybatis.entity.Person">
<id property="personId" column="person_id" />
<result property="personId" column="person_id" />
<result property="name" column="name" />
<collection property="books" columnPrefix="b_" resultMap="BookMap" />
@rararamorio
rararamorio / gist:b3c38a1278d2ade783961b0f45522c9b
Created Jul 3, 2017
x軸をdatetimeで表示するためのテスト
View gist:b3c38a1278d2ade783961b0f45522c9b
<html>
<head>
<script src="https://code.highcharts.com/highcharts.src.js"></script>
<script
src="https://code.jquery.com/jquery-1.12.4.js"
integrity="sha256-Qw82+bXyGq6MydymqBxNPYTaUXXq7c8v3CwiYwLLNXU="
crossorigin="anonymous"></script>
<style>
#container {
View gist:7f9dcf20fa9a22a70ddc7bb4e649546d
<html>
<head>
<script src="https://code.highcharts.com/highcharts.src.js"></script>
<script
src="https://code.jquery.com/jquery-1.12.4.js"
integrity="sha256-Qw82+bXyGq6MydymqBxNPYTaUXXq7c8v3CwiYwLLNXU="
crossorigin="anonymous"></script>
<style>
#container {
min-width: 310px;
You can’t perform that action at this time.