2007-03-15から1日間の記事一覧

定数をxmlでつかう

util:constantを使うと、static定数をプロパティとして利用できる。 <beans xmlns="http://www.springframework.org/schema/beans" xmlns:util="http://www.springframework.org/schema/util"> <bean id="..." class="..."> <property name="isolation"> <util:constant static-field="java.sql.Connection.TRANSACTION_SERIALIZABLE"/> </util:constant></property></bean></beans>

論理構造の表示

デバック時、変数ビューの右上の「論理構造の表示」を押すと、MapやListが見やすくなる。 知らなかった・・・・