请问有没有配置oracle数据库成功的例子亚

wyyhzc 2008-11-05
这几天配置oracle数据库一直配置不上去。
报错
xiaobin268 2008-11-05
你把jar包放进项目里了么??
tongyi121 2008-11-05
dataSource {
    pooled = false
   
    driverClassName = "oracle.jdbc.driver.OracleDriver"
    username = "test"
    password = "test"
   
 
    [color=red]dialect = org.hibernate.dialect.Oracle9Dialect[/color]}
hibernate {
    cache.use_second_level_cache=true
    cache.use_query_cache=true
    cache.provider_class='org.hibernate.cache.EhCacheProvider'
   
}
// environment specific settings
environments {
    development {
       dataSource {
          
           url = "jdbc:oracle:thin:@localhost:1521:test"
       }
    }
    test {
       dataSource {
          
           url = "jdbc:oracle:thin:@localhost:1521:test"
       }
    }
    production {
       dataSource {
          
           url = "jdbc:oracle:thin:@localhost:1521:test"
       }
    }
}
Global site tag (gtag.js) - Google Analytics