Skip to content

imkrunalkanojiya/hibernate-config-generator

Repository files navigation

Hibernate Configuration File Generator VSCode Extension

Overview

This VS Code extension helps you generate Hibernate configuration files for your Java projects. It can:

  • Create a hibernate.cfg.xml file in the root of your project.
  • Create individual Hibernate mapping files (.hbm.xml) for Java model classes.

Features

  • Create Hibernate Configuration (hibernate.cfg.xml):

    • Run the command from the Command Palette (Ctrl+Shift+P) and search for "Create Hibernate Configuration (hibernate.cfg.xml)" to generate the Hibernate configuration file in your project root.
  • Create Hibernate Model Mapping (.hbm.xml):

    • Right-click on any Java model file in your project and select "Create Hibernate Model Mapping (.hbm.xml)" from the context menu to generate a Hibernate mapping file for that model.

Usage

  1. Open a Java project in VS Code.
  2. Use the Command Palette to generate the Hibernate configuration file or right-click on Java files to create model-specific mapping files.

Installation

To install the extension:

  1. Download the .vsix file.
  2. In VS Code, open the Command Palette (Ctrl+Shift+P) and select Extensions: Install from VSIX....
  3. Select the .vsix file and install the extension.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published