Actually, it's not my table.  I presume it's being defined by tapestry5-acegi, 
which is why I posted it here.

----- Original Message ----
From: Daniel Jue <[EMAIL PROTECTED]>
To: Tapestry users <users@tapestry.apache.org>
Sent: Tuesday, January 8, 2008 3:03:11 PM
Subject: Re: T5: Acegi table name too long for Oracle 9i


This seems more like Hibernate's problem.  I'm not defending 9i's
<www.urbandictionary.com>failboating</www.urbandictionary.com> in
character limits. (What is this, 1994?)
I haven't played with this module, but perhaps you can specify the
name of the table in an annotation (if you are using Hibernate
Annotations) or in an XML file?  Just specify a shorter name instead
of the auto-created name.  Expect this to happen with field names too,
so you may need to override field names using whatever hibernate
mapping method you are using.

On Jan 8, 2008 5:23 PM, Franz Amador <[EMAIL PROTECTED]> wrote:
> I'm using the tapestry5-acegi module (v 1.0.2, Tapestry v 5.0.7), and
 I get an error when Hibernate tries to create tables in Oracle 9i:
>
> 14:09:42.234 ERROR! [main]
 org.hibernate.tool.hbm2ddl.SchemaUpdate.execute(SchemaUpdate.java:155) >55> 
Unsuccessful: create table
 UserDetailsBean_GrantedAuthorityBean (UserDetailsBean_id number(19,0) not null,
 grantedAuthorities_id number(19,0) not null, unique
 (grantedAuthorities_id))
> 14:09:42.234 ERROR! [main]
 org.hibernate.tool.hbm2ddl.SchemaUpdate.execute(SchemaUpdate.java:156) >55> 
ORA-00972: identifier is too long
>
> Am I out of luck?  Surely people have run Acegi on Oracle 9i before,
 so I presume this error relates to tapestry5-acegi, not Acegi in
 general.
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Reply via email to