import org.postgresql.*;
import org.postgresql.util.*;
-/*
+/**
* A ResultSetMetaData object can be used to find out about the types and
* properties of the columns in a ResultSet
*
return getField(column).getPGType();
}
- /*
+ /**
* Is the column definitely not writable? In reality, we would
* have to check the GRANT/REVOKE stuff for this to be effective,
* and I haven't really looked into that yet, so this will get
return false;
}
- /*
+ /**
* Is it possible for a write on the column to succeed? Again, we
* would in reality have to check the GRANT/REVOKE stuff, which
* I haven't worked with as yet. However, if it isn't ReadOnly, then
return !isReadOnly(column);
}
- /*
+ /**
* Will a write on this column definately succeed? Hmmm...this
* is a bad one, since the two preceding functions have not been
* really defined. I cannot tell is the short answer. I thus
// END OF PUBLIC INTERFACE
// ********************************************************
- /*
+ /**
* For several routines in this package, we need to convert
* a columnIndex into a Field[] descriptor. Rather than do
* the same code several times, here it is.
default:
throw org.postgresql.Driver.notImplemented();
}
-
+ }
}