problem in dataobject 1.4
| From: | binhara | Date: | Fri, 26 Dec 2003 15:03:31 +0000 |
| Subject: | problem in dataobject 1.4 | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-9827@lists.php.net to get a copy of this message | ||
HI ..
I update my dataobject 1.2 to 1.4 version..
and my object stoped work.
i have in database type serial fields..
and dataobject dont insert on database
see ..
LOG: query: INSERT INTO agentesenior (codinstituicao , nome , email ,
rg , cpf , sexo , profissao , datadenascimento , datadocadastro , renda
, estadocivil , filhos , complemento , numero , cep ) VALUES ( 1 ,
'Shania Tain' , 'shania@uol.com' , '57123081' ,
'02581221476' , 'M' ,
'Articulador Político' , '1977-3-7' , '2003-12-26' , 3000 , 1 , 2 ,
'Rua Lalala' , 213 , '800213-530' )
DEBUG: ProcessQuery
ERROR: ExecInsert: Fail to add null value in not null attribute id
in last version i config on ini file...this
-------->> ini file
[DB_DataObject]
database = pgsql://binhara:qwe123@127.0.0.1/markcard
levels_file =
/var/www/default/legal/mkcard/Implementação/DataObjects/schema/levels.ini
schema_location =
/var/www/default/legal/mkcard/Implementação/DataObjects/schema
class_location =
/var/www/default/legal/mkcard/Implementação/DataObjects
require_prefix = DataObjects/
class_prefix = DO_
ignore_sequence_keys =
cliente,login,agentejr,agentesenior,agentejuridico,contato,cartaodecredito,rederenegocio,status,contabancaria,
cliente_prospecs
extends_location =
extends =
generator_class_rewrite =
debug = 0
debug_ignore_updates = 0
dont_die = 0
select_display_field= nome
------ end ini file
I use ignore_sequence_keys, to insert object in database and all serial
types work very well..
but now ..in 1.4 version it dont work?
What i can do ?
--
Um Forte Abraço | binhara@psl-pr.softwarelivre.org
Alessandro de O. Binhara | binhara@yahoo.com
Projeto Mono Brasil | (0xx41) 373-8898
The Monkeys make better.. | ICQ #12369354
____________________________________________________________________
http://monobrasil.redesolbrasil.org
http://psl-pr.softwarelivre.org
http://www.prsucesu.org.br