[jboss-user] [JBoss Portal] - Re: from hibernate to sybase

prabhat.jha@jboss.com do-not-reply at jboss.com
Mon Jun 4 09:39:19 EDT 2007


The only thing I can think of type-mapping element in portal-sybase-ds.xml. I dont think that's needed. Little googling suggests that that's probably required for CMP. This is how mine looks like for MySql and this works:

<local-tx-datasource>
<jndi-name>PortalDS</jndi-name>
<connection-url>jdbc:mysql://localhost:3306/portal</connection-url>
<driver-class>org.gjt.mm.mysql.Driver</driver-class>
<user-name>portal</user-name>

</local-tx-datasource>


So, try removing type-mapping element and see how it goes. If you still get error then you need to post error log as well otherwise it's hard to find the solution.


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4050963#4050963

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4050963



More information about the jboss-user mailing list