Model save fails

heys guys, quick question:


            $oComment = oxNew('troportalcommentsmodel');
            $oComment->troportalcomment__trocommentid = new oxField($soxId);
            $oComment->troportalcomment__oxuserid = new oxField('oxadmin');
            $oComment->troportalcomment__message = new oxField($needed['troportalcomment_message']);
            $oComment->troportalcomment__oxtimestamp = new oxField(date('Y-m-d H:i:s'));
            $oComment->troportalcomment__oxinsert = new oxField(date('Y-m-d H:i:s'));
            $oComment->save();

for some reason, my model isn’t saving values, even though i can read from it.
If i var_dump $oComment before the save()-function, i have all the values I need.

I tried “$oComment->hasErrors()” but it shows me false.
Is there a way to see the query, which is executed?

what class does troportalcommentsmodel extend?
how does your save() function look like?
don’t you think, this php stuff should be in developer forum?

[QUOTE=vanilla thunder;151500]what class does troportalcommentsmodel extend?
how does your save() function look like?
don’t you think, this php stuff should be in developer forum?[/QUOTE]

it extends from oxI18n
my save-function looks like:


    public function save() {
        $myConfig = $this->getConfig();
        $blRet = parent::save();
        return $blRet;
    }

to be honest, I’m not sure where that topic belongs. I agree, it’s a programming-related question, even though it seems like a newbie-question.