logo       

[picocontainer-scm] [jira] Commented: (NANOPERSISTENCE-6) Allow project to : msg#00078

java.picocontainer.cvs

Subject: [picocontainer-scm] [jira] Commented: (NANOPERSISTENCE-6) Allow project to compile under JDK 1.6

[
http://jira.codehaus.org/browse/NANOPERSISTENCE-6?page=comments#action_83498 ]

Michael Rimov commented on NANOPERSISTENCE-6:
---------------------------------------------

I realize I had the wrong class. The culprit isn't DataSource, is
javax.sql.Connection that is the real culprit:

createClob

Clob createClob()
throws SQLException

Constructs an object that implements the Clob interface. The object
returned initially contains no data. The setAsciiStream, setCharacterStream and
setString methods of the Clob interface may be used to add data to the Clob.

Returns:
An object that implements the Clob interface
Throws:
SQLException - if an object that implements the Clob interface can not
be constructed, this method is called on a closed connection or a database
access error occurs.
SQLFeatureNotSupportedException - if the JDBC driver does not support
this data type
Since:
1.6


There are several other "Since 1.6" methods as well.

createBlob()
createNClob()
createSQLXML()
isValid()
setClientInfo()
and more.

See http://java.sun.com/javase/6/docs/api/java/sql/Connection.html for more
info.

Sorry for the confusion, and yes, NanoContainer-Persistence compiles fine under
JDK 1.5.

-Mike (R)



> Allow project to compile under JDK 1.6
> --------------------------------------
>
> Key: NANOPERSISTENCE-6
> URL: http://jira.codehaus.org/browse/NANOPERSISTENCE-6
> Project: NanoContainer Persistence
> Issue Type: Bug
> Reporter: Michael Rimov
> Assigned To: Konstantin Pribluda
>
> Due to changes in JDK 1.6's DataSource implementation, this project will no
> longer compile with JDK 1.6's javac as the default java compiler.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



<hr/>
<p>
To unsubscribe from this list please visit:
</p>
<p>
<a
href="http://xircles.codehaus.org/manage_email";>http://xircles.codehaus.org/manage_email</a>




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise