コミットメタ情報

リビジョン2aa3ae84e2cb20a21dcb845bd6e8ac29b5667f24 (tree)
日時2012-02-20 20:01:43
作者taktos9 <taktos@gmai...>
コミッターtaktos9

ログメッセージ

ticket #27629 外部キーを名前順に生成させる

変更サマリ

差分

--- a/ea2ddl-dao/src/main/java/jp/sourceforge/ea2ddl/dao/exbhv/TOperationBhv.java
+++ b/ea2ddl-dao/src/main/java/jp/sourceforge/ea2ddl/dao/exbhv/TOperationBhv.java
@@ -15,7 +15,8 @@ import org.seasar.dbflute.cbean.ListResultBean;
1515 *
1616 * @author DBFlute(AutoGenerator)
1717 */
18-public class TOperationBhv extends jp.sourceforge.ea2ddl.dao.bsbhv.BsTOperationBhv {
18+public class TOperationBhv extends
19+ jp.sourceforge.ea2ddl.dao.bsbhv.BsTOperationBhv {
1920
2021 private TOperationparamsBhv _tOperationparamsBhv;
2122
@@ -23,13 +24,16 @@ public class TOperationBhv extends jp.sourceforge.ea2ddl.dao.bsbhv.BsTOperationB
2324 _tOperationparamsBhv = operationparamsBhv;
2425 }
2526
26- public ListResultBean<TOperation> selectOperation(TObject object, String stereotype) {
27+ public ListResultBean<TOperation> selectOperation(TObject object,
28+ String stereotype) {
2729 final TOperationCB cb = new TOperationCB();
2830 cb.query().setObjectId_Equal(object.getObjectId());
2931 cb.query().setStereotype_Equal(stereotype);
32+ cb.query().addOrderBy_Name_Asc();
3033 final ListResultBean<TOperation> opeList = selectList(cb);
3134 for (TOperation ope : opeList) {
32- ope.setTOperationparamsList(_tOperationparamsBhv.selectOperationParams(ope));
35+ ope.setTOperationparamsList(_tOperationparamsBhv
36+ .selectOperationParams(ope));
3337 }
3438 return opeList;
3539 }
--- a/ea2ddl-ddl/src/main/java/jp/sourceforge/ea2ddl/ddl/factory/impl/DatabaseModelFactoryImpl.java
+++ b/ea2ddl-ddl/src/main/java/jp/sourceforge/ea2ddl/ddl/factory/impl/DatabaseModelFactoryImpl.java
@@ -239,6 +239,7 @@ public class DatabaseModelFactoryImpl implements ModelFactory {
239239 final TOperationCB cb = new TOperationCB();
240240 cb.query().setObjectId_Equal(tobject.getObjectId());
241241 cb.query().setStereotype_Equal(Constants.STEREOTYPE_UNIQUE);
242+ cb.query().addOrderBy_Name_Asc();
242243 final ListResultBean<TOperation> uniqueList = _tOperationBhv
243244 .selectList(cb);
244245 for (TOperation unique : uniqueList) {
旧リポジトリブラウザで表示