Thanks alot for you rapid answer !
Ok, I thought that there was a way to do it directly from the XML def.
I have another problem with a basic xml file
it deploys and I can see it form the Liferay Portal but when I try to add something I've this message:
No CategoryTypes exists with the primary key 0and when i browse the database I find the row was successfully inserted
My JBoss debug ""
13:54:34,302 INFO (http--127.0.0.1-8080-5) 13:54:34,301
ERROR [http--127.0.0.1-8080-5][Bea nPropertiesImpl:337] jodd.bean.BeanException: Simple property not found: nUMBER2 Invalid property: 'myCollImpl#nUMBER2' (actual:'myCollImpl#nUMBER2', forced=false)
13:54:34,304 INFO (http--127.0.0.1-8080-5) jodd.bean.BeanException: Simple property not found: nUMBER2 Invalid property: 'myCollImpl#nUMBER2' (actual:'myCollImpl#nUMBER2', forced=false)""
PS: I attached my XML file
Thanks alot