facebook

code generation based on Hibernate

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse IDE
  2.  > 
  3. Feature Requests
Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #205852 Reply

    I would like to see ME provide code generation capabilities along the lines of what Hibernate Synchronizer [http://www.binamics.com/hibernatesynch/] does — only better. 😀

    #205999

    Riyad Kalla
    Member

    Andy,
    Definately in-line with what we are planning. We have talked internally a lot about hibernate support and are looking to see where/how we can appease this need. We’ll keep you posted and probably ask for some serious feedback in early betas. I don’t know for certain if this func will make it into 2.8 (as the Todo list for 2.8 is about 6 miles long, and our developers are already putting off sleeping for days at a time), but it will definately make it in there eventually.

    In the interum, especially before we start knocking something out, why don’t you outline what you would like us to focus on better than Hibernate Synchronizer does already?

    #206005

    mattrubyred
    Member

    This plugin looks promising: http://www.exadel.com/products_ORMstudio.htm
    I’ve used Hibernate Synchronizer and it’s a great help.

    #206006

    Riyad Kalla
    Member

    Hmmm http://www.exadel.com/images/pages/orm/orm.gif very slick… thank you for the link, we’ll take a look.

    #206020

    Ok… you asked… 🙂

    ME needs a Server Explorer view similar to Visual Studio .NET — this would list ALL Servers and Data Connections. This would allow all of the Application Server preferences to be moved out of the Preferences dialog into this view. I think this would make it easier to manage deployments from a global level, manage the starting/stopping/restarting of servers, access server specific management tools, etc.. It should make it easier for ME to allow multiple instances of a specific app server on one server as well. It should serve as the means of globally controlling what servers, and datasources are available to all projects. It should provide lots of drag and drop code generation capabilities as well — see the Oracle JDeveloper viewlets for some examples.

    The Package Explorer is great for viewing code but really we need to have a Project Explorer view that allows me to see the deployments, datasources, and code specific to a project. This view should allow me to add servers and datasources that were defined in the Server View.

    From the Project Explorer, I should be able to open a view to graphically view all of the tables and relationships for a database schema associated with my project. I think this graphical view of the relationships is essential in order to accurately generate the metadata used during the code generation process. This view should allow me to start a code generation wizard that allows me to control what is to be generated. The schema should be used to derive a rich metadata object that provides all of the information to build whatever code is needed to support that schema.

    Out of the box, ME could provide some standard templates to generate Hibernate mapping files, DTOs/VOs, DAOs/DALs, Struts Actions, Struts Forms, JSPs, Spring Framework mappings, WebWork, whatever. Each of these standard templates should be able to be substituted with custom templates. Ideally, the ME download site would have additional user defined code templates available. Maybe the ME community could rank them as far as their usefulness.

    I personally do not care so much about synchronizing with the schema. However, I am sure some developers are. That being the case, the type of templates that I am looking for are ones that are directly related to the schema. Having code generated base classes that I extend to put my customized code into is okay but overkill for me in most situations. I just want the code generation to take care of the boring stuff. 😉

    #206025

    Riyad Kalla
    Member

    Ok… you asked…

    Uh oh…

    ME needs a Server Explorer view similar to Visual Studio .NET — this would list ALL Servers and Data Connections. This would allow all of the Application Server preferences to be moved out of the Preferences dialog into this view. I think this would make it easier to manage deployments from a global level, manage the starting/stopping/restarting of servers, access server specific management tools, etc.. It should make it easier for ME to allow multiple instances of a specific app server on one server as well. It should serve as the means of globally controlling what servers, and datasources are available to all projects. It should provide lots of drag and drop code generation capabilities as well — see the Oracle JDeveloper viewlets for some examples.

    Very interesting approach, and IMO a good idea, especially if the DnD is added. So something like NetBean’s Data Source explorer, but for application servers?

    The Package Explorer is great for viewing code but really we need to have a Project Explorer view that allows me to see the deployments, datasources, and code specific to a project. This view should allow me to add servers and datasources that were defined in the Server View.

    I really like this idea, it would give a very integrated feel.

    From the Project Explorer, I should be able to open a view to graphically view all of the tables and relationships for a database schema associated with my project. I think this graphical view of the relationships is essential in order to accurately generate the metadata used during the code generation process. This view should allow me to start a code generation wizard that allows me to control what is to be generated. The schema should be used to derive a rich metadata object that provides all of the information to build whatever code is needed to support that schema.

    This is a bit of a tall order, but I can see something like JFaceDbc + Hibernate Synchronizer accomplishing this with some tweaks and additions.

    Out of the box, ME could provide some standard templates to generate Hibernate mapping files, DTOs/VOs, DAOs/DALs, Struts Actions, Struts Forms, JSPs, Spring Framework mappings, WebWork, whatever. Each of these standard templates should be able to be substituted with custom templates. Ideally, the ME download site would have additional user defined code templates available. Maybe the ME community could rank them as far as their usefulness.

    Absolutely, this is a great idea and something we will continue to push forward towards for 2.9/3.0/etc.

    Andy thank you for taking the time to really describe in detail what it is you are looking for. I think you have a lot of great ideas and I think the team will agree. We will kick these around and see if we can get hacking on some variations of these and eventually converge on the solution that everyone likes.

    #206030

    I have a lot more… Just no time right now to really think how to describe them…

    #206685

    Scott… this is meant as a reminder of what I was seeking as extensions to the Hibernate Synchronizer.

    HTH

    #206695

    Scott Anderson
    Participant

    Got it Andy. Thanks!

    #224231

    Jesse Clark
    Member

    ME needs a Server Explorer view similar to Visual Studio .NET — this would list ALL Servers and Data Connections. This would allow all of the Application Server preferences to be moved out of the Preferences dialog into this view. I think this would make it easier to manage deployments from a global level, manage the starting/stopping/restarting of servers, access server specific management tools, etc.. It should make it easier for ME to allow multiple instances of a specific app server on one server as well. It should serve as the means of globally controlling what servers, and datasources are available to all projects. It should provide lots of drag and drop code generation capabilities as well — see the Oracle JDeveloper viewlets for some examples.

    +1 on the Server Explorer idea.

    You could also add a third option, ‘restart’, to the currently existing server control toolbar menu. There have been occasions when I needed to bounce the server and it got irritating to have to first select stop from the drop down, then select start. A very minor complaint really but…

Viewing 10 posts - 1 through 10 (of 10 total)
Reply To: code generation based on Hibernate

You must be logged in to post in the forum log in