[JBoss Seam] - Re: Getting Id of Presisted object.
by rhinosystemsinc
Hello, can someone give me some advice on how to setup a generated ID with Oracle, hibernate and SEAM...
I have been trying to do a variety of ways - like "before insert" triggers and coupled with @GeneratedValue(strategy=GenerationType.IDENTITY) or @GeneratedValue(strategy=GenerationType.AUTO), but that didn't work. I have tried going straight to the sequence with:
@Id
@Column(name = "LISTINGTYPE_ID", unique = true, nullable = false, precision = 22, scale = 0)
@SequenceGenerator(name="identifier", sequenceName="LISTINGTYPE_SEQ", allocationSize=1)
@GeneratedValue(strategy=GenerationType.SEQUENCE, generator="identifier")
@NotNull
That didn't work, it kept complaining the sequence didn't exist, although it did exist.
I have read a dozen or more postings and can't get the right recipe working for Oracle. I really appreciate your help.
Thanks!!!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4044919#4044919
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4044919
19 years, 1 month
[Beginners Corner] - Re: Problem with licenseFile JBoss ON
by Blomman
>From my server.log:
"2007-05-11 13:17:25,310 ERROR [com.jboss.jbossnetwork.ui.action.license.LicenseUpdateAction] Backing store unavailable, allowing license to be written to disk unconditionally
2007-05-11 13:17:25,647 INFO [net.hyperic.hq.common.shared.license.LicenseManager] [License owner=Jan Groning email=jan.groning(a)rps.police.se phone=+46 8 401 90 00 expiration=2009-12-30 platforms=unlimited serverIPs=any plugins=all support=3]
2007-05-11 13:17:27,231 INFO [STDOUT] May 11, 2007 1:17:27 PM java.util.prefs.FileSystemPreferences checkLockFile0ErrorCode
WARNING: Could not lock User prefs. Unix error code 2.
2007-05-11 13:17:27,231 WARN [net.hyperic.hq.common.shared.license.LicenseManager] Error: software license validation failed. Please contact support to resolve the issue.
2007-05-11 13:17:28,894 INFO [STDOUT] May 11, 2007 1:17:28 PM java.util.prefs.FileSystemPreferences checkLockFile0ErrorCode
WARNING: Could not lock User prefs. Unix error code 2.
2007-05-11 13:17:28,894 ERROR [net.hyperic.hq.bizapp.server.session.AuthzBossEJBImpl] Error: software license validation failed. Please contact support to resolve the issue.
2007-05-11 13:17:30,470 INFO [STDOUT] May 11, 2007 1:17:30 PM java.util.prefs.FileSystemPreferences checkLockFile0ErrorCode
WARNING: Could not lock User prefs. Unix error code 2.
"
/Blomman
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4044915#4044915
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4044915
19 years, 1 month
[JBoss Seam] - Captcha
by pmilner
Hi
using the captcha provided with Seam (and used as suggested in the Seam documentation), I have the following problem.
If I submit a page which contains the captcha, and having filled in the catpcha response field, but validation fails due to a problem in another field on the page, the page is redisplayed but with a NEW captcha image. However the captcha response field is repopulated with what I previously put there, even though the image has now changed.
I would like for the response text to be cleared when a new captcha image is generated. Is there a way to do this at the moment?
Thanks in advance,
Paul
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4044914#4044914
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4044914
19 years, 1 month