databaseToUpper
Database setting DATABASE_TO_UPPER (default: true).
Database short names are converted to uppercase for the DATABASE()
function, and in the CATALOG column of all database meta data methods.
Setting this to "false" is experimental. When set to false, all
identifier names (table names, column names) are case sensitive (except
aggregate, built-in functions, data types, and keywords).
"Database setting DATABASE_TO_UPPER (default: true).
Database short names are converted to uppercase for the DATABASE() function, and in the CATALOG column of all database meta data methods. Setting this to "false" is experimental. When set to false, all identifier names (table names, column names) are case sensitive (except aggregate, built-in functions, data types, and keywords)."
You can add it to the metaclass, e.g. to add a 'foo' property to all controllers:
def doWithDynamicMethods = { ctx ->
for (controller in application.controllerClasses) {
controller.metaClass.getFoo = { ->
return ...
}
}
}
// Remove the JDBC jar before the war is bundled
grails.war.resources = { stagingDir ->
delete(file:"${stagingDir}/WEB-INF/lib/jdbc2_0-stdext.jar")
}
// Remove the JDBC jar before the war is bundled
eventWarStart = { warName ->
if (grailsEnv == "production") {
println "Removing JDBC 2 Extensions JAR"
Ant.delete(
file:"${stagingDir}/WEB-INF/lib/jdbc2_0-stdext.jar")
}
}
In order to save it, one must do:
def c = new CurrencyRow(name:'one', numericCode:10)
c.id = 'CUR'
c.save()
Otherwise an exception about the id being unassigned is raised.
I was using -noCertificateCheck so there was no issue with SSL certificates. Either way thanks for the suggestion.
Meanwhile i was able to find a workaround:
After installing Hudson Slave as a service I got to the local (on Slave) directory and found jenkins-slave.xml
I edit the <arguments> entry to add the necessary jar to the invocation classpath:
commons-codec-1.5.jar is the jar missing and you can grab it here (just unzip and it's there)
Put commons-codec-1.5.jar in the local slave directory (inside a newly created lib directory)
Change the <arguments> entry to add commons-codec-1.5.jar to the classpath like this -Xrs -jar "%BASE%\slave.jar" -jnlpUrl <url_to_jnlp> -classpath "%BASE%\lib\commons-codec-1.5.jar" -jnlpCredentials <user>:<password> -noCertificateCheck
Start service in windows and monitor jenkins-slave.err.log
1. Change VGA mode to normal and remove the splash screen.
edit /boot/grub/menu.lst
change the kernel parameters:
vga=0x314 to vga=normal
splash=silent to splash=0
2. Remove the graphical grub bootloader menu.
comment or remove grub parameter, also in /boot/grub/menu.lst:
gfxmenu (hd0,1)/boot/message
becomes
#gfxmenu (hd0,1)/boot/message