Generally, the recommended approach is to use a single session with no keyspace, and prefix all your queries.
--
You received this message because you are subscribed to the Google Groups "DataStax Java Driver for Apache Cassandra User Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to java-driver-user+unsubscribe@lists.datastax.com.
Hi,Support for dynamic keyspace in the Mapper was just recently added in the driver. You would use it as following:MappingManager manager = new MappingManager(session);Mapper<UserT> mapper = manager.mapper(userClass, mapperKeyspace);The ticket was JAVA-1229 and has been released in the Java driver for Apache Cassandra 3.4.0 and the DSE driver 1.5.0.Hope that helps.Thanks.