回答編集履歴
1
JOINについて追記
answer
CHANGED
@@ -1,13 +1,21 @@
|
|
1
1
|
こんなところかしら?
|
2
2
|
|
3
|
-
|
3
|
+
# できればSQLのチューニングを行いたい。
|
4
|
-
mybatis : http://www.mybatis.org/mybatis-3/dynamic-sql.html
|
5
|
-
hibernate : https://docs.jboss.org/hibernate/entitymanager/3.5/reference/en/html/querycriteria.html
|
6
4
|
|
7
|
-
・エンティティなどはDBから自動生成したい。
|
8
|
-
|
5
|
+
* mybatis : [dynamic-sql](http://www.mybatis.org/mybatis-3/dynamic-sql.html)
|
9
|
-
|
6
|
+
* hibernate : [querycriteria](https://docs.jboss.org/hibernate/entitymanager/3.5/reference/en/html/querycriteria.html)
|
10
7
|
|
8
|
+
# エンティティなどはDBから自動生成したい。
|
9
|
+
|
10
|
+
* mybatis : [mybatis-generator](http://www.mybatis.org/generator/)
|
11
|
+
* hibernate : [hibernate-tools](http://hibernate.org/tools/)
|
12
|
+
|
11
13
|
・遅延読み込みは性能面から使いたくはない。
|
14
|
+
|
12
|
-
|
15
|
+
* mybatis : fetchType="eager"
|
13
|
-
|
16
|
+
* hibernate : lazy="false"
|
17
|
+
|
18
|
+
# JOIN
|
19
|
+
|
20
|
+
* mybatis : [association](http://www.mybatis.org/mybatis-3/ja/sqlmap-xml.html)
|
21
|
+
* hibernate : [***-to-***](https://docs.jboss.org/hibernate/orm/3.6/reference/ja-JP/html/collections.html)
|