Hi all,
I have just changed my locale settings to en_GB for linux and postgresql
and changed the locale settings in tr.props as below.
Having done this I get the following error each time i try to insert
into the db :-
org.apache.torque.TorqueException: IdGenerator for table
'usertenderclass' is null
at org.apache.torque.util.BasePeer.doInsert(BasePeer.java:692)
at
com.ittdirect.tolreg.om.BaseUsertenderclassPeer.doInsert(BaseUsertenderclassPeer.java:224)
at
com.ittdirect.tolreg.om.BaseUsertenderclassPeer.doInsert(BaseUsertenderclassPeer.java:576)
at
com.ittdirect.tolreg.om.BaseUsertenderclass.save(BaseUsertenderclass.java:294)
at
com.ittdirect.tolreg.om.BaseUsertenderclass.save(BaseUsertenderclass.java:256)
at
com.ittdirect.tolreg.om.BaseUsertenderclass.save(BaseUsertenderclass.java:236)
I guess I must have missed something but I cannot figure out what. Any
thoughts would be much appreciated.
The reason for mucking about with locale settings ( which I have left at
default up until now) is that I need to use � signs and I am having
trouble getting them into the db. postgresql accepts them from the
command line but not via turbine/torque.
Again, if anyone has solved this issue I would very much like to hear
how. I've already spent too much time on it :-(
System :-
RedHat Linux 7.2
postgresql 7.2
turbine 2.3
torque 3.1-alpha2
jvm 1.3.1
tr.props settings :-
locale.default.bundle=MyBundle
locale.default.language=en
locale.default.country=UK
#
# This will set the charset= portion of the ContentType: header.
# Leave commented out unless you want to return stuff as a different
# charset.
#
#locale.default.charset=
Thanks,
Peter
--
Peter Courcoux <[EMAIL PROTECTED]>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]