This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<myDrive> | |
<user username="jtb"> | |
<password>fernandes</password> | |
<name>Joaquim Teófilo Braga</name> | |
<home>/home/jtb</home> | |
<mask>rwxdr-x-</mask> | |
</user> | |
<user username="mja"> | |
<name>Manuel José de Arriaga</name> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!-- | |
Licensed to the Apache Software Foundation (ASF) under one | |
or more contributor license agreements. See the NOTICE file | |
distributed with this work for additional information | |
regarding copyright ownership. The ASF licenses this file | |
to you under the Apache License, Version 2.0 (the | |
"License"); you may not use this file except in compliance | |
with the License. You may obtain a copy of the License at |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* DbaseClean | |
* Drop a database, if exists, and create a new empty one. | |
* Collect database info from a resource file. | |
* | |
* When using embeded in an application must be called outside a transaction | |
* (@Atomic) or connection to the same database server! | |
* | |
* javac DbaseClean.java | |
* java -cp mysql-connector-java-5.1.38.jar:. DbaseClean |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# using special INFER_APP_NAME to do just that | |
appName=INFER_APP_NAME | |
# FIXME: replace DBASE USER PASSWD | |
dbAlias=//localhost:3306/DBASE?useUnicode=true&characterEncoding=UTF-8&clobCharacterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull | |
dbUsername=USER | |
dbPassword=PASSWD |