Bugs item #1010801, was opened at 2004-08-17 18:28
Message generated for change (Comment added) made by loubyansky
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=1010801&group_id=22866

Category: JBossCMP
Group: v4.0
>Status: Closed
>Resolution: Duplicate
Priority: 5
Submitted By: Juan Martinez (juanmartinez)
Assigned to: Alexey Loubyansky (loubyansky)
Summary: Column names are not escaped

Initial Comment:
Hi. 
 
I've a table called "User" which is a reserved word in 
PostgreSQL. JBoss correctly escapes the table name to 
"xuser". 
 
I've another table which has a foreign key constraint to 
the "User" table where the foreign key column is called 
"User" -- not the column name is not escaped. 
 
The deployment then fails. 
 
Workaround: 
 1) Use different column name 
 2) Escape column names also 
 
I hoping for 2 ;) 
 
Using current HEAD -- problem may also be on 
Branch_3_2. 
 
Let me know if I can provide more information. 
 Juan 
 

----------------------------------------------------------------------

>Comment By: Alexey Loubyansky (loubyansky)
Date: 2004-09-14 17:38

Message:
Logged In: YES 
user_id=543482

There is a feature request for fixing column names
http://sourceforge.net/tracker/?func=detail&aid=856124&group_id=22866&atid=376688

----------------------------------------------------------------------

Comment By: Alexey Loubyansky (loubyansky)
Date: 2004-08-17 19:22

Message:
Logged In: YES 
user_id=543482

Frankly, I don't like this x-prefixing.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=1010801&group_id=22866


-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. 
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to