09-06-2010 07:49 AM
09-13-2010 03:51 AM
INSERT INTO alf_node_properties (node_id,actual_type_n,persisted_type_n,boolean_value,long_value,float_value,double_value,string_value,serializable_value,qname_id,list_index,locale_id) VALUES(20000,6,6,0,0,0,0,0,NULL,935,-1,2);
But this gave the error:
ERROR 1452 (23000): Cannot add or update a child row: a foreign key constraint fails (`alfresco/alf_node_properties`, CONSTRAINT `fk_alf_nprop_n` FOREIGN KEY (`node_id`) REFERENCES `alf_node` (`id`))
As far as I know this is because the node_id is referring to another table with node_id, but I don't know how to add to multiple tables and how to ensure that I'm adding to the right tables.Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.