A SQL database interface to AMICO. Enables usage of any JDBC or ODBC compliant database (such as MySQL, MonetDB, Oracle, SQL Server, MS Access...). Provides mapping of AMICO variables to any SQL query (INSERT, SELECT, CREATE, DROP...), and update of AMICO variables with the results of these queries.
java -jar %AMICO_HOME%/bin/amico-sql.jar [<conf-url>]
<?xml version="1.0"
encoding="UTF-8"?> <sql-adapter driver="com.mysql.jdbc.Driver" url="jdbc:mysql://localhost:3306/Words" login="root" password=""> <communicator host="localhost" port="3320" /> <!-- Optional. If omitted default settings will be used-->
<!-- type can be "select" or "update" -->
SELECT concat(Phrase1, ' = ',
Phrase2, '||') AS phrase, ContextInfo </sql-query> </sql-adapter> |