I do that using native JDBC/SQL statement instead to use JPA techniques. Is
that correct?


Miro.

On 1/30/08, Miroslav Nachev <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I have custom JDBCSequence implementation where before to return the
> generated Id I would like to persists one object which is required
> (Foreign Key constrain) from the main object which will use the returned
> Id from nextInternal() method.
>
> How can I persists that object in the same transaction before the main
> object to be persisted?
>
>
> Regards,
> Miro.
>

Reply via email to