*/
public static int populateOwnerInStatement(ObjectProvider sm, ExecutionContext ec, Object ps,
int jdbcPosition, PersistableJoinTable joinTable)
{
MappedStoreManager storeMgr = (MappedStoreManager)ec.getStoreManager();
if (!storeMgr.insertValuesOnInsert(joinTable.getOwnerMapping().getDatastoreMapping(0)))
{
// Don't try to insert any mappings with insert parameter that isnt ? (e.g Oracle)
return jdbcPosition;
}