Changeset 4cdd57b91b4f44f370c3ea87ab7eed5e21dab5d0
- Timestamp:
- 08/25/07 17:59:28
(1 year ago)
- Author:
- Christopher Jung <bktheg@web.de>
- git-committer:
- Christopher Jung <bktheg@web.de> 1188057568 +0200
- git-parent:
[927e509977b31a0c9225026899ea5b5b495a1b54]
- git-author:
- Christopher Jung <bktheg@web.de> 1188057568 +0200
- Message:
Query gefixt
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r4f02618 |
r4cdd57b |
|
| 262 | 262 | |
|---|
| 263 | 263 | if( fleet != null ) { |
|---|
| 264 | | int fleetcount = (Integer)db.createQuery("select count(*) from Ship where id>0 and fleet=?") |
|---|
| | 264 | long fleetcount = (Long)db.createQuery("select count(*) from Ship where id>0 and fleet=?") |
|---|
| 265 | 265 | .setEntity(0, fleet) |
|---|
| 266 | 266 | .iterate().next(); |
|---|