Team:BU Wellesley Software/Notebook/JanooNotebook/DatabaseInformation
From 2011.igem.org
(Difference between revisions)
(Created page with "<h1>How To Perform HCL/POJO Database Setup</h1> #Install MySQL. #Install Java SE with Netbeans (I used 7.0 on a Win7 64-bit machine). #Create necessary database within MySQL serv...") |
|||
Line 1: | Line 1: | ||
<h1>How To Perform HCL/POJO Database Setup</h1> | <h1>How To Perform HCL/POJO Database Setup</h1> | ||
#Install MySQL. | #Install MySQL. | ||
+ | #*Download MySQL. | ||
#Install Java SE with Netbeans (I used 7.0 on a Win7 64-bit machine). | #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 necessary database within MySQL server. | ||
#Create desired tables in previously-created database. | #Create desired tables in previously-created database. | ||
#Create a Netbeans Java Application project. | #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. |
Latest revision as of 03:16, 22 July 2011
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.