Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 715603
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T05:12:20+00:00 2026-05-14T05:12:20+00:00

Hi I am aware of the Hibernate Eclipse plugin that helps us (through a

  • 0

Hi I am aware of the Hibernate Eclipse plugin that helps us (through a series of screens and button clicks) to generate the POJO and DAO classes for the underlying tables. But I would like to mimic this in a runtime environment, i.e. I would like to be able to do the exact same steps programmatically , where I should be able to supply the .cfg.xml file, the reveng.xml file, the database URL, the destination folder, via a command line/ parameters within main(String[] args)..

Apparently there is no such tool available which works in a pure Hibernate scenario. There is one which is tuned to generate code for the spring framework – but thats not of direct use to me right now.

I tried downloading hibernate-tools.jar’s source code for the eclipse plugin, but right now the src code download link at hibernate.org(new design) has been disabled for some reason.

Has anyone handled such a thing before? Or can you give me some clues to do this?

I have tried a certain JDBCReader class’s object, the rationale being read all tables using JDBCReader’s methods and then figure out how to use hbm2POJO generator class….

  • 1 1 Answer
  • 1 View
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T05:12:20+00:00Added an answer on May 14, 2026 at 5:12 am

    I would like to be able to do the exact same steps programmatically , where I should be able to supply the .cfg.xml file, the reveng.xml file, the database URL, the destination folder, via a command line/ parameters within main(String[] args)

    The Hibernate Tools for Eclipse and Ant are usable from both Eclipse and Ant, respectively through an Eclipse plugin and through an Ant task and both share the same underlying classes that you can reuse “programmatically” (I’m not sure to understand what you’re trying to do though).

    I tried downloading hibernate-tools.jar’s source code for the eclipse plugin, but right now the src code download link at hibernate.org(new design) has been disabled for some reason.

    You can get Hibernate Tools sources from JBoss subversion repositories. More precisely, checkout the following project: http://anonsvn.jboss.org/repos/hibernate/trunk/HibernateExt/tools/. The classes you’re looking for are in org.hibernate.tool.hbm2x.*.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm fully aware that set division can be accomplished through a series of other
I am aware that in .NET there are three timer types (see Comparing the
I am currently aware that ASP.NET 2.0 is out and about and that there
Of course I am aware of Ajax, but the problem with Ajax is that
Is anyone aware of a script/class (preferably in PHP) that would parse a given
Are you aware of any tool that creates diagrams showing the branch/merge activity in
I'm aware of things like onchange , onmousedown and onmouseup but is there a
I'm aware of FusionCharts , are there other good solutions, or APIs, for creating
Is anyone aware of a language feature or technique in C++ to prevent a
I am aware of CocoaMySQL but I have not seen a Mac GUI for

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.