[jboss-user] [Datasource Configuration] - Hibernate Dialect for DefaultDS
Frank Langelage
do-not-reply at jboss.com
Sun Sep 19 13:41:05 EDT 2010
Frank Langelage [http://community.jboss.org/people/lafr] created the discussion
"Hibernate Dialect for DefaultDS"
To view the discussion, visit: http://community.jboss.org/message/562592#562592
--------------------------------------------------------------
Using JBoss-6.0.0-SNAPSHOT, how can I specify the hibernate dialect to use for the DefaultDS?
The default hsqldb-ds.xml was replaced by this:
<?xml version="1.0" encoding="UTF-8"?>
<datasources>
<xa-datasource>
<jndi-name>DefaultDS</jndi-name>
<track-connection-by-tx/>
<isSameRM-override-value>false</isSameRM-override-value>
<xa-datasource-class>com.informix.jdbcx.IfxXADataSource</xa-datasource-class>
<xa-datasource-property name="IfxIFXHOST">sb2000</xa-datasource-property>
<xa-datasource-property name="PortNumber">9088</xa-datasource-property>
<xa-datasource-property name="DatabaseName">jboss6</xa-datasource-property>
<xa-datasource-property name="ServerName">sb2000_net</xa-datasource-property>
<xa-datasource-property name="User">xxx</xa-datasource-property>
<xa-datasource-property name="Password">xxx</xa-datasource-property>
<xa-datasource-property name="IfxLOBCACHE">-1</xa-datasource-property>
<user-name>xxx</user-name>
<password>xxx</password>
<exception-sorter-class-name>org.jboss.resource.adapter.jdbc.vendor.InformixExceptionSorter</exception-sorter-class-name>
<metadata>
<type-mapping>InformixDB</type-mapping>
</metadata>
</xa-datasource>
</datasources>
Using a database config from an ear file, the ear comes with an persistence.xml file which specifies the hibernate dialect, as InformixDialect in this case.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/562592#562592]
Start a new discussion in Datasource Configuration at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2077]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100919/ae8552c4/attachment-0001.html
More information about the jboss-user
mailing list