For whatever reason, I couldn't get "native" autoincrement columns to work in Postgres with torque 2.1--it kept giving me a db error that I was trying to insert a null value into a not-null column foo_id.
3.0 (latest from cvs) looks like it gives me a different error: xxxxxx_seq.currval not defined on this session. (Perhaps it needs to call .nextval first.) -- Bill The id broker seems to work fine, with one exception: in Postgres, >>In my little understanding of the engine, RDF_ID >>should be considered as "serial" i.e: AUTOINCREMENT insteed >>of INTEGER, furthermore idMethod of the table should be set >>to 'native' in order to use sequence capabilitie of postgres. >> >>So, I've made those changes in 'newapp-schema.xml', trying to set >>RDF_ID's type to "AUTOINCREMENT". Unfortunatly, I couldn't get >>the 'newapp' being initialized correctly (Build Faillure). >>I've then play arround with the table property idMethod="native" >>without more success. >> >>Would someone be nice enough in helping me to achieve setup ? -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
