Hi folks,
one of my customers has used a creative way to solve this: They have
written a small function that removes all vowels (a,e,i,o,u) from the
class or property name, strips anything beyond 31 characters and
converts everything to uppercase. The result is the name of the table or
the column.
With Hibernate, the relationship between the Java class, Hibernate
schema and underlying database schema is tight. A lot of people in the
Hibernate community use XDoclet to generate the Hibernate and the
database schemas. I have found this approach to be extremely powerful
and productive, and am r
I have to disagree with Lofi.
I would stay with the tagged values + small template change approach you are
using. The naming conventions in the base AndroMDA Hibernate cartridge (ie.
Table name = "HIB_${class,name}") virtually ensure that you have to change
the template anyway.
With Hibernate, t
Walter Mourão wrote:
Hi folks,
I'm with a small trouble using the hibernate cartridge: I created a class
property with a large name ("descricao Detalhada Processo Envolvido") and
the database I'm using (Interbase/Firebird) didn't like large table/column
names, issuing errors when the schema script
On Monday 12 January 2004 15:47, Wouter Zoons wrote:
> Walter Mourão wrote:
> >My doubt is not clear so I will ask another way: are you going to use the
> >XDoclets to generate the struts configuration/validation files (avoiding
> >strutsconfig.vsl) ?
>
> I see,... I was not planning to, but I will
Hi folks,
I'm with a small trouble using the hibernate cartridge: I created a class
property with a large name ("descricao Detalhada Processo Envolvido") and
the database I'm using (Interbase/Firebird) didn't like large table/column
names, issuing errors when the schema script is executed.
The fir
Walter Mourão wrote:
My doubt is not clear so I will ask another way: are you going to use the
XDoclets to generate the struts configuration/validation files (avoiding
strutsconfig.vsl) ?
I see,... I was not planning to, but I will take a look into it. If
everything I am doing now can be done
My doubt is not clear so I will ask another way: are you going to use the
XDoclets to generate the struts configuration/validation files (avoiding
strutsconfig.vsl) ?
Walter
[EMAIL PROTECTED] grava:
>
>that's what going in the tagged values, no ?
>
>otherwise we need to go with the abstract paren
Hi Wouter,
I did not try it yet (don't want to break my build process with an
unstable CVS), but in case it should fail please let me know and I will
send you a binary that works (the one I am using),
this would be great! Yes, could you please send the stable binary
to my email address: [EMAIL P