There is a limitation on abstract-schema-name length considering finder methods.
If you declare a schema name longer than 16 characters and then try to declare a finder on that schema(e.g. SELECT OBJECT(c) FROM thisIsMyLongNamedTable c WHERE c.lastName = ?1) you will get an ejbql parse error saying that there is no terminal field lastName even if there is.!!!