This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 26898 - DefaultAdaptor not compilable under JDK 1.4
Summary: DefaultAdaptor not compilable under JDK 1.4
Status: VERIFIED FIXED
Alias: None
Product: db
Classification: Unclassified
Component: Code (show other bugs)
Version: 3.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Radko Najman
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-08-29 20:58 UTC by Jesse Glick
Modified: 2006-06-05 11:04 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2002-08-29 20:58:12 UTC
Due to some added methods in DatabaseMetaData,
apparently.

precompile:
Compiling 60 source files to
/space/src/nb_all/db/libsrc
/space/src/nb_all/db/libsrc/org/netbeans/lib/ddl/adaptors/DefaultAdaptor.java:24:
org.netbeans.lib.ddl.adaptors.DefaultAdaptor
should be declared abstract; it does not define
supportsSavepoints() in
org.netbeans.lib.ddl.adaptors.DefaultAdaptor
public class DefaultAdaptor implements
DatabaseMetaDataAdaptor, Serializable
       ^

Probably would suffice to add all these methods,
and return false. The result if compiled on 1.3
might not work under 1.4 (I don't know offhand),
but it would at least compile and work under 1.4
and compile and work under 1.3, and may also
compile under 1.4 and work under 1.3.
Comment 1 Radko Najman 2002-08-30 08:51:38 UTC
We are aware of this issue. It was caused by API chages in JDBC 3.0
specification and we haven't had enough time to work on it yet.

The only problem is that the module is not compilable under JDK 1.4
but if you compile it under 1.3 it will work under 1.4
Comment 2 Radko Najman 2002-09-18 08:24:41 UTC
Fixed. New JDBC 3.0 methods were implemented. They return fake values;
they were implemented just to alllow to compile the module under JDK 1.4
Comment 3 David Kaspar 2002-11-18 13:35:09 UTC
Verified in main trunk