RHINO SYSTEMS

Software Engineering and QA Consulting

This tool will take the DDL that you enter to create your tables, including your foreign key constraints, and create a Hibernate project with all the Entities, and Sample Application Drivers for each Entity.
  1. There are NO refunds!
  2. This is a tool only, and meant to be informative and educational only. There are usually no syntax errors, but due to the multitude of possible inputs, we can't guarantee no syntax errors.
  3. Click here to see sample DDL code that you'd enter to create your project.
  4. Click here to see WALKTHRU of the entire process and sample output.
  5. You will have working examples of how to create, update, query and delete entities.
  6. First you must pay $20 to run this code-generator and then you can input your DDL code to generate your hibernate JPA project.

I'm happy to answer questions/concerns. Please use the "Contact US" page for best results.
X
CREATE TABLE Persons (
    ID int NOT NULL AUTO_INCREMENT,
    LastName varchar(255),
    FirstName varchar(255),
    DOB date,
    PRIMARY KEY (ID)
);
CREATE TABLE Cars (
    ID int NOT NULL AUTO_INCREMENT,
    Model varchar(255),
    Make varchar(255),
    lmts TIMESTAMP ,
    PRIMARY KEY (ID)
);
create table ownership (
    ID int NOT NULL AUTO_INCREMENT,
    P_ID int,
    C_ID int,
    purchasedt date,
    PRIMARY KEY (ID)
);

alter table ownership add constraint fk_pid foreign key (p_id) references persons (id); 
alter table ownership add constraint fk_cid foreign key (c_id) references cars (id);