Team:BU Wellesley Software/Notebook/JanooNotebook/DatabaseInformation
From 2011.igem.org
How To Perform HCL/POJO Database Setup
- Install MySQL.
- Download MySQL.
- Install Java SE with Netbeans (I used 7.0 on a Win7 64-bit machine).
- Download JRE.
- Download JDK.
- Download Netbeans.
- Create necessary database within MySQL server.
- Create desired tables in previously-created database.
- Create a Netbeans Java Application project.
- Generate Hibernate files.
- Generate Hibernate config file.
- Generate Hibernate mapping file.
- Generate Java class files (reverse engineer option).
- Use SessionFactory class (within HCL) to manage tables.