mirror of
https://github.com/airsonic/airsonic.git
synced 2025-10-03 17:59:25 +02:00
In HSQLDB 2, 'all VARCHAR column type declaration require a size' by default. To change the behavior, append 'sql.enforce_size=false' to the default JDBC URL. http://hsqldb.org/doc/guide/dbproperties-chapt.html#N1580D
Signed-off-by: Iwao AVE! <harawata@gmail.com>
This commit is contained in:
parent
ea467ff557
commit
0de8e6face
1 changed files with 1 additions and 1 deletions
|
@ -287,7 +287,7 @@ public class SettingsService {
|
||||||
}
|
}
|
||||||
|
|
||||||
public static String getDefaultJDBCUrl() {
|
public static String getDefaultJDBCUrl() {
|
||||||
return "jdbc:hsqldb:file:" + getAirsonicHome().getPath() + "/db/" + getFileSystemAppName();
|
return "jdbc:hsqldb:file:" + getAirsonicHome().getPath() + "/db/" + getFileSystemAppName() + ";sql.enforce_size=false";
|
||||||
}
|
}
|
||||||
|
|
||||||
public static int getDefaultUPnPPort() {
|
public static int getDefaultUPnPPort() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue