Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2012-03-19 06:36:41 -0400
committerEike Stepper2012-03-19 06:36:41 -0400
commitb3a680df10ef6dae765bd392cbb4400bb2da958e (patch)
tree7f74c68008e9a1ce314bacb564a6dc5cafa3c246
parentfbefbede8d97fa2186820629d450f545468accc0 (diff)
downloadcdo-b3a680df10ef6dae765bd392cbb4400bb2da958e.tar.gz
cdo-b3a680df10ef6dae765bd392cbb4400bb2da958e.tar.xz
cdo-b3a680df10ef6dae765bd392cbb4400bb2da958e.zip
[374536] NumberFormatException when converting String to CDO LOB
https://bugs.eclipse.org/bugs/show_bug.cgi?id=374536
-rw-r--r--plugins/org.eclipse.emf.cdo.server.hibernate/src/org/eclipse/emf/cdo/server/internal/hibernate/tuplizer/CDOLobUserType.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/org.eclipse.emf.cdo.server.hibernate/src/org/eclipse/emf/cdo/server/internal/hibernate/tuplizer/CDOLobUserType.java b/plugins/org.eclipse.emf.cdo.server.hibernate/src/org/eclipse/emf/cdo/server/internal/hibernate/tuplizer/CDOLobUserType.java
index 678ea3803f..aa616da2a4 100644
--- a/plugins/org.eclipse.emf.cdo.server.hibernate/src/org/eclipse/emf/cdo/server/internal/hibernate/tuplizer/CDOLobUserType.java
+++ b/plugins/org.eclipse.emf.cdo.server.hibernate/src/org/eclipse/emf/cdo/server/internal/hibernate/tuplizer/CDOLobUserType.java
@@ -132,7 +132,7 @@ public abstract class CDOLobUserType implements UserType, ParameterizedType
int pos = lobId.indexOf(SEPARATOR);
byte[] id = HexUtil.hexToBytes(lobId.substring(0, pos));
- long size = Long.parseLong(lobId.substring(pos + 1));
+ long size = Long.parseLong(lobId.substring(pos + SEPARATOR.length()));
return createLob(id, size);
}

Back to the top