- This topic has 4 replies, 2 voices, and was last updated 20 years, 4 months ago by snpe.
-
AuthorPosts
-
snpeMemberIs 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 etcIs there anyting else for hibenrate ?
regards
support-michaelKeymasterME 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.
snpeMemberHello Michael,
Is there yet another hibernate features except I foundregards
support-michaelKeymasterME 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 preferencesAs 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.
snpeMemberMichael,
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, tooI 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 mappingMapping 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
-
AuthorPosts