This error is reported when a column is named with a reserved word.
See all reserved words: http://hsqldb.org/doc/guide/lists-app.html
Lower case: CTRL+SHIFT+Y | |
Upper case: CTRL+SHIFT+X | |
Source: http://www.daveoncode.com/2009/08/25/eclipse-shortcut-switch-convert-uppercase-text-cod-lowercase/ |
list of possible options are: | |
validate: validate the schema, makes no changes to the database. | |
update: update the schema. | |
create: creates the schema, destroying previous data. | |
create-drop: drop the schema at the end of the session. | |
Source: http://stackoverflow.com/a/1689769 |
set foreign_key_checks=0 | |
-- Source: https://dev.mysql.com/doc/refman/5.1/en/server-system-variables.html#sysvar_foreign_key_checks |
// LICENSE GPL 3.0 Peter Pilgrim, Xenonique.co.uk, 2012 | |
// http://www.gnu.org/licenses/gpl.html GNU PUBLIC LICENSE 3.0 | |
//Source: http://www.xenonique.co.uk/blog/?p=1447 | |
package uk.co.xenonique.http.net; | |
/** | |
* Implementation type HttpStatusCode | |
* | |
* (Only codes 400 to 417 and codes 500 to 524 implemented) | |
* |
mkdir ~/app-root/data/tmp | |
mysqldump -h $OPENSHIFT_MYSQL_DB_HOST -P ${OPENSHIFT_MYSQL_DB_PORT:-3306} -u ${OPENSHIFT_MYSQL_DB_USERNAME:-'admin'} --password="$OPENSHIFT_MYSQL_DB_PASSWORD" --all-databases > ~/app-root/data/tmp//all.sql |
This error is reported when a column is named with a reserved word.
See all reserved words: http://hsqldb.org/doc/guide/lists-app.html
import java.text.Normalizer; | |
public class SemAcentoNemCedilha { | |
public static String normalizar(String s) { | |
return Normalizer.normalize(value, Normalizer.Form.NFD).replaceAll("[^\\p{ASCII}]", ""); | |
} | |
} |
List<JasperPrint> jasperPrints = loadReports(); | |
ByteArrayOutputStream out = new ByteArrayOutputStream(); | |
JRPdfExporter exporter = new JRPdfExporter(); | |
exporter.setParameter(JRExporterParameter.JASPER_PRINT_LIST, jasperPrints); | |
exporter.setParameter(JRExporterParameter.OUTPUT_STREAM, out); | |
exporter.exportReport(); | |
//Source: http://stackoverflow.com/a/24117554 |
find . -type f -name "*.java" -exec sed -i "s/package oldPackage/package newPackage/" {} \; |
touch src/main/java/.gitignore src/main/resources/.gitignore src/test/java/.gitignore src/test/resources/.gitignore |