From: <one...@us...> - 2003-01-14 14:07:19
|
Update of /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate In directory sc8-pr-cvs1:/tmp/cvs-serv30892/src/net/sf/hibernate Modified Files: Query.java Session.java SessionFactory.java Log Message: fixed Javadoc bugs Index: Query.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/Query.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** Query.java 14 Jan 2003 13:42:06 -0000 1.4 --- Query.java 14 Jan 2003 14:07:02 -0000 1.5 *************** *** 71,75 **** * * @return the result iterator - * @throws SQLException * @throws HibernateException */ --- 71,74 ---- *************** *** 85,89 **** * @see ScrollableResults * @return the result iterator - * @throws SQLException * @throws HibernateException */ --- 84,87 ---- *************** *** 95,99 **** * * @return the result list - * @throws SQLException * @throws HibernateException */ --- 93,96 ---- Index: Session.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/Session.java,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** Session.java 14 Jan 2003 13:42:07 -0000 1.5 --- Session.java 14 Jan 2003 14:07:04 -0000 1.6 *************** *** 71,75 **** * persistable state held in memory. * - * @throws SQLException * @throws HibernateException */ --- 71,74 ---- *************** *** 99,103 **** * @return the JDBC connection in use by the <tt>Session</tt> * @throws HibernateException if the <tt>Session</tt> is disconnected - * @throws SQLException */ public Connection connection() throws HibernateException; --- 98,101 ---- *************** *** 112,116 **** * @return the connection provided by the application or <tt>null</tt> * @throws HibernateException if the <tt>Session</tt> is disconnected - * @throws SQLException * @see Session#reconnect() */ --- 110,113 ---- *************** *** 121,125 **** * require long transactions. * - * @throws SQLException * @see Session#disconnect() */ --- 118,121 ---- *************** *** 143,147 **** * @return the connection provided by the application * or <tt>null</tt> - * @throws SQLException * @throws HibernateException */ --- 139,142 ---- *************** *** 181,185 **** * @param lockMode the lock level * @return the persistent instance - * @throws SQLException * @throws HibernateException */ --- 176,179 ---- *************** *** 192,196 **** * @param id a valid identifier of an existing persistent instance of the class * @return the persistent instance - * @throws SQLException * @throws HibernateException */ --- 186,189 ---- *************** *** 202,206 **** * @param object an "empty" instance of the persistent class * @param id a valid identifier of an existing persistent instance of the class - * @throws SQLException * @throws HibernateException */ --- 195,198 ---- *************** *** 214,218 **** * @param object a transient instance of a persistent class * @return the generated identifier - * @throws SQLException * @throws HibernateException */ --- 206,209 ---- *************** *** 224,228 **** * @param object a transient instance of a persistent class * @param id an unused valid identifier - * @throws SQLException * @throws HibernateException */ --- 215,218 ---- *************** *** 238,242 **** * @see Session#update(Object object, Serializable id) * @param object a transient instance containing new or updated state - * @throws SQLException * @throws HibernateException */ --- 228,231 ---- *************** *** 255,259 **** * * @param object a transient instance containing updated state - * @throws SQLException * @throws HibernateException */ --- 244,247 ---- *************** *** 270,274 **** * @param object a transient instance containing updated state * @param id identifier of persistent instance - * @throws SQLException * @throws HibernateException */ --- 258,261 ---- *************** *** 281,285 **** * * @param object the instance to be removed - * @throws SQLException * @throws HibernateException */ --- 268,271 ---- *************** *** 291,295 **** * @param query a query expressed in Hibernate's query language * @return a distinct list of instances (or arrays of instances) - * @throws SQLException * @throws HibernateException */ --- 277,280 ---- *************** *** 304,308 **** * @see Hibernate for access to <tt>Type</tt> instances * @return a distinct list of instances (or arrays of instances) - * @throws SQLException * @throws HibernateException */ --- 289,292 ---- *************** *** 317,321 **** * @see Hibernate for access to <tt>Type</tt> instances * @return a distinct list of instances - * @throws SQLException * @throws HibernateException */ --- 301,304 ---- *************** *** 332,336 **** * @param query the query string * @return an iterator - * @throws SQLException * @throws HibernateException */ --- 315,318 ---- *************** *** 350,354 **** * @param type the hibernate type of value * @return an iterator - * @throws SQLException * @throws HibernateException */ --- 332,335 ---- *************** *** 368,372 **** * @param types a list of Hibernate types of the values * @return an iterator - * @throws SQLException * @throws HibernateException */ --- 349,352 ---- *************** *** 381,385 **** * @param filter a filter query string * @return Collection the resulting collection - * @throws SQLException * @throws HibernateException */ --- 361,364 ---- *************** *** 395,399 **** * @param type the hibernate type of value * @return Collection - * @throws SQLException * @throws HibernateException */ --- 374,377 ---- *************** *** 409,413 **** * @param types a list of Hibernate types of the values * @return Collection - * @throws SQLException * @throws HibernateException */ --- 387,390 ---- *************** *** 419,423 **** * @param query the query string * @return the number of instances deleted - * @throws SQLException * @throws HibernateException */ --- 396,399 ---- *************** *** 431,435 **** * @param type the hibernate type of value. * @return the number of instances deleted - * @throws SQLException * @throws HibernateException */ --- 407,410 ---- *************** *** 443,447 **** * @param types a list of Hibernate types of the values * @return the number of instances deleted - * @throws SQLException * @throws HibernateException */ --- 418,421 ---- *************** *** 453,457 **** * @param object a persistent instance * @param lockMode the lock level - * @throws SQLException * @throws HibernateException */ --- 427,430 ---- *************** *** 471,475 **** * @param object a persistent instance * @throws HibernateException - * @throws SQLException */ public void refresh(Object object) throws HibernateException; --- 444,447 ---- Index: SessionFactory.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/SessionFactory.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** SessionFactory.java 14 Jan 2003 13:42:07 -0000 1.4 --- SessionFactory.java 14 Jan 2003 14:07:11 -0000 1.5 *************** *** 133,137 **** * @param interceptor a session-scoped interceptor * @return Session ! * @throws SQLException */ public Session openSession(Interceptor interceptor) throws HibernateException; --- 133,137 ---- * @param interceptor a session-scoped interceptor * @return Session ! * @throws HibernateException */ public Session openSession(Interceptor interceptor) throws HibernateException; *************** *** 150,154 **** * * @return Session ! * @throws SQLException */ public Session openSession() throws HibernateException; --- 150,154 ---- * * @return Session ! * @throws HibernateException */ public Session openSession() throws HibernateException; |