Creating an entity in ofbiz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Creating an entity in ofbiz

Radhakrishna Kotakonda
Hi All,
I have created entity in my localhost
    1) Created an entity in entityengine.xml
    2) Added entity to entitygroup.xml
    3) Included entityengine and entitygroup in ofbiz-components.xml
   
then I have restarted ofbiz in my local system. It has created DB table
then it worked fine.
 
I have deployed to test environment all 3 files and restarted ofbiz. but
its not creating new entity (DB table).
Is there any setting to setup?
 
Logs : Entity [XYZ] has no table in the database
 
Thank you,
 
Have a nice day,
Radhakrishna


Some stuff you should know (otherwise known as a disclaimer):

The information in this message is confidential and may be legally privileged. It is intended solely for the addressee. Access to this message by anyone else is unauthorised.  If you are not the intended recipient, any disclosure, copying, printing or distribution of the message, or any action or omission taken by you in reliance on it, is prohibited and may be unlawful.  Any opinions expressed in this e-mail, are those of the individual, and do not necessarily reflect those of the company. If you have received this message in error, please delete the message and any attachment(s) from your mailbox and contact I Want One of Those Ltd on [hidden email].  Thank you.

 


Reply | Threaded
Open this post in threaded view
|

RE: Creating an entity in ofbiz

Radhakrishna Kotakonda

Yes,  it set to true
  add-missing-on-start="true"  set in entityengine.xml
[framework/entity/config]

In log i found one error : GenericDelegator.java:375:ERROR] 1 entities
were named in ModelGroup but not defined in any EntityModel.

Have a nice day,


________________________________

From: Bilgin Ibryam [mailto:[hidden email]]
Sent: 18 March 2009 10:21
To: Radhakrishna Kotakonda
Subject: Re: Creating an entity in ofbiz


Do you have     add-missing-on-start="true" set in your entityengine.xml

Bilgin


On Mar 18, 2009, at 11:31 AM, Radhakrishna Kotakonda wrote:


        Hi All,
        I have created entity in my localhost
           1) Created an entity in entityengine.xml
           2) Added entity to entitygroup.xml
           3) Included entityengine and entitygroup in
ofbiz-components.xml
       
        then I have restarted ofbiz in my local system. It has created
DB table
        then it worked fine.
       
        I have deployed to test environment all 3 files and restarted
ofbiz. but
        its not creating new entity (DB table).
        Is there any setting to setup?
       
        Logs : Entity [XYZ] has no table in the database
       
        Thank you,
       
        Have a nice day,
        Radhakrishna
       
       
        Some stuff you should know (otherwise known as a disclaimer):
       
        The information in this message is confidential and may be
legally privileged. It is intended solely for the addressee. Access to
this message by anyone else is unauthorised.  If you are not the
intended recipient, any disclosure, copying, printing or distribution of
the message, or any action or omission taken by you in reliance on it,
is prohibited and may be unlawful.  Any opinions expressed in this
e-mail, are those of the individual, and do not necessarily reflect
those of the company. If you have received this message in error, please
delete the message and any attachment(s) from your mailbox and contact I
Want One of Those Ltd on [hidden email].  Thank
you.
       
       
       
       
       


Reply | Threaded
Open this post in threaded view
|

Re: Creating an entity in ofbiz

BJ Freeman
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

current trunk the modelgroup is generated automatically.

Radhakrishna Kotakonda sent the following on 3/18/2009 3:30 AM:

>  
> Yes,  it set to true
>   add-missing-on-start="true"  set in entityengine.xml
> [framework/entity/config]
>  
> In log i found one error : GenericDelegator.java:375:ERROR] 1 entities
> were named in ModelGroup but not defined in any EntityModel.
>  
> Have a nice day,
>
>
> ________________________________
>
> From: Bilgin Ibryam [mailto:[hidden email]]
> Sent: 18 March 2009 10:21
> To: Radhakrishna Kotakonda
> Subject: Re: Creating an entity in ofbiz
>
>
> Do you have     add-missing-on-start="true" set in your entityengine.xml
>
> Bilgin
>
>
> On Mar 18, 2009, at 11:31 AM, Radhakrishna Kotakonda wrote:
>
>
> Hi All,
> I have created entity in my localhost
>   1) Created an entity in entityengine.xml
>   2) Added entity to entitygroup.xml
>   3) Included entityengine and entitygroup in
> ofbiz-components.xml
>
> then I have restarted ofbiz in my local system. It has created
> DB table
> then it worked fine.
>
> I have deployed to test environment all 3 files and restarted
> ofbiz. but
> its not creating new entity (DB table).
> Is there any setting to setup?
>
> Logs : Entity [XYZ] has no table in the database
>
> Thank you,
>
> Have a nice day,
> Radhakrishna
>
>
> Some stuff you should know (otherwise known as a disclaimer):
>
> The information in this message is confidential and may be
> legally privileged. It is intended solely for the addressee. Access to
> this message by anyone else is unauthorised.  If you are not the
> intended recipient, any disclosure, copying, printing or distribution of
> the message, or any action or omission taken by you in reliance on it,
> is prohibited and may be unlawful.  Any opinions expressed in this
> e-mail, are those of the individual, and do not necessarily reflect
> those of the company. If you have received this message in error, please
> delete the message and any attachment(s) from your mailbox and contact I
> Want One of Those Ltd on [hidden email].  Thank
> you.
>
>
>
>
>
>
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJwOforP3NbaWWqE4RAlHyAKCiOjpy7aZLkjE4nmr8UQ+yqukB3wCfSZef
L4LRv3apWwRD6A0CQmJcp4U=
=Kqyj
-----END PGP SIGNATURE-----