Oracle GlassFish Server 3.0.1 Application Deployment Guide

database-vendor-name

Specifies the name of the database vendor for which tables can be created. Allowed values are javadb, db2, mssql, mysql, oracle, postgresql, pointbase, derby (also for CloudScape), and sybase, case-insensitive.

If no value is specified, a connection is made to the resource specified by the jndi-name subelement of the cmp-resource element, and the database vendor name is read. If the connection cannot be established, or if the value is not recognized, SQL-92 compliance is presumed.

This element can be overridden during deployment. See Generation Options for CMP in Oracle GlassFish Server 3.0.1 Application Development Guide.

Superelements

cmp-resource (sun-ejb-jar.xml)

Subelements

none - contains data