facebook

hibernate mapping in 3.8 GA

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 11 posts - 16 through 26 (of 26 total)
  • Author
    Posts
  • #212506 Reply

    support-jeff
    Member

    (1) Cuz i be an igit – bug in code for handling config file update, if not checked created an empty set of mappings to process. D’oh!
    (2) Right now, type conversions are pretty hard-coded. We have plans to make things more configurable via preference settings. Work for you as an enhancement? or are you looking for more of a per-mapping wizard setting thing?

    #212507 Reply

    support-jeff
    Member

    BTW, fix for this will be in the next maintenance release. There are plans afoot to get this out soon.

    #212630 Reply

    snpe
    Member

    Jeff,
    It is fine
    Mu suggest – when I open hibernate wizard I get dialog with :
    – table name (or list table name if I select more tables)
    – base class and interfaces
    – generator id
    – other metadata from hibernate-mapping.dtd
    – all column for selected class with types and I can change types (add not null, length etc attribute for property)
    – all table’s exported and imported keys for potencial collections and that I can choose colection mappings and attribute for collection mappings

    btw. middlegen and hibernatesynchronizer are great, but they haven’t bugs and misfunctionality,too

    Yet tow suggestions :
    1. I don’t now internal for myeclispe expolorer (normal), but select table (first time) is lsower than sqlexplorer (more quicker from ibm database explorer)
    2. Are You planned use JET compiler for code generate – it is better for code generation than velocity and there is JET editor in eclipse comunity

    regards

    #212681 Reply

    snpe
    Member

    Jeff,

    I make middlegen screenshot like idea for your dialog

    http://www.snpe.co.yu/middlegen.png

    And it is minor problem :

    heading for mapping file don’t same like XML catalog
    You have

    “-//Hibernate/Hibernate Mapping DTD//EN”

    and in XML catalog is

    -//Hibernate/Hibernate Mapping DTD 2.0//EN

    I can change mapping template, but I don’t know have I license for this

    There isn’t catalog entry for hibernate-configuration (I add user entry for me)

    regards

    #212685 Reply

    Riyad Kalla
    Member

    snpe, got it thanks.

    #212687 Reply

    snpe
    Member

    rkalla,
    You skip my question : can I change hibernate templates in myeclipse ?

    regards

    #212689 Reply

    Riyad Kalla
    Member

    See if what you are looking for is in the dir: <myeclipse install>\eclipse\plugins\com.genuitec.eclipse.hibernate_3.8.0\templates

    #212723 Reply

    snpe
    Member

    I know change template, but will I break license If I change

    regards

    #212731 Reply

    Riyad Kalla
    Member

    No you won’t, we will still love you.

    #212853 Reply

    peterwontner
    Member

    I am also seeing the same issue if I do not select “Update Configuration”. If I do select “Update Configuration” all of the files are generated, hbm.xml, AbstractX.java & X.java, but the generated mapping file does not have any id element defined even though the tables declare primary keys.

    #213114 Reply

    support-jeff
    Member

    This bug has been fixed in the upcoming 3.8.1 release.

Viewing 11 posts - 16 through 26 (of 26 total)
Reply To: hibernate mapping in 3.8 GA

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