# Uses of Interface
javax.sql.XAConnectionBuilder

Packages that use XAConnectionBuilder
Package
Description
javax.sql
Provides the API for server side data source access and processing from the Java programming language.

## Uses of XAConnectionBuilder in javax.sql

Methods in javax.sql that return XAConnectionBuilder
Modifier and Type
Method
Description
`default XAConnectionBuilder`
XADataSource.`createXAConnectionBuilder()`
Creates a new `XAConnectionBuilder` instance
`XAConnectionBuilder`
XAConnectionBuilder.`password(String password)`
Specifies the password to be used when creating a connection
`XAConnectionBuilder`
XAConnectionBuilder.`shardingKey(ShardingKey shardingKey)`
Specifies a `shardingKey` to be used when creating a connection
`XAConnectionBuilder`
XAConnectionBuilder.`superShardingKey(ShardingKey superShardingKey)`
Specifies a `superShardingKey` to be used when creating a connection
`XAConnectionBuilder`
XAConnectionBuilder.`user(String username)`
Specifies the username to be used when creating a connection