I have created a module and EAV tables for that. Module's tables are very similar to customer_Address entity and i have defined Attribute AttrA, AttrB and AttrC for this table. 

So table structure is very similar to as follows:

+------------------+----------------------+------+-----+---------------------+----------------+
| Field            | Type                 | Null | Key | Default             | Extra          |
+------------------+----------------------+------+-----+---------------------+----------------+
| entity_id        | int(10) unsigned     | NO   | PRI | NULL                | auto_increment |
| entity_type_id   | smallint(5) unsigned | NO   |     | 0                   |                |
| attribute_set_id | smallint(5) unsigned | NO   |     | 0                   |                |
| increment_id     | varchar(50)          | YES  |     | NULL                |                |
| parent_id        | int(10) unsigned     | YES  | MUL | NULL                |                |
| created_at       | timestamp            | NO   |     | 0000-00-00 00:00:00 |                |
| updated_at       | timestamp            | NO   |     | 0000-00-00 00:00:00 |                |
| is_active        | smallint(5) unsigned | NO   |     | 1                   |                |
+------------------+----------------------+------+-----+---------------------+----------------+


and AttrA, AttrB and AttrC values are stored in tables with respective data type.

Now using the basic syntax, I am able to add value of attributes AttrA, AttrB and AttrC. Which is:

$model = Mage::getModel('customer/address');
$model-&gt;setAttrA('ValA')-&gt;setAttrB('ValB')-&gt;setAttrC('ValC');


doing this correctly sets the values of AttrA, AttrB and AttrC but value of parent_id in customer_entity sets to NULL by default.

Here I want to be able to set the parent_id to some other value. 

For this i tried suggestion given in different post using setParentId(&lt;parent-id-value&gt;). Which is not working in my case. Any idea how i can do this?


Question: Running Linux inside Windows XP, ie no dual booting
Answer: What you are after is virtualization, such as VMWare or, like you said, VirtualBox. These allow you to run any guest operating system within a host operating system, inside a window, just like you are after.

If you set the virtual machine to suspend (or 'save state') every time you are finished with it, you can have 'boot times' of something like 15 seconds.

VMWare and VirtualBox are probably the most reputable cross-platform virtual machine offerings (that are 'consumer friendly'). You could always give Xen a go, which is more for servers, instead of desktops PCs. Here is a guide on installing Windows XP on a Xen VM