投稿

息子の口から水呑み百姓発言がでるとは…

IT企業を名乗る会社において商品が属人的技術力しかない会社は小作農に似ている。 よわいように見えて堅い商売 開墾の手続きは消費者であるお客様から直接お金を取れる地主に任せて、実行のノウハウと作業時間を提供する。 作物の完成までは付き合うがそれが市場で売れるかまでは責任は持たない。 ただ開いた畑や取れた作物から予想以上の売上げでても地主さんの物だから消費者向けの品質へのこだわりとか嗜好には一切興味ないんだろうなあ。 さくせん「いのちをだいじに」の経営なら仕方ないことだけど 父さんの勤めている会社は小作農みたいだ、って息子に話したらそれって水呑み百姓じゃんって言われた。 経営とか管理を属人しないのは難しいかもしれないが、製品を非属人化はやっときたいなあ 堅くても利益率上がらんぞ

Google Appengine for Java: Transactionを開始するには DatastoreService.beginTransaction() をつかう。

DatastoreService dss = DatastoreServiceFactory.getDatastoreService(); Transaction txn = dss.beginTransaction(); /// .... txn.commit();

Google Appengine for Java: tracsactionは1つのエンティティグループ内のみ。

Problem accessing /blobstore.jsp. Reason: can't operate on multiple entity groups in a single transaction. found both Element { type: "txnHead" id: 0x130a7388166 } and Element { type: "txnBody" id: 0x130a7388166 } Caused by: java.lang.IllegalArgumentException: can't operate on multiple entity groups in a single transaction. found both Element { type: "txnHead" id: 0x130a7388166 } and Element { type: "txnBody" id: 0x130a7388166 }

Google Appengine for Java: Keyを作るには KeyFactory をつかう。

イメージ
KeyFactory Key hogehogekey = KeyFactory.createKey(↓の形で引数指定); して使う。 Method Summary 戻り値の型 メソッド名と引数指定 static  Key createKey ( Key  parent, java.lang.String kind, long id)           Creates a new Key with the provided parent from its kind and ID. static  Key createKey ( Key  parent, java.lang.String kind, java.lang.String name)           Creates a new Key with the provided parent from its kind and name. static  Key createKey (java.lang.String kind, long id)           Creates a new Key having no parent from its kind and ID. static  Key createKey (java.lang.String kind, java.lang.String name)           Creates a new Key having no parent from its kind and name.

google appengine for javaのjavadoc

javadoc - Google App Engine for Java 日本語情報は古いというか足りないのがおおい。 Entityクラスのコンストラクタ概要を比べても。。。 http://code.google.com/intl/ja/appengine/docs/java/javadoc/com/google/appengine/api/datastore/Entity.html Entity(java.lang.String kind) 指定された種類で、親 Entity を持たない Entity を新しく作成します。 Entity(java.lang.String kind, Key parent) 指定された種類で、親 Entity を持つ Entity を新しく作成します。 Entity(java.lang.String kind, java.lang.String keyName) 指定された種類とキー名で、親 Entity を持たない Entity を新しく作成します。 Entity(java.lang.String kind, java.lang.String keyName, Key parent) 指定された種類とキー名で、親 Entity を持つ Entity を新しく作成します。 http://code.google.com/intl/en/appengine/docs/java/javadoc/com/google/appengine/api/datastore/Entity.html Entity(Key key) Create a new Entity uniquely identified by the provided Key. Entity(java.lang.String kind) Create a new Entity with the specified kind and no parent Entity. Entity(java.lang.String kind, Key parent) Create a new Entity with the specified kind and parent Entity. Entity(java.lang.String kind, long id) Create a new En...

だいたいいつもんこんだけimport

import com.google.appengine.api.datastore.DatastoreService; import com.google.appengine.api.datastore.DatastoreServiceFactory; import com.google.appengine.api.datastore.Entity; import com.google.appengine.api.datastore.KeyFactory; import com.google.appengine.api.datastore.Key; import com.google.appengine.api.datastore.Query; import com.google.appengine.api.datastore.Transaction; めんどくさいのでimport com.google.appengine.api.datastore.*にするか

ちょスクエニとNHKなにやってんだ

イメージ
ギャルゲ?なのか