Hi folks. Next installment of the same issue:
Recap: My repository was in Sybase, my data was in MSSQLServer. When exporting my solution and then trying to import it back, on another computer, Servoy rejected the import because the MSSQL database (the data) contained column/table names that were not allowable in Sybase.
[ I had recently converted the data to MSSQL from Sybase, and had no complaints at that point while working on the solution while it was still in Sybase, but apparently the import is fussier.]
So, I am attempting to convert the Repository to MSSQL, on the premise that an MSSQL repository won’t complain about the column/table names in the backend database, with tables/columns that were created in MSSQL to start with.
So, I exported my solution. I created a new empty database with Enterprise Manager, made and successfully tested a new connection to that would-be repository.
I highlighted the existing Sybase repository connection and removed it.
I created a new connection with the same name as the original repository, but changed the URL to use the MSSQL driver and point to the new empty MSSQL repository file, all of which were accepted.
I relaunched Servoy, and had an empty Repository. I clicked “Import” and pointed to my exported (Sybase) solution, used “import solution as” so I could name it, it ground away for about half a minute and then said it could not import the solution. Details: “com.servoy.j2db.persistence.RepositoryException: com.servoy.j2db.persistence.RepositoryException: Reserved words used as table or column names: columns: primary level filter comment filter level filter level comment comment date comment level table select from number primary position password comment date filter comment level get object comment filter active position value date;”
So I need to know what I’m doing wrong. I’m making the huge assumption that by removing the original repository, and making a new one of the same name, with a URL that points to an empty MSSQL file, that it is that name that identifies the Repository database to Servoy (because I can’t find anything else that tells Servoy what to use as the Repository when it launches) … in servoy.properties, this server looks like any other server …
Is there a feature I’m missing somewhere that tells Servoy which database is the Repository, or does it somehow latch onto the name first used when Servoy is first setup? I did scour the documentation looking for this principle, with no luck. If there is a document that describes moving backend and/or repository from one database platform to another, please point me at it and I’ll do my homework!
If I’ve done this right (using the same name as the previous repository), why might an MSSQL repository not like the column/table names that were originally built in MSSQL?
Thanks,
Anne