Class QueryUtils
java.lang.Object
org.n52.sensorweb.server.db.old.dao.QueryUtils
Small helpers shared by the JPA criteria / Specification query code.
-
Method Summary
Modifier and TypeMethodDescriptionstatic Longparsed the given string to the raw database id.parseToIds(Collection<String> ids)
-
Method Details
-
parseToIds
-
parseToId
parsed the given string to the raw database id. strips prefixes ending with a "_", e.g.platform_track_8will return8.- Parameters:
id- the id string to parse.- Returns:
- the long value of given string or
Long.MIN_VALUEif string could not be parsed to type long.
-