SHARE
TWEET

Untitled

a guest Oct 3rd, 2017 51 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [LNA][PSQL][SQL Engine][Data Record Manager]Invalid user authorization specification.
  2.    
  3. URI = "!" + driver + "!jdbc:pervasive://server:port/database;user=%s;password=%s"
  4.    
  5. propertyBag.put("Server Name", SERVERNAME); //Optional property.
  6. propertyBag.put("Database Name", DATABASE_NAME);
  7. propertyBag.put("URI", URI);
  8. //propertyBag.put("JDBC Connection String", URI);
  9. //propertyBag.put("Server Type", "JDBC (JNDI)");
  10. propertyBag.put("Use JDBC", "true");
  11. propertyBag.put("Database DLL", DATABASE_DLL);
  12.  
  13.  
  14. connectionInfo.setAttributes(propertyBag);
  15.    
  16. // Set database username and password.
  17. connectionInfo.setUserName(DBUSERNAME);
  18. connectionInfo.setPassword(DBPASSWORD);
  19. connectionInfo.setKind(ConnectionInfoKind.SQL);
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top