Write code that uses Datalinks

How you work with Datalinks is dependent on what release you are working with. In JDBC 3.0, there is support to work directly with Datalink columns using the getURL and putURL methods.

With previous JDBC versions, you had to work with Datalink columns as if they were String columns. Presently, the database does not support automatic conversions between Datalink and character data types. As a result, you need perform some type casting in your SQL statements.

Related concepts
Write code that uses BLOBs
Write code that uses CLOBs
Related reference
Example: Distinct types