If you look in your database, does this record exist? Does it show up on the
list screen? I suspect you might need to use some sort of "assigned"
annotation for the ID.

Matt

On Wed, Dec 17, 2008 at 4:52 AM, Rajesh.SriRamoju <
[email protected]> wrote:

>
>  Hi
>
>   Im stuck here please help me out ..
>   Im Using Appfuse2 struts archetype
>   I have created the model class as with Identifier as string Type as
> follows
>    @Id
>    @Column(name="Pk_product_ID")
>    public String getId() {
>        return id;
>    }
>
>    public void setId(String id) {
>        this.id = id;
>    }
>
>    public String getName() {
>        return name;
>    }
>
>    public void setname(String name) {
>        this.name = name;
>    }
>
> And did " mvn appfuse:gen"  and also runned "mvn jetty:run"
> Here everything  went fine
>
> but the problem is
> when i try to add the new record it gives this ERROR
>
> WARN [btpool0-1] GenericDaoHibernate.get(74) | Uh oh, 'class
> com.mycompany.model.Product' object with id 'ABC' not found...
>
> please Help me out i'm stuck here
> Eagerly waiting for your reply
> Thanks in Advance
> RajeshSr
>
>
>
>
>
>
>
>
>
>
>
> --
> View this message in context:
> http://www.nabble.com/Appfuse2-object-not-found-error-tp21051854s2369p21051854.html
> Sent from the AppFuse - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to