Skip to content

alejandroat99/hbm2java-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Hbm2Java-Python

The goal of this project is to develop a python script to parse the hibernate xml mapping definition to a Java class. At the current state of this project, this are the current features:

  • Map <property> tags
  • Map <id> tags
  • Map <composite-id> and <key-property> tags
  • Map <many-to-one> tags
  • Map <set> tags

Usage

To use this module, you need to provide the path to the hbm.xml file:

from hbm2java import hbm2java

filepath = 'files/HibernateMapping.hbm.xml'
hbm2java(filepath)

Also, you can check the Test.py file to see and run an example.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages