Strange. I'm using Oracle 9.2 and I have the oracle 10 jar file in
CATALINA_HOME/common/lib. I'm not experienced with Hibernate - does
anything look wrong here:
Has anyone else used Roller with Oracle? Could it be a UTF-8 issue? I
didn't do anything special to create the schema with UTF-8, maybe that's the
problem?
<?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE hibernate-configuration PUBLIC
"-//Hibernate/Hibernate Configuration DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
<hibernate-configuration>
<session-factory>
<property name="show_sql">false</property>
<property name="connection.datasource
">java:comp/env/jdbc/rollerdb</property>
<property name="hibernate.connection.driver_class">oracle.jdbc.OracleDriver
</property>
<property name="hibernate.connection.url">jdbc:oracle:thin:@localhost
:1521:DEV9OT01</property>
<property name="hibernate.connection.username">USER</property>
<property name="hibernate.connection.password">PASSWORD</property>
<property name="hibernate.dialect">org.hibernate.dialect.Oracle9Dialect
</property>
<mapping resource="org/roller/business/HitCountData.hbm.xml" />
<mapping resource="org/roller/pojos/BookmarkData.hbm.xml" />
<mapping resource="org/roller/pojos/CommentData.hbm.xml" />
<mapping resource="org/roller/pojos/EntryAttributeData.hbm.xml" />
<mapping resource="org/roller/pojos/FolderAssoc.hbm.xml" />
<mapping resource="org/roller/pojos/FolderData.hbm.xml" />
<mapping resource="org/roller/pojos/WeblogTemplate.hbm.xml" />
<mapping
resource="org/roller/pojos/PingCategoryRestrictionData.hbm.xml" />
<mapping resource="org/roller/pojos/AutoPingData.hbm.xml" />
<mapping resource="org/roller/pojos/PingQueueEntryData.hbm.xml" />
<mapping resource="org/roller/pojos/PingTargetData.hbm.xml" />
<mapping resource="org/roller/pojos/RefererData.hbm.xml" />
<mapping resource="org/roller/pojos/RoleData.hbm.xml" />
<mapping resource="org/roller/pojos/RollerConfigData.hbm.xml" />
<mapping resource="org/roller/pojos/UserData.hbm.xml" />
<mapping resource="org/roller/pojos/UserCookieData.hbm.xml" />
<mapping resource="org/roller/pojos/WeblogCategoryData.hbm.xml" />
<mapping resource="org/roller/pojos/WeblogCategoryAssoc.hbm.xml" />
<mapping resource="org/roller/pojos/WeblogEntryData.hbm.xml" />
<mapping resource="org/roller/pojos/WebsiteData.hbm.xml" />
<mapping resource="org/roller/pojos/RollerPropertyData.hbm.xml" />
<mapping resource="org/roller/pojos/PermissionsData.hbm.xml" />
<mapping resource="org/roller/pojos/PlanetConfigData.hbm.xml" />
<mapping resource="org/roller/pojos/PlanetGroupData.hbm.xml" />
<mapping resource="org/roller/pojos/PlanetEntryData.hbm.xml" />
<mapping resource="org/roller/pojos/PlanetSubscriptionData.hbm.xml"
/>
<mapping
resource="org/roller/pojos/PlanetGroupSubscriptionAssoc.hbm.xml" />
</session-factory>
</hibernate-configuration>