We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ormlite-core,ormlite-jdbc version:5.6 DB:postgresql 13.3-3
private String createUrl(String host, int port, String dbName, String userName, String userPasswd, boolean ssl) { return "jdbc:postgresql://" + host + ":" + port + "/" + dbName + "?user=" + userName + "&password=" + userPasswd + "&ssl=" + ssl; }
connectionSource = new JdbcPooledConnectionSource(databaseUrl); this.urlDAO = DaoManager.createDao(connectionSource, UrlData.class); TableUtils.createTableIfNotExists(connectionSource, UrlData.class);//EXCEPTION
The text was updated successfully, but these errors were encountered:
Sorry, something went wrong.
occurs when createTableIfNotExists is called when the table already exists.
Duplicate of #20
No branches or pull requests
info:
deps:
ormlite-core,ormlite-jdbc version:5.6
DB:postgresql 13.3-3
code:
private String createUrl(String host, int port, String dbName, String userName, String userPasswd, boolean ssl) {
return "jdbc:postgresql://" + host + ":" + port + "/" + dbName + "?user=" + userName + "&password=" + userPasswd
+ "&ssl=" + ssl;
}
connectionSource = new JdbcPooledConnectionSource(databaseUrl);
this.urlDAO = DaoManager.createDao(connectionSource, UrlData.class);
TableUtils.createTableIfNotExists(connectionSource, UrlData.class);//EXCEPTION
trace:
The text was updated successfully, but these errors were encountered: