NOTE: If you are using the Spring type wiring in Java, {@link #initialize} should be called after all of theset methods. In Spring XML, init-method="initialize" should be used.
Here is an example of spring wiring.
@author graywatson<!-- our database type factory-bean --> <bean id="tableCreator" class="com.j256.ormlite.spring.TableCreator" init-method="initialize"> <property name="connectionSource" ref="connectionSource" /> <property name="configuredDaos"> <list> <ref bean="accountDao" /> <ref bean="orderDao" /> </list> </property> </bean>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|