# Override the Default Schema for Connection

In some cases, Dali cannot calculate the correct schema for a project. If such an instance arises, you can override the default schema derived from the connection information using the Override the Default Schema for Connection option in the JPA Facet page of the Create New JPA Entity wizard (illustrated in Figure: Changing the Schema for a Project) or through the properties for the JPA project (accessed by selecting the JPA project and then Properties > JPA). Use this option when the default login information cannot be used, such as when the deployment login differs from the design-time login.

Changing the Schema for a Project

Create New JPA Project wizard