[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-2179) Seam-gen created pages show non-assigned ids
Viorel Andronic (JIRA)
jira-events at lists.jboss.org
Tue Oct 30 08:17:01 EDT 2007
[ http://jira.jboss.com/jira/browse/JBSEAM-2179?page=comments#action_12385035 ]
Viorel Andronic commented on JBSEAM-2179:
-----------------------------------------
Hi Max,
This is a SQL template that tells you when a column has a default value given by a sequence:
select column_default from information_schema.columns
where table_catalog='postgres' and table_schema='security' and table_name='group'
the result is:
"nextval('"security".group_id_seq'::regclass)"
you can process this string and identify the keyword: 'nextval' that tells you: BINGO!
I hope this is helpful
> Seam-gen created pages show non-assigned ids
> --------------------------------------------
>
> Key: JBSEAM-2179
> URL: http://jira.jboss.com/jira/browse/JBSEAM-2179
> Project: JBoss Seam
> Issue Type: Bug
> Components: Tools
> Reporter: Viorel Andronic
> Assigned To: Max Andersen
> Priority: Minor
>
> seam-gen intends to exclude non-assigned id's from the property edit and view pages - seam-gen\view\editproperty.xhtml.ftl, seam-gen\view\viewproperty.xhtml.ftl etc. They are being shown.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the seam-issues
mailing list