DATACASS-705 - Introduce FactoryBean for SessionFactory.

We now provide SessionFactoryFactoryBean as factory bean and initializer for a SessionFactory.

<cassandra:session-factory>
	<cassandra:script
			location="my/scripts/schema.cql"/>
</cassandra:session-factory>

Original pull request: #167.
This commit is contained in:
Mark Paluch
2019-11-27 13:55:14 +01:00
parent efb5b4b5d4
commit 2dd83238af
14 changed files with 373 additions and 23 deletions

View File

@@ -610,8 +610,6 @@ NOTE: Keyspace creation allows rapid bootstrapping without the need of external
for certain scenarios but should be used with care. Dropping a keyspace on application shutdown removes the keyspace
and all data from the tables in the keyspace.
[[cassandra.schema-management.initializing]]
=== Initializing a `SessionFactory`