Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit45b5d79

Browse files
author
Peter Mount
committed
Thu Jan 18 12:24:00 GMT 2001 peter@retep.org.uk
- These methods in org.postgresql.jdbc2.ResultSet are now implemented: getBigDecimal(int) ie: without a scale (why did this get missed?) getBlob(int) getCharacterStream(int) getConcurrency() getDate(int,Calendar) getFetchDirection() getFetchSize() getTime(int,Calendar) getTimestamp(int,Calendar) getType() NB: Where int represents the column name, the associated version taking a String were already implemented by calling the int version. - These methods no longer throw the not implemented but the new noupdate error. This is in preparation for the Updateable ResultSet support which will overide these methods by extending the existing class to implement that functionality, but needed to show something other than notimplemented: cancelRowUpdates() deleteRow() - Added new error message into errors.properties "postgresql.noupdate" This is used by jdbc2.ResultSet when an update method is called and the ResultSet is not updateable. A new method notUpdateable() has been added to that class to throw this exception, keeping the binary size down. - Added new error message into errors.properties "postgresql.psqlnotimp" This is used instead of unimplemented when it's a feature in the backend that is preventing this method from being implemented. - Removed getKeysetSize() as its not part of the ResultSet APIThu Jan 18 09:46:00 GMT 2001 peter@retep.org.uk - Applied modified patch from Richard Bullington-McGuire <rbulling@microstate.com>. I had to modify it as some of the code patched now exists in different classes, and some of it actually patched obsolete code.Wed Jan 17 10:19:00 GMT 2001 peter@retep.org.uk - Updated Implementation to include both ANT & JBuilder - Updated README to reflect the changes since 7.0- Created jdbc.jpr file which allows JBuilder to be used to edit the source. JBuilder _CAN_NOT_ be used to compile. You must use ANT for that. It's only to allow JBuilders syntax checking to improve the drivers source. Refer to Implementation for more details
1 parent89ac643 commit45b5d79

25 files changed

+1459
-550
lines changed

‎build.xml

Lines changed: 94 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
1+
<!--
2+
3+
build file to allow ant (http://jakarta.apache.org/ant/) to be used
4+
to build the PostgreSQL JDBC Driver and any associated java utilities under
5+
/contrib.
6+
7+
This is placed here for three reasons:
8+
9+
1: You only need to run ANT once to get everything.
10+
2: To let people know that there are more java sources under /contrib.
11+
3: In the next release (after 7.1) it's intended to have configure to
12+
detect the presence of both the JDK and ANT, and if both are found
13+
to build the jdbc driver and utils with the rest of postgresql.
14+
15+
$Id: build.xml,v 1.1 2001/01/18 14:50:14 peter Exp $
16+
17+
-->
18+
19+
<projectname="postgresql"default="jar"basedir=".">
20+
21+
<!--
22+
This is the normal entry point. It builds first the
23+
jdbc driver, then the extra tools.
24+
-->
25+
<targetname="jar">
26+
<antcalltarget="call">
27+
<paramname="target"value="jar" />
28+
</antcall>
29+
</target>
30+
31+
<!--
32+
This entry point clears the source tree. Call this when you want
33+
to build a clean install.
34+
-->
35+
<targetname="clean">
36+
<antcalltarget="call">
37+
<paramname="target"value="clean" />
38+
</antcall>
39+
</target>
40+
41+
<!--
42+
This entry point installs the .jar files into an install directory.
43+
44+
To use this, call ant as follows:
45+
46+
ant -Dinstall.directory=mydir install
47+
48+
Where mydir is the _Absolute_ path of the directory to create.
49+
50+
51+
If the directory mydir does not exist it will be created.
52+
53+
If the directory is not absolute then the install will fail by
54+
creating subdirectories in the build path. Be careful.
55+
56+
57+
This is intended for "make install" to call it.
58+
59+
e.g.
60+
Windows: ant -Dc:\jars install
61+
Unix: ant -Dinstall.directory=/usr/local/lib/jars install
62+
Cygwin: ant -Dinstall.directory=$(cygpath -w /usr/local/lib/jars) install
63+
64+
-->
65+
<targetname="install"if="install.directory">
66+
<mkdirdir="${install.directory}" />
67+
<antcalltarget="call">
68+
<paramname="target"value="install" />
69+
</antcall>
70+
</target>
71+
72+
<!--
73+
This actually calls the other two build.xml files.
74+
To use it, use the <antcall> tag, and pass the destination target
75+
within a <param> tag using name="target".
76+
77+
ie:
78+
79+
<antcall target="call">
80+
<param name="target" value="mytarget" />
81+
</antcall>
82+
83+
Here, the target mytarget will be called from all the sub build.xml
84+
files.
85+
86+
Note:The target must be present in _ALL_ build.xml files otherwise
87+
the build will fail.
88+
-->
89+
<targetname="call">
90+
<antdir="src/interfaces/jdbc"target="${target}" />
91+
<antdir="contrib/retep"target="${target}" />
92+
</target>
93+
</project>
94+

‎contrib/retep/CHANGELOG

Whitespace-only changes.

‎contrib/retep/Implementation

Whitespace-only changes.

‎contrib/retep/README

Whitespace-only changes.

‎contrib/retep/build.xml

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
<!--
2+
3+
build file to build the donated retep tools packages
4+
5+
$Id: build.xml,v 1.1 2001/01/18 14:50:14 peter Exp $
6+
7+
-->
8+
9+
<projectname="retep"default="jar"basedir=".">
10+
11+
<!-- set global properties for this build-->
12+
<propertyname="src"value="." />
13+
<propertyname="dest"value="build" />
14+
<propertyname="package"value="uk/org/retep" />
15+
<propertyname="jars"value="jars" />
16+
17+
<!-- Some checks used to build dependent on the environment-->
18+
<targetname="checks">
19+
<availableproperty="jdk1.2+"classname="java.lang.ThreadLocal" />
20+
<availableproperty="jdk1.3+"classname="java.lang.StrictMath" />
21+
<availableproperty="jdk1.2e+"classname="javax.sql.DataSource" />
22+
<availableproperty="xml"classname="org.xml.sax.Parser" />
23+
</target>
24+
25+
<!-- Prepares the build by creating a directory to place the class files-->
26+
<targetname="prepare">
27+
<mkdirdir="${dest}" />
28+
<mkdirdir="${jars}" />
29+
</target>
30+
31+
<!-- This target removes any class files from the build directory-->
32+
<targetname="clean">
33+
<deletedir="${dest}" />
34+
<deletedir="${jars}" />
35+
</target>
36+
37+
<!-- Builds the XML Tools-->
38+
<targetname="xml"depends="checks,prepare"if="xml">
39+
<javacsrcdir="${src}"destdir="${dest}">
40+
<includename="${package}/xml/**" />
41+
</javac>
42+
</target>
43+
44+
<!-- Builds the various jar files-->
45+
<targetname="jar"depends="xml">
46+
<jarjarfile="${jars}/retepTools.jar"basedir="${dest}">
47+
<includename="${package}/xml/parser/**"if="xml" />
48+
</jar>
49+
</target>
50+
51+
<targetname="install"depends="jar"if="install.directory">
52+
<copytodir="${install.directory}"overwrite="true"filtering="off">
53+
<filesetdir="${jars}">
54+
<includename="**/*.jar" />
55+
</fileset>
56+
</copy>
57+
</target>
58+
59+
</project>
60+

‎contrib/retep/retep.jpx

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
3+
<!--JBuilder XML Project-->
4+
<project>
5+
<propertycategory="idl"name="ProcessIDL"value="false" />
6+
<propertycategory="runtime.0"name="RunnableType"value="com.borland.jbuilder.runtime.ApplicationRunner" />
7+
<propertycategory="runtime.0"name="jsprunner.docbase"value="." />
8+
<propertycategory="runtime.0"name="jsprunner.jspfile"value="E%|/docs/java/xml/example6" />
9+
<propertycategory="sys"name="AuthorLabel"value="@author" />
10+
<propertycategory="sys"name="BackupPath"value="bak" />
11+
<propertycategory="sys"name="BeansInstantiate"value="false" />
12+
<propertycategory="sys"name="BraceStyle"value="1" />
13+
<propertycategory="sys"name="CheckStable"value="1" />
14+
<propertycategory="sys"name="Company"value="" />
15+
<propertycategory="sys"name="CompanyLabel"value="Company:" />
16+
<propertycategory="sys"name="Copyright"value="Copyright (c) 2001" />
17+
<propertycategory="sys"name="CopyrightLabel"value="Copyright:" />
18+
<propertycategory="sys"name="DefaultPackage"value="org.postgresql.core" />
19+
<propertycategory="sys"name="Description"value="" />
20+
<propertycategory="sys"name="DescriptionLabel"value="Description:" />
21+
<propertycategory="sys"name="DocPath"value="doc" />
22+
<propertycategory="sys"name="EventMatch"value="false" />
23+
<propertycategory="sys"name="EventStyle"value="1" />
24+
<propertycategory="sys"name="ExcludeClassEnabled"value="0" />
25+
<propertycategory="sys"name="InstanceVisibility"value="0" />
26+
<propertycategory="sys"name="JDK"value="java 1.3.0-C" />
27+
<propertycategory="sys"name="LastTag"value="0" />
28+
<propertycategory="sys"name="Libraries"value="JAXP" />
29+
<propertycategory="sys"name="MakeStable"value="0" />
30+
<propertycategory="sys"name="OutPath"value="build" />
31+
<propertycategory="sys"name="SourcePath"value="." />
32+
<propertycategory="sys"name="Title"value="" />
33+
<propertycategory="sys"name="TitleLabel"value="Title:" />
34+
<propertycategory="sys"name="Version"value="1.0" />
35+
<propertycategory="sys"name="VersionLabel"value="@version" />
36+
<propertycategory="sys"name="WorkingDirectory"value="." />
37+
<nodetype="Package"name="uk.org.retep.xml.jdbc" />
38+
<nodetype="Package"name="uk.org.retep.xml.parser" />
39+
<filepath="build.xml" />
40+
<filepath="CHANGELOG" />
41+
<filepath="Implementation" />
42+
<filepath="README" />
43+
</project>
44+

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp