Update of /cvsroot/hibernate/Hibernate/cirrus/hibernate
In directory sc8-pr-cvs1:/tmp/cvs-serv888
Modified Files:
Datastore.java Hibernate.java ScrollableResults.java
Log Message:
Benoit Menendez patches to SchemaUpdater and blob support
Index: Datastore.java
===================================================================
RCS file: /cvsroot/hibernate/Hibernate/cirrus/hibernate/Datastore.java,v
retrieving revision 1.31
retrieving revision 1.32
diff -C2 -d -r1.31 -r1.32
*** Datastore.java 4 Nov 2002 00:55:30 -0000 1.31
--- Datastore.java 14 Dec 2002 09:27:55 -0000 1.32
***************
*** 7,10 ****
--- 7,11 ----
import org.w3c.dom.Document;
import cirrus.hibernate.sql.Dialect;
+ import cirrus.hibernate.tools.updater.JdbcDatabaseInfo;
/**
***************
*** 153,157 ****
public String[] generateDropSchemaScript(Dialect dialect)
throws HibernateException;
- String[] generateSchemaUpdateScript(Dialect dialect, java.util.Map tableColumnInfo) throws HibernateException;
}
--- 154,158 ----
public String[] generateDropSchemaScript(Dialect dialect)
throws HibernateException;
+ public String[] generateSchemaUpdateScript(Dialect dialect, JdbcDatabaseInfo info) throws HibernateException;
}
Index: Hibernate.java
===================================================================
RCS file: /cvsroot/hibernate/Hibernate/cirrus/hibernate/Hibernate.java,v
retrieving revision 1.63
retrieving revision 1.64
diff -C2 -d -r1.63 -r1.64
*** Hibernate.java 27 Nov 2002 22:38:02 -0000 1.63
--- Hibernate.java 14 Dec 2002 09:27:55 -0000 1.64
***************
*** 87,90 ****
--- 87,98 ----
*/
public static final NullableType BINARY = new BinaryType();
+ /**
+ * Hibernate <tt>blob</tt> type
+ */
+ public static final NullableType BLOB = new BlobType();
+ /**
+ * Hibernate <tt>clob</tt> type
+ */
+ public static final NullableType CLOB = new ClobType();
/**
* Hibernate <tt>calendar</tt> type
Index: ScrollableResults.java
===================================================================
RCS file: /cvsroot/hibernate/Hibernate/cirrus/hibernate/ScrollableResults.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** ScrollableResults.java 26 Nov 2002 03:35:40 -0000 1.6
--- ScrollableResults.java 14 Dec 2002 09:27:55 -0000 1.7
***************
*** 123,126 ****
--- 123,130 ----
*/
public byte[] getBinary(int col) throws SQLException, HibernateException;
+ /**
+ * Convenience method to read a blob
+ */
+ public java.sql.Blob getBlob(int col) throws SQLException, HibernateException;
/**
* Convenience method to read a string
|