This issue describes similar issue related with Oracle database and composite Id (with byte array) only.