I went back to my V2 solution and turned off “login required” and tried again.
I exported with users
Back in V3, I imported. I can get into my solution due to turning off the login requirement. No users were created, even though Servoy asked me if it was OK, and I said “Yes”.
Now when I try to create a new user in my imported app. I get this error:
ORA-01400: cannot insert NULL into (“SERVOY_APP”.“SERVOY_USERS”.“USER_ID”)
I also attempted to create a new Solution in V3 and had the same problem.
Can anyone assist?
Thanks,
Lee
Some additional Info.
I am running against an Oracle10g Database for all the data and repository.
I deleted the Repository and attempted a New Solution setup and have the same problem, so I am surmising this is not an issue with the imported solution.
I believe the problem with my Imported Users not coming in is the same problem. Basically the code to insert users is failing. The table is there and OK in Oracle, so I’m not sure what to do?
jaleman:
did you fill in the SCHEMA name in your connection settings? If you don’t oracle will give all kinds of funny errors.
Jan:
Not sure what you mean?
I’m using the connection string that Servoy provides with the Automatic connection setttings. I copied the same connection strings into my V3 version. They work fine in 2.x versions.
The error is occuring in the repository db and user.
SCHEMA is a way of splitting a large DB with lots of tables into more manageable chunks, both from a logical point of view and a storage point of view.
Jan. Does this mean that PostgreSQL schemas will work ?
swingman:
SCHEMA is a way of splitting a large DB with lots of tables into more manageable chunks, both from a logical point of view and a storage point of view.
Jan. Does this mean that PostgreSQL schemas will work ?
Christian:
I understand what a schema is. I don’t understand how it’s pertinent to the database connection string. The user name in Oracle IS the schema name, and that is specified in the setup for the repository_server.
Oracle is reporting the error and it indicates that Sevoy is not transferring a user name, which is mandatory for the table. The schema is being found correctly, as the error indicates the specific field that is causing the insert to fail.