You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by cjhorton <ja...@gmail.com> on 2008/12/23 20:42:41 UTC

Best Practice for unused entities and components

Hi Everyone,

Several months ago I stumbled upon a post somewhat discussing this, but I
cannot find it now so I am posting a new message.

What is the best practice for unused entities and components?

Of the nearly 1000 entities my application will only use perhaps 50-100 of
those.  Furthermore, I won't be using several of the OOTB components.  Do
you recommend just commenting out the entities that won't be called? 

Thanks!

-CJ
-- 
View this message in context: http://www.nabble.com/Best-Practice-for-unused-entities-and-components-tp21150187p21150187.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: Best Practice for unused entities and components

Posted by CJay Horton <ja...@gmail.com>.
In that case I will just leave them in.

Thanks for the reply BJ.

On Tue, Dec 23, 2008 at 2:42 PM, BJ Freeman <bj...@free-man.net> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> first they don't take up any room in the DB since you are not add info
> to them.
> I doubt you will take a performance hit by leaving them in.
>
> however if you want to and they have no relationships or are not used in
> any SECA or service then you can comment them out.
>
>
> cjhorton sent the following on 12/23/2008 11:42 AM:
>> Hi Everyone,
>>
>> Several months ago I stumbled upon a post somewhat discussing this, but I
>> cannot find it now so I am posting a new message.
>>
>> What is the best practice for unused entities and components?
>>
>> Of the nearly 1000 entities my application will only use perhaps 50-100 of
>> those.  Furthermore, I won't be using several of the OOTB components.  Do
>> you recommend just commenting out the entities that won't be called?
>>
>> Thanks!
>>
>> -CJ
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFJUU0frP3NbaWWqE4RAnkCAJ9httwVOSAmhC8VmGVbgk25uMGb+wCeJboI
> 3f12biA35u9epyEJoHAR3Ys=
> =ULhG
> -----END PGP SIGNATURE-----
>

Re: Best Practice for unused entities and components

Posted by BJ Freeman <bj...@free-man.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

first they don't take up any room in the DB since you are not add info
to them.
I doubt you will take a performance hit by leaving them in.

however if you want to and they have no relationships or are not used in
any SECA or service then you can comment them out.


cjhorton sent the following on 12/23/2008 11:42 AM:
> Hi Everyone,
> 
> Several months ago I stumbled upon a post somewhat discussing this, but I
> cannot find it now so I am posting a new message.
> 
> What is the best practice for unused entities and components?
> 
> Of the nearly 1000 entities my application will only use perhaps 50-100 of
> those.  Furthermore, I won't be using several of the OOTB components.  Do
> you recommend just commenting out the entities that won't be called? 
> 
> Thanks!
> 
> -CJ
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJUU0frP3NbaWWqE4RAnkCAJ9httwVOSAmhC8VmGVbgk25uMGb+wCeJboI
3f12biA35u9epyEJoHAR3Ys=
=ULhG
-----END PGP SIGNATURE-----