Details
Description
Add code to IdentityKeyGenerator so that we can extract the value assigned to an identity column (by Pointbase) programmatically. As I am writing this, there's a support query with Borland to have this question answered.
As an alternative, Pointbase supports retrieval of bespoke value through the JDBC 3.0 interfaces.
Issue Links
- depends upon
-
CASTOR-1305
Support for Pointbase
-
Activity
Werner Guttmann
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Link |
This issue depends upon |
Werner Guttmann
made changes -
| Attachment | patch.C1310.20060205.txt [ 18951 ] |
Werner Guttmann
made changes -
| Attachment | patch.C1310.20060206.txt [ 18960 ] |
Werner Guttmann
made changes -
| Attachment | patch.C1310.20060206-002.txt [ 18961 ] |
Werner Guttmann
made changes -
| Attachment | patch.C1310.20060206-002.txt [ 18961 ] |
Werner Guttmann
made changes -
| Attachment | patch.C1310.20060206-002.txt [ 18962 ] |
Werner Guttmann
made changes -
| Attachment | patch.C1310.20060206.txt [ 18975 ] |
Werner Guttmann
made changes -
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Resolution | Fixed [ 1 ] |
Ralf Joachim
made changes -
| Status | Resolved [ 5 ] | Closed [ 6 ] |
On the subject of using Statement.getGenersatedKeys() (JDBC 3,0), here's some interesting links:
http://dev.mysql.com/tech-resources/articles/autoincrement-with-connectorj.html
http://java.sun.com/j2se/1.4.2/docs/api/java/sql/Statement.html#getGeneratedKeys()
http://java.sun.com/j2se/1.4.2/docs/api/java/sql/Statement.html#execute(java.lang.String,%20int)
http://java.sun.com/j2se/1.4.2/docs/api/java/sql/Statement.html#executeUpdate(java.lang.String,%20int)
In my humble opinion, it should be pretty straight-forward to have an initial implementation ready for use. Having said that, we should spend some time thinking about how to make this available (if at all), as clearly this would create a dependency on Java 1.4ff.