The EntitySpaces Community

Share and learn about the EntitySpaces Architecture.
Welcome to The EntitySpaces Community Sign in | Join | Help
in
Home Forums Photos

Bug with password

Last post 06-28-2008, 8:20 PM by TomScott. 4 replies.
Sort Posts: Previous Next
  •  05-31-2007, 7:25 AM 2930

    Bug with password

    I have ran into an issue when trying to generate classes for ES with a VistaDB table with a password. When I set my connection information in MyGeneration I am providing the password in the connection string. The "Test Connection" works with the connection string. However, When I run the execute function to build the classes, the dialog form does not show any tables or views. If I remove the password from the VistaDB, then everything works fine.

     

     

  •  05-31-2007, 2:40 PM 2946 in reply to 2930

    Re: Bug with password

    "Setting the password for a database does much more than just prevent access to the file.  It actually encrypts the entire database using BlowFish.  The password is requested at startup as an encryption key, not just as a simple access restriction."

    I'm not sure how MyGeneration would deal with that. It needs to get the schema in order to execute. You may have to decrypt in order to generate your EntitySpaces classes. Our EntitySpaces unit tests pass against an encrypted VistaDB database, with the password in the connection string.


    David Neal Parsons
    www.entityspaces.net
  •  05-31-2007, 4:37 PM 2964 in reply to 2946

    Re: Bug with password

    Correct. The password is working correctly with the database and the generated classes. It just seems that MyGeneration is not passing the password to the database when it tries to retrieve the schema to show in the generation form. It would seem that the connection made to the database to retrieve the schema would first have to be sucessful which would include the password.

    As you mentioned, I have copied the database and removed the password so that MyGeneration could get the schema.

     

     

     

  •  05-31-2007, 4:55 PM 2965 in reply to 2964

    Re: Bug with password

    How strange, I will fix this in MyGeneration.

    EntitySpaces | Twitter | BLOG | Please honor our Software License
  •  06-28-2008, 8:20 PM 10054 in reply to 2965

    Re: Bug with password

    This problem exists with ES 2008 also. Is there an ETA as to when this will be fixed? I was hoping it would be fixed with ES 2008.

     

     

View as RSS news feed in XML