[jboss-user] [JBoss Tools (users)] - Re: Seam Generate Entities

IcarusDB do-not-reply at jboss.com
Fri Apr 11 17:48:39 EDT 2008


I have the same problem with oracle9i , this is my persistence.xml generated file

  | <?xml version="1.0" encoding="UTF-8"?>
  | <!-- Persistence deployment descriptor for dev profile -->
  | <persistence xmlns="http://java.sun.com/xml/ns/persistence" 
  |              xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  |              xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd" 
  |              version="1.0">
  |              
  |    <persistence-unit name="Arami-Seam">
  |       <provider>org.hibernate.ejb.HibernatePersistence</provider>
  |       <jta-data-source>java:/Arami-SeamDatasource</jta-data-source>
  |       <properties>
  |          <property name="hibernate.dialect" value="org.hibernate.dialect.Oracle9iDialect"/>
  |          <property name="hibernate.hbm2ddl.auto" value="create-drop"/>
  |          <property name="hibernate.show_sql" value="true"/>
  |          <property name="hibernate.format_sql" value="true"/>
  |          <property name="jboss.entity.manager.factory.jndi.name" value="java:/Arami-SeamEntityManagerFactory"/>
  |          <property name="hibernate.default_catalog" value="ra"/>
  |          <property name="hibernate.default_schema" value="ra"/>
  |       </properties>
  |    </persistence-unit>
  |     
  | </persistence>
  | 
and this is the hibernate-console.properties generated file

  | #File used by hibernate tools to override <datasource> and other container specific settings in persistence.xml
  | hibernate.connection.password=ra
  | hibernate.connection.username=ra
  | hibernate.connection.driver_class=oracle.jdbc.OracleDriver
  | hibernate.dialect=org.hibernate.dialect.Oracle9iDialect
  | hibernate.connection.url=jdbc:oracle:thin:@develop:1521:sofia
  | 
  | hibernate.connection.provider_class=org.hibernate.connection.DriverManagerConnectionProvider
  | hibernate.datasource=
  | hibernate.transaction.manager_lookup_class=
  | 

my eclipse is 3.3 with jboss 4.2 and jboss-tools 2.0.1GA
the oracle version is
0.2.1.0 - 64bit production with partitioning, olap and data mining options
jserver relaease 9.2.0.1.0 production
with jdbc 10.1.0

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

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



More information about the jboss-user mailing list