Hi,

The JdbcPreparedStatement.executeBatch method would need to be changed
quite a bit. That means, the client-server protocol needs to be changed,
which requires a new Constants.TCP_PROTOCOL_VERSION_16. That way, both the
client and the server are backward compatible.

Regards,
Thomas

On Mon, Jun 15, 2015 at 9:56 AM, Noel Grandin <[email protected]> wrote:

>
>
> On 2015-06-13 08:57 AM, iJava wrote:
>
>> Ok. This feature is really very important for me.  I will try to
>> implement it myself. Could you just point me where I
>> should look at in order not to look through all the code.
>>
>>
>
> org.h2.jdbc.JdbcConnection#getGeneratedKeys
>
> which calls the SCOPE_IDENTITY function:
>    http://h2database.com/html/functions.html#scope_identity
>
> which is implemented in org.h2.expression.Function line 907 by calling
>   org.h2.engine.Session#getLastScopeIdentity
>
> which is where you will have to somehow store an array of values.
>
> You will probably need to implement a new SQL function, because we can't
> mess with the existing one
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "H2 Database" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/h2-database.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/h2-database.
For more options, visit https://groups.google.com/d/optout.

Reply via email to