facebook

myeclipse 3.8beta2 and hibernate ?

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #209858 Reply

    snpe
    Member

    Is there any documenation for hibernate

    I find wizard for create new hibernate configuration and reverse mapping in sql explorer

    sql explorer mapping isn’t enough – sql explorer use deprecated ddl2hbm
    (middlegen is suggested for reverse mapping, now) and I can’t mapping table with composite id, I can’t use base class for POJO class etc

    Is there anyting else for hibenrate ?

    regards

    #209899 Reply

    support-michael
    Keymaster

    ME beta-2 Hibernate Tools are a work in progress. We are working forward in functionality as quickly as possible. Yes, we are well aware of the Middlegen capabilities and will be transitioning to a template-driven strategy very shortly. Ultimately full user customization will be available for all code generated by ME. Docs will be available shortly.

    #209927 Reply

    snpe
    Member

    Hello Michael,
    Is there yet another hibernate features except I found

    regards

    #209930 Reply

    support-michael
    Keymaster

    ME 3.8 beta-2 hibernate features are an initial set and additional features are still being developed for the GA release. beta-2 introduces the following features:

    1) Add Hibernate Capabilities… wizard
    – adds hibernate nature & builder to any Java project
    – add hibernate libraries to project and project classpath
    – create hibernate config file – accepts DB Explorer connections or std. connection details
    – create SessionFactory
    2) New Hibernate Config Wizard
    3) Create POJO and mapping files from new Database Browser view (right click on any table)
    4) Hibernate project properties and preferences

    As I indicated in my previous post our team is very familiar with Middlegen and the composite id issue you pointed out. We are working on enhancements in these areas now for the GA release. If you have additional enhancement requests please post them on the New Features/Enhancement forum.

    #209934 Reply

    snpe
    Member

    Michael,
    I am interesing for reverse mapping currently – middlegen have a problem with big database ( I can’t work with big schema in middlegen, but If I try set only one table , middlegen return out of memory)
    I need features – create mapping and POJO from database browser, but with
    added features :
    – myeclipse have to create ID from table’s primary key (now db explorer ask for ID),
    – I need support for composite id, too

    I think that hibernae wizard (from DB explorer) need return wizard with :
    – database column and mapping properties and that use can change mapping
    – primary key and mapping
    – foreign keys and collection mapping

    Mapping class can extends any base class (with for instance equals and hashcode method, unsaved column for Interceptor etc) and implement any base interface – hibernate have meta mapping for this features, but it isn’t important for reverse mapping

    User can change mapping template .

    I send this in Features/Enhancement forum.

    This work in middlegen, but all tables only – I want only one table or choose more tables

    Thanks

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: myeclipse 3.8beta2 and hibernate ?

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