Klasse MysqlAdapter

java.lang.Object
org.apache.torque.adapter.AbstractAdapter
org.apache.torque.adapter.MysqlAdapter
Alle implementierten Schnittstellen:
Serializable, Adapter

public class MysqlAdapter extends AbstractAdapter
This is used in order to connect to a MySQL database using the MM drivers. Simply comment the above and uncomment this code below and fill in the appropriate values for DB_NAME, DB_HOST, DB_USER, DB_PASS.

http://www.mysql.com/

"jdbc:mysql://" + DB_HOST + "/" + DB_NAME + "?user=" + DB_USER + "&password=" + DB_PASS;

Version:
$Id: MysqlAdapter.java 1850965 2019-01-10 17:21:29Z painter $
Autor:
Jon S. Stevens, Brett McLaughlin, Daniel Rall
Siehe auch:
  • Konstruktordetails

    • MysqlAdapter

      protected MysqlAdapter()
      Empty protected constructor.
  • Methodendetails