I am working on Windows XP and xp does support creation of folders starting with numbers. Moreover when i try to create the workspace through my code the folder is created but when the persistent manager tries to create the database table corresponding to it an exception is thrown on the server. The error code returned by DB2 corresponds to "Invalid numeric literal" (i am using DB2 as the back-end). I think this is the problem of DDL used by the persistent manager but i am not at all sure.
On Thu, Dec 31, 2009 at 9:03 PM, Alexander Klimetschek <[email protected]>wrote: > On Thu, Dec 31, 2009 at 11:46, Robin Batra <[email protected]> wrote: > > I was trying to create a new workspace from my code. When the workspace > name > > starts with an alphabet everything works fine but if the workspace name > > starts with a digit (say 2,3 etc) i get a NoSuchWorkspaceException. Any > > comments are welcome.... > > What does the rest of the stacktrace say? I guess your operating > system doesn't support file/folder names starting with numbers, and > since there will be a folder named after the workspace under > "workspaces/" in your repository home directory (in the default > configuration), this won't work. > > Regards, > Alex > > -- > Alexander Klimetschek > [email protected] > -- Regards Robin Batra
