Re: [Hibernate] tool naming...

2005-09-23 Thread Christian Bauer


On Sep 23, 2005, at 4:35 PM, Max Rydahl Andersen wrote:

No it is exactly what it does. It takes hibernate metamodel (the  
configuration) and

generates a set of cfg.xml and hbm.xml.


So use hbm2cfgxml and hbm2xml.



---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


Re: [Hibernate] tool naming...

2005-09-23 Thread Max Rydahl Andersen
But should we change cfg2cfgxml and cfg2hbm to hbm2cfgxml and hbm2hbm   
then ?


But thats not what it does, right? schema2cfgxml and schema2hbm would  
probably work.


No it is exactly what it does. It takes hibernate metamodel (the  
configuration) and

generates a set of cfg.xml and hbm.xml.

A database is not required. You could use it with a  
annotationconfiguration or even

a normal configuration - no schema/jdbc is required.

--
--
Max Rydahl Andersen
callto://max.rydahl.andersen

Hibernate
[EMAIL PROTECTED]
http://hibernate.org

JBoss Inc
[EMAIL PROTECTED]
http://www.jboss.com/events/jbossworld
JBoss World Barcelona 10-12 October


---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


Re: [Hibernate] tool naming...

2005-09-23 Thread Christian Bauer


On Sep 23, 2005, at 4:22 PM, Max Rydahl Andersen wrote:

But should we change cfg2cfgxml and cfg2hbm to hbm2cfgxml and  
hbm2hbm  then ?


But thats not what it does, right? schema2cfgxml and schema2hbm would  
probably work.




---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


Re: [Hibernate] tool naming...

2005-09-23 Thread Max Rydahl Andersen


I want to have it renamed (if at all) before the next release to be  
able to freeze the "api".


I'm leaning to change it to hbm2 for consistency and  
recognization value, but not sure...


any input welcome ;)


The names are fine. You won't find a better schema for so many different  
things. In fact, the only thing we have to change, and I've done that  
for a while now, is to tell users that "hbm" does not mean Hibernate  
mapping file, but "hibernate metadata" or "hibernate metamodel".




yes, makes sense. I'll stick to hbm2x.

But should we change cfg2cfgxml and cfg2hbm to hbm2cfgxml and hbm2hbm   
then ?


--
--
Max Rydahl Andersen
callto://max.rydahl.andersen

Hibernate
[EMAIL PROTECTED]
http://hibernate.org

JBoss Inc
[EMAIL PROTECTED]
http://www.jboss.com/events/jbossworld
JBoss World Barcelona 10-12 October


---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel


Re: [Hibernate] tool naming...

2005-09-23 Thread Christian Bauer


On Sep 23, 2005, at 4:05 PM, Max Rydahl Andersen wrote:


Currently we have the following "tools" in the ant/eclipse toolset:

hbm2java
hbm2ddl
hbm2doc
hbm2dao
cfg2cfgxml
cfg2hbm

I would like those names to be consistent, but what is the better  
name ?


hbm2 (the legacy name, and based on the idea that you  
take hbm.xml files and transform them which is not true anymore  
where the input can be a database, hbm.xml and annotations)


or

cfg2 (the more technically correct name, but probably  
doesnt ring-a-bell when people hear/see it)


I want to have it renamed (if at all) before the next release to be  
able to freeze the "api".


I'm leaning to change it to hbm2 for consistency and  
recognization value, but not sure...


any input welcome ;)


The names are fine. You won't find a better schema for so many  
different things. In fact, the only thing we have to change, and I've  
done that for a while now, is to tell users that "hbm" does not mean  
Hibernate mapping file, but "hibernate metadata" or "hibernate  
metamodel".




---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
___
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel