Bug 1035400 - GadgetServer - Oracle keyword clash when database schema generated.
Summary: GadgetServer - Oracle keyword clash when database schema generated.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Fuse Service Works 6
Classification: JBoss
Component: RT Governance
Version: 6.0.0 GA
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ER7
: 6.0.0
Assignee: Steve Johnson
QA Contact: Andrej Vano
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-27 16:34 UTC by Steve Johnson
Modified: 2014-02-06 15:28 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug


Attachments (Terms of Use)

Description Steve Johnson 2013-11-27 16:34:18 UTC
Description of problem:

The generated schema for GadgetServer produces a column name that clashes with an Oracle keyword.

Attribute "user" in Class Page. See ./gadget-core/src/main/java/org/overlord/gadgets/server/model/Page.java

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Steve Johnson 2013-11-27 16:38:44 UTC
Fix is to add following annotation to attribute.

@JoinColumn(name="PAGE_USER")

I have created a patch for this in build, to be pushed back to community at a suitable time.

Comment 3 Andrej Vano 2013-12-17 15:16:51 UTC
Hi,

verified on ER7-2


Note You need to log in before you can comment on or make changes to this bug.