OrientDB - class 名称中的数字

OrientDB - numbers in the class names

当我试图创建一个 class 时,它的名称包含一个数字(例如,3D 打印机),OrientDB 拒绝并回答(在 Studio 中):

Error parsing query: CREATE CLASS 3D-Printers ^ Encountered "
FLOATING_POINT_LITERAL "3D "" at line 1, column 14. Was expecting one of: TO ... VALUE ...

..等等

当尝试使用 createVertexType 从 Java 应用执行相同操作时,出现此异常:

com.orientechnologies.orient.enterprise.channel.binary.OResponseProcessingException: Exception during response processing ......

Caused by: java.lang.NumberFormatException: For input string: "3D-Printers"

at java.lang.NumberFormatException.forInputString(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source) at java.lang.Integer.parseInt(Unknown Source)

只是想知道 - 是否可以以某种方式在 classes 名称中使用数字?如果不是——OrientDB 中的 class 命名约定是什么?据我所知,符号。 , / ' 被限制;但是数字?

使用社区版 2.2.4

OrientDB 对 class 名称使用 Java 约定,因此您可以使用数字,但不能作为第一个字符。