You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by "S.Hage" <sa...@hotmail.com> on 2011/09/22 01:08:39 UTC
Re: Steps of configaretion of postgresql with Ofbiz
have a look at this
http://blogs.oracle.com/robertlor/entry/ofbiz_and_postgresql
--
View this message in context: http://ofbiz.135035.n4.nabble.com/Steps-of-configaretion-of-postgresql-with-Ofbiz-tp3829349p3831836.html
Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: Steps of configaretion of postgresql with Ofbiz
Posted by Paul Foxworthy <pa...@cohsoft.com.au>.
Hello Dhiraj,
I've looked a bit more closely, and there is the option of postnew, sorry
for misleading you in my previous message. But you should use only one of
postgres or postnew, there's no reason to mix them.
Regards
Paul Foxworthy
Paul Foxworthy wrote:
>
> Hello Dhiraj,
>
> In future, *please* don't use the Ofbiz bug tracking system, Jira, for
> this sort of problem.
>
> Your problem is that the line
>
> field-type-name="postnew"
>
> shouldn't have a name of your choice, but rather a name that identifies a
> DBMS known to Ofbiz, in order to find the range of data types supported by
> that system particular database. See
>
> https://fisheye6.atlassian.com/browse/ofbiz/trunk/framework/entity/config/entityengine.xml?hb=true#to115
>
> for a list of values understood by out-of-the-box Ofbiz.
>
> So in your case, you want the word "postgres" at this point.
>
> It was the method getEntityFieldType that threw the null pointer
> exception, so that was a clue to the problem.
>
> Regards
>
> Paul Foxworthy
>
--
View this message in context: http://ofbiz.135035.n4.nabble.com/Steps-of-configaretion-of-postgresql-with-Ofbiz-tp3829349p3835991.html
Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: Steps of configaretion of postgresql with Ofbiz
Posted by Paul Foxworthy <pa...@cohsoft.com.au>.
Hello Dhiraj,
In future, *please* don't use the Ofbiz bug tracking system, Jira, for this
sort of problem.
Your problem is that the line
field-type-name="postnew"
shouldn't have a name of your choice, but rather a name that identifies a
DBMS known to Ofbiz, in order to find the range of data types supported by
that system particular database. See
https://fisheye6.atlassian.com/browse/ofbiz/trunk/framework/entity/config/entityengine.xml?hb=true#to115
for a list of values understood by out-of-the-box Ofbiz.
So in your case, you want the word "postgres" at this point.
It was the method getEntityFieldType that threw the null pointer exception,
so that was a clue to the problem.
Regards
Paul Foxworthy
--
View this message in context: http://ofbiz.135035.n4.nabble.com/Steps-of-configaretion-of-postgresql-with-Ofbiz-tp3829349p3835904.html
Sent from the OFBiz - User mailing list archive at Nabble.com.