<commit_before><!--- Copyright (C) 2009-2013 Typesafe Inc. <http://www.typesafe.com> -->
# Accessing an SQL database

## Configuring JDBC connection pools

Play provides a plugin for managing JDBC connection pools. You can configure as many databases you need.

To enable the database plugin add javaJdbc in your build dependencies :

```scala
val appDependencies = Seq(
  javaJdbc
)
```

Then you must configure a connection pool in the `conf/application.conf` file. By convention the default JDBC data source must be called `default`:

```properties
# Default database configuration<commit_msg>Missing 'as'<commit_after><!--- Copyright (C) 2009-2013 Typesafe Inc. <http://www.typesafe.com> -->
# Accessing an SQL database

## Configuring JDBC connection pools

Play provides a plugin for managing JDBC connection pools. You can configure as many databases as you need.

To enable the database plugin add javaJdbc in your build dependencies :

```scala
val appDependencies = Seq(
  javaJdbc
)
```

Then you must configure a connection pool in the `conf/application.conf` file. By convention the default JDBC data source must be called `default`:

```properties
# Default database configuration
{'fraction_non_alphanumeric': 0.08375209380234507, 'fraction_numerical': 0.01340033500837521, 'mean_word_length': 4.610328638497653, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5392118', 'n_tokens_mistral': 347, 'n_tokens_neox': 304, 'n_words': 149}