git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@825324 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
27ba71e223
commit
23719c8f1c
4 changed files with 1 additions and 1 deletions
|
|
@ -96,7 +96,7 @@ public class HelloworldServiceImpl implements HelloworldService {
|
||||||
private Long countInStore() {
|
private Long countInStore() {
|
||||||
Transaction tx = datastoreService.beginTransaction();
|
Transaction tx = datastoreService.beginTransaction();
|
||||||
Entity entity = null;
|
Entity entity = null;
|
||||||
Key key = KeyFactory.createKey("HitCounter", "countter");
|
Key key = KeyFactory.createKey("HitCounter", "counter");
|
||||||
try {
|
try {
|
||||||
entity = datastoreService.get(tx, key);
|
entity = datastoreService.get(tx, key);
|
||||||
} catch (EntityNotFoundException e1) {
|
} catch (EntityNotFoundException e1) {
|
||||||
|
|
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue