Bug #30863 setDefault
| Submitted: | 6 Sep 2007 13:47 | Modified: | 5 Nov 2022 1:45 |
|---|---|---|---|
| Reporter: | Marc Mirandews | Email Updates: | |
| Status: | Won't fix | Impact on me: | |
| Category: | Connector / J | Severity: | S4 (Feature request) |
| Version: | Mysql 5.1.21 | OS: | Any |
| Assigned to: | Assigned Account | CPU Architecture: | Any |
[1 Sep 2009 12:29]
Tonci Grgin
It is my opinion that introducing such function will bring little gain. Also, the effort to introduce would be great. Anyway, feature is missing, so verified as described. Mark?
[5 Nov 2022 1:45]
Filipe Silva
Feature not part of the JDBC specification.
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.050 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.
Description: We would enjoy very much the feature of setDefault con.preparestatement("insert into table values (?,?,?)"); preparedstatement.setDefault(1); preparedstatement.setDefault(2); preparedstatement.setDefault(3); (throw an exception if it does not exist a default clause in schema definition) or at least (much more inefficient) preparedstatement.setObject with a new type java.sql.Types.DEFAULT Thanks for all your great work, Marc How to repeat: not a bug Suggested fix: not a bug