-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: Could not obtain connection to query metadata (Oracle11gR2)
PostPosted: Fri May 04, 2012 9:59 am 
Newbie

Joined: Fri May 04, 2012 2:24 am
Posts: 1
Hello friends. I'm an experienced Java programmer, but never had used the hibernate, this is my first time with it.
I've got tired of searching solutions for my problem, and with no success. I hope some other can help me fix this problem.

I'm running JDK 1.7 in IntelliJ (10.2), Application running fine when I used PostgreSQL database. but it throw exception when I tried to connect Oracle database.

1483 [DefaultQuartzScheduler_Worker-1] INFO org.hibernate.connection.DriverManagerConnectionProvider - Hibernate connection pool size: 1
1485 [DefaultQuartzScheduler_Worker-1] INFO org.hibernate.connection.DriverManagerConnectionProvider - autocommit mode: false
2068 [DefaultQuartzScheduler_Worker-1] INFO org.hibernate.connection.DriverManagerConnectionProvider - using driver: oracle.jdbc.driver.OracleDriver at URL: jdbc:oracle:thin:@//192.168.1.245:1521/db11g
2068 [DefaultQuartzScheduler_Worker-1] INFO org.hibernate.connection.DriverManagerConnectionProvider - connection properties: {password=****, userName=synergy}
2630 [DefaultQuartzScheduler_Worker-1] WARN org.hibernate.cfg.SettingsFactory - Could not obtain connection to query metadata
java.sql.SQLException: ORA-01017: invalid username/password; logon denied


Quote:
hibernate.cfg.xml
Code:
<?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE hibernate-configuration PUBLIC
    "-//Hibernate/Hibernate Configuration DTD//EN"
    "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
<hibernate-configuration>
    <session-factory>
        <!-- Database Connection fo Postgres Settings -->
        <!--property name="connection.driver_class">org.postgresql.Driver</property>
        <property name="connection.url">jdbc:postgresql://192.168.1.246:5432/synergydb</property>
        <property name="connection.username">synergy</property>
        <property name="connection.password">Independent12#</property>
   <property name="dialect">org.hibernate.dialect.PostgreSQLDialect</property-->


   <!-- Database Connection For Oracle Settings -->
        <property name="connection.driver_class">oracle.jdbc.driver.OracleDriver</property>
        <property name="connection.url">jdbc:oracle:thin:@//192.168.1.245:1521/db11g</property>
        <property name="connection.userName">synergy</property>
        <property name="connection.password">Independent12#</property>
        <property name="dialect">org.hibernate.dialect.OracleDialect</property>

   <property name="hibernate.temp.use_jdbc_metadata_defaults">false</property>

        <!-- JDBC connection pool (use the built-in) -->
        <property name="connection.pool_size">1</property>


        <!-- Echo all executed SQL to stdout -->
        <property name="show_sql">true</property>

        <!--Customer Related DTOs-->
                <mapping class="unifyoperations.dto.CustomerUPNSuffixDTO"/>
                <mapping class="unifyoperations.dto.CustomerAccountDTO"/>
                <mapping class="unifyoperations.dto.CustomerAccountMapDTO"/>
                <mapping class="unifyoperations.dto.ConfigDTO"/>
                <mapping class="unifyoperations.dto.UnifyServiceResourceMetaDTO"/>
                <mapping class="unifyoperations.dto.ServiceDTO"/>
                <mapping class="unifyoperations.dto.PartnerOrganizationDTO"/>
                <mapping class="unifyoperations.dto.CustomerOrganizationDTO"/>

                <!--Order Related DOTs-->
                <mapping class="unifyoperations.dto.OrderMasterDTO"/>
                <mapping class="unifyoperations.dto.SynergyOrderLineDTO"/>
                <mapping class="unifyoperations.dto.OrderCompositeProductDTO"/>
                <mapping class="unifyoperations.dto.OrderServiceItemDTO"/>
                <mapping class="unifyoperations.dto.OrderBSSConnectorMapDTO"/>
                <mapping class="unifyoperations.dto.OrderCustomerSpecificInputDTO"/>
                <mapping class="unifyoperations.dto.OrderStateDTO"/>
                <mapping class="unifyoperations.dto.OrderActionHistoryDTO"/>
                <mapping class="unifyoperations.dto.OilOMSResponseDTO" />

                <!--User Related DTOs-->
                <mapping class="unifyoperations.dto.BaseUserDTO"/>
                <mapping class="unifyoperations.dto.ServiceProviderOrganizationDTO"/>
                <mapping class="unifyoperations.dto.ServiceRoleDTO"/>
                <mapping class="unifyoperations.dto.ServicePermissionRoleMapDTO"/>
                <mapping class="unifyoperations.dto.ServiceProviderUserDTO"/>
                <mapping class="unifyoperations.dto.ServiceProviderUserRoleMapDTO"/>
                <mapping class="unifyoperations.dto.UserContactDTO"/>

                <!---Seap Related DTOs-->
                <mapping class="seap.dto.BOAPIInfoDTO"/>
                <mapping class="seap.dto.APIDetailsDTO"/>

      <!--  <mapping class="bssoperation.provisioning.user.BaseUserDTO"/>
        <mapping class="bssoperation.provisioning.user.CustomerAccountDTO"/>
        <mapping class="bssoperation.provisioning.user.CustomerAccountMapDTO"/>
        <mapping class="bssoperation.provisioning.user.CustomerUserDTO"/>
        <mapping class="bssoperation.provisioning.user.CustomerUserRoleMapDTO"/>
        <mapping class="bssoperation.provisioning.user.ServicePermissionRoleMapDTO"/>
        <mapping class="bssoperation.provisioning.user.ServiceRoleDTO"/>-->
        <!-- Mapping files -->
        <!--mapping resource="hibernate.hbm.xml"/-->

    </session-factory>
</hibernate-configuration>


And here is the stdout with all INFOs, WARNINGS, SEVERE and EXCEPTIONs stack trace:

Quote:
[seap@SynergyAP03 BGTask_Old]$ /usr/java/jdk1.7.0_02/bin/java -jar UnifyProvisioningBackgroundTask.jar
147 [DefaultQuartzScheduler_Worker-1] INFO org.hibernate.annotations.common.Version - Hibernate Commons Annotations 3.2.0.Final
159 [DefaultQuartzScheduler_Worker-1] INFO org.hibernate.cfg.Environment - Hibernate 3.6.0.Final
165 [DefaultQuartzScheduler_Worker-1] INFO org.hibernate.cfg.Environment - hibernate.properties not found
169 [DefaultQuartzScheduler_Worker-1] INFO org.hibernate.cfg.Environment - Bytecode provider name : javassist
175 [DefaultQuartzScheduler_Worker-1] INFO org.hibernate.cfg.Environment - using JDK 1.4 java.sql.Timestamp handling
264 [DefaultQuartzScheduler_Worker-1] INFO org.hibernate.cfg.Configuration - configuring from file: hibernate.cfg.xml
362 [DefaultQuartzScheduler_Worker-1] WARN org.hibernate.util.DTDEntityResolver - recognized obsolete hibernate namespace http://hibernate.sourceforge.net/. Use namespace http://www.hibernate.org/dtd/ instead. Refer to Hibernate 3.6 Migration Guide!
429 [DefaultQuartzScheduler_Worker-1] INFO org.hibernate.cfg.Configuration - Configured SessionFactory: null
534 [DefaultQuartzScheduler_Worker-1] INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: unifyoperations.dto.CustomerUPNSuffixDTO
587 [DefaultQuartzScheduler_Worker-1] INFO org.hibernate.cfg.annotations.EntityBinder - Bind entity unifyoperations.dto.CustomerUPNSuffixDTO on table customer_upnsuffix
659 [DefaultQuartzScheduler_Worker-1] INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: unifyoperations.dto.CustomerAccountDTO
660 [DefaultQuartzScheduler_Worker-1] INFO org.hibernate.cfg.annotations.EntityBinder - Bind entity unifyoperations.dto.CustomerAccountDTO on table customer_account
662 [DefaultQuartzScheduler_Worker-1] INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: unifyoperations.dto.CustomerAccountMapDTO
662 [DefaultQuartzScheduler_Worker-1] INFO org.hibernate.cfg.annotations.EntityBinder - Bind entity unifyoperations.dto.CustomerAccountMapDTO on table customer_account_map
665 [DefaultQuartzScheduler_Worker-1] INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: unifyoperations.dto.ConfigDTO
665 [DefaultQuartzScheduler_Worker-1] INFO org.hibernate.cfg.annotations.EntityBinder - Bind entity unifyoperations.dto.ConfigDTO on table config_properties
667 [DefaultQuartzScheduler_Worker-1] INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: unifyoperations.dto.UnifyServiceResourceMetaDTO
667 [DefaultQuartzScheduler_Worker-1] INFO org.hibernate.cfg.annotations.EntityBinder - Bind entity unifyoperations.dto.UnifyServiceResourceMetaDTO on table unify_service_resources_meta
722 [DefaultQuartzScheduler_Worker-1] INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: unifyoperations.dto.ServiceDTO
722 [DefaultQuartzScheduler_Worker-1] INFO org.hibernate.cfg.annotations.EntityBinder - Bind entity unifyoperations.dto.ServiceDTO on table services
728 [DefaultQuartzScheduler_Worker-1] INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: unifyoperations.dto.PartnerOrganizationDTO
728 [DefaultQuartzScheduler_Worker-1] INFO org.hibernate.cfg.annotations.EntityBinder - Bind entity unifyoperations.dto.PartnerOrganizationDTO on table partner_organization
735 [DefaultQuartzScheduler_Worker-1] INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: unifyoperations.dto.CustomerOrganizationDTO
735 [DefaultQuartzScheduler_Worker-1] INFO org.hibernate.cfg.annotations.EntityBinder - Bind entity unifyoperations.dto.CustomerOrganizationDTO on table customer_organization
740 [DefaultQuartzScheduler_Worker-1] INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: unifyoperations.dto.OrderMasterDTO
741 [DefaultQuartzScheduler_Worker-1] INFO org.hibernate.cfg.annotations.EntityBinder - Bind entity unifyoperations.dto.OrderMasterDTO on table order_master
755 [DefaultQuartzScheduler_Worker-1] INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: unifyoperations.dto.SynergyOrderLineDTO
755 [DefaultQuartzScheduler_Worker-1] INFO org.hibernate.cfg.annotations.EntityBinder - Bind entity unifyoperations.dto.SynergyOrderLineDTO on table synergy_order_line
920 [DefaultQuartzScheduler_Worker-1] INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: unifyoperations.dto.OrderCompositeProductDTO
920 [DefaultQuartzScheduler_Worker-1] INFO org.hibernate.cfg.annotations.EntityBinder - Bind entity unifyoperations.dto.OrderCompositeProductDTO on table order_composit_product
936 [DefaultQuartzScheduler_Worker-1] INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: unifyoperations.dto.OrderServiceItemDTO
936 [DefaultQuartzScheduler_Worker-1] INFO org.hibernate.cfg.annotations.EntityBinder - Bind entity unifyoperations.dto.OrderServiceItemDTO on table order_service_item
966 [DefaultQuartzScheduler_Worker-1] INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: unifyoperations.dto.OrderBSSConnectorMapDTO
979 [DefaultQuartzScheduler_Worker-1] INFO org.hibernate.cfg.annotations.EntityBinder - Bind entity unifyoperations.dto.OrderBSSConnectorMapDTO on table order_bssconnector_map
1010 [DefaultQuartzScheduler_Worker-1] INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: unifyoperations.dto.OrderCustomerSpecificInputDTO
1011 [DefaultQuartzScheduler_Worker-1] INFO org.hibernate.cfg.annotations.EntityBinder - Bind entity unifyoperations.dto.OrderCustomerSpecificInputDTO on table order_cust_specfic_inp
1036 [DefaultQuartzScheduler_Worker-1] INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: unifyoperations.dto.OrderStateDTO
1037 [DefaultQuartzScheduler_Worker-1] INFO org.hibernate.cfg.annotations.EntityBinder - Bind entity unifyoperations.dto.OrderStateDTO on table order_state
1041 [DefaultQuartzScheduler_Worker-1] INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: unifyoperations.dto.OrderActionHistoryDTO
1041 [DefaultQuartzScheduler_Worker-1] INFO org.hibernate.cfg.annotations.EntityBinder - Bind entity unifyoperations.dto.OrderActionHistoryDTO on table order_action_history
1061 [DefaultQuartzScheduler_Worker-1] INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: unifyoperations.dto.OilOMSResponseDTO
1084 [DefaultQuartzScheduler_Worker-1] INFO org.hibernate.cfg.annotations.EntityBinder - Bind entity unifyoperations.dto.OilOMSResponseDTO on table oil_oms_response
1102 [DefaultQuartzScheduler_Worker-1] INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: unifyoperations.dto.BaseUserDTO
1102 [DefaultQuartzScheduler_Worker-1] INFO org.hibernate.cfg.annotations.EntityBinder - Bind entity unifyoperations.dto.BaseUserDTO on table base_user
1117 [DefaultQuartzScheduler_Worker-1] INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: unifyoperations.dto.ServiceProviderOrganizationDTO
1118 [DefaultQuartzScheduler_Worker-1] INFO org.hibernate.cfg.annotations.EntityBinder - Bind entity unifyoperations.dto.ServiceProviderOrganizationDTO on table service_provider_organization
1128 [DefaultQuartzScheduler_Worker-1] INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: unifyoperations.dto.ServiceRoleDTO
1134 [DefaultQuartzScheduler_Worker-1] INFO org.hibernate.cfg.annotations.EntityBinder - Bind entity unifyoperations.dto.ServiceRoleDTO on table role
1154 [DefaultQuartzScheduler_Worker-1] INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: unifyoperations.dto.ServicePermissionRoleMapDTO
1154 [DefaultQuartzScheduler_Worker-1] INFO org.hibernate.cfg.annotations.EntityBinder - Bind entity unifyoperations.dto.ServicePermissionRoleMapDTO on table permission_role_map
1161 [DefaultQuartzScheduler_Worker-1] INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: unifyoperations.dto.ServiceProviderUserDTO
1162 [DefaultQuartzScheduler_Worker-1] INFO org.hibernate.cfg.annotations.EntityBinder - Bind entity unifyoperations.dto.ServiceProviderUserDTO on table service_provider_user
1204 [DefaultQuartzScheduler_Worker-1] INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: unifyoperations.dto.ServiceProviderUserRoleMapDTO
1204 [DefaultQuartzScheduler_Worker-1] INFO org.hibernate.cfg.annotations.EntityBinder - Bind entity unifyoperations.dto.ServiceProviderUserRoleMapDTO on table service_provider_user_role_map
1209 [DefaultQuartzScheduler_Worker-1] INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: unifyoperations.dto.UserContactDTO
1209 [DefaultQuartzScheduler_Worker-1] INFO org.hibernate.cfg.annotations.EntityBinder - Bind entity unifyoperations.dto.UserContactDTO on table user_contact
1228 [DefaultQuartzScheduler_Worker-1] INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: seap.dto.BOAPIInfoDTO
1228 [DefaultQuartzScheduler_Worker-1] INFO org.hibernate.cfg.annotations.EntityBinder - Bind entity seap.dto.BOAPIInfoDTO on table bo_api_info
1281 [DefaultQuartzScheduler_Worker-1] INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class: seap.dto.APIDetailsDTO
1285 [DefaultQuartzScheduler_Worker-1] INFO org.hibernate.cfg.annotations.EntityBinder - Bind entity seap.dto.APIDetailsDTO on table api_details
1365 [DefaultQuartzScheduler_Worker-1] INFO org.hibernate.cfg.annotations.CollectionBinder - Mapping collection: unifyoperations.dto.SynergyOrderLineDTO.orderCustomerSpecificInputDTOSet -> order_cust_specfic_inp
1372 [DefaultQuartzScheduler_Worker-1] INFO org.hibernate.cfg.annotations.CollectionBinder - Mapping collection: unifyoperations.dto.SynergyOrderLineDTO.orderServiceItemDTO -> order_service_item
1373 [DefaultQuartzScheduler_Worker-1] INFO org.hibernate.cfg.annotations.CollectionBinder - Mapping collection: unifyoperations.dto.OrderServiceItemDTO.orderComposite -> order_composit_product
1401 [DefaultQuartzScheduler_Worker-1] INFO org.hibernate.cfg.annotations.CollectionBinder - Mapping collection: unifyoperations.dto.ServiceRoleDTO.servicePermissionRoleMapDTO -> permission_role_map
1401 [DefaultQuartzScheduler_Worker-1] INFO org.hibernate.cfg.annotations.CollectionBinder - Mapping collection: unifyoperations.dto.ServiceProviderUserDTO.serviceProviderUserRoleMapDTO -> service_provider_user_role_map
1401 [DefaultQuartzScheduler_Worker-1] INFO org.hibernate.cfg.annotations.CollectionBinder - Mapping collection: seap.dto.BOAPIInfoDTO.apiDetailsDTOSet -> api_details
1402 [DefaultQuartzScheduler_Worker-1] INFO org.hibernate.cfg.Configuration - Hibernate Validator not found: ignoring
1409 [DefaultQuartzScheduler_Worker-1] INFO org.hibernate.cfg.search.HibernateSearchEventListenerRegister - Unable to find org.hibernate.search.event.FullTextIndexEventListener on the classpath. Hibernate Search is not enabled.
1483 [DefaultQuartzScheduler_Worker-1] INFO org.hibernate.connection.DriverManagerConnectionProvider - Using Hibernate built-in connection pool (not for production use!)
1483 [DefaultQuartzScheduler_Worker-1] INFO org.hibernate.connection.DriverManagerConnectionProvider - Hibernate connection pool size: 1
1485 [DefaultQuartzScheduler_Worker-1] INFO org.hibernate.connection.DriverManagerConnectionProvider - autocommit mode: false
2068 [DefaultQuartzScheduler_Worker-1] INFO org.hibernate.connection.DriverManagerConnectionProvider - using driver: oracle.jdbc.driver.OracleDriver at URL: jdbc:oracle:thin:@//192.168.1.245:1521/db11g
2068 [DefaultQuartzScheduler_Worker-1] INFO org.hibernate.connection.DriverManagerConnectionProvider - connection properties: {password=****, userName=synergy}
2630 [DefaultQuartzScheduler_Worker-1] WARN org.hibernate.cfg.SettingsFactory - Could not obtain connection to query metadata
java.sql.SQLException: ORA-01017: invalid username/password; logon denied

at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:445)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:389)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:382)
at oracle.jdbc.driver.T4CTTIfun.processError(T4CTTIfun.java:600)
at oracle.jdbc.driver.T4CTTIoauthenticate.processError(T4CTTIoauthenticate.java:445)
at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:450)
at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:192)
at oracle.jdbc.driver.T4CTTIoauthenticate.doOAUTH(T4CTTIoauthenticate.java:380)
at oracle.jdbc.driver.T4CTTIoauthenticate.doOAUTH(T4CTTIoauthenticate.java:760)
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:401)
at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:546)
at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:236)
at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:521)
at java.sql.DriverManager.getConnection(DriverManager.java:579)
at java.sql.DriverManager.getConnection(DriverManager.java:190)
at org.hibernate.connection.DriverManagerConnectionProvider.getConnection(DriverManagerConnectionProvider.java:133)
at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:114)
at org.hibernate.cfg.Configuration.buildSettingsInternal(Configuration.java:2833)
at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2829)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1840)
at unifyoperations.HibernateUtil.<clinit>(HibernateUtil.java:20)
at unifyoperations.PersistenceManager.openSession(PersistenceManager.java:35)
at unifyoperations.customer.Customer.unifyCustomerProvisioning(Customer.java:59)
at unifyoperations.customer.CustomerJob.execute(CustomerJob.java:26)
at org.quartz.core.JobRunShell.run(JobRunShell.java:199)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:546)
2754 [DefaultQuartzScheduler_Worker-1] INFO org.hibernate.dialect.Dialect - Using dialect: org.hibernate.dialect.OracleDialect
2776 [DefaultQuartzScheduler_Worker-1] WARN org.hibernate.dialect.Oracle9Dialect - The Oracle9Dialect dialect has been deprecated; use either Oracle9iDialect or Oracle10gDialect instead
2778 [DefaultQuartzScheduler_Worker-1] WARN org.hibernate.dialect.OracleDialect - The OracleDialect dialect has been deprecated; use Oracle8iDialect instead
2788 [DefaultQuartzScheduler_Worker-1] INFO org.hibernate.engine.jdbc.JdbcSupportLoader - Disabling contextual LOB creation as connection was null
2794 [DefaultQuartzScheduler_Worker-1] INFO org.hibernate.transaction.TransactionFactoryFactory - Using default transaction strategy (direct JDBC transactions)
2797 [DefaultQuartzScheduler_Worker-1] INFO org.hibernate.transaction.TransactionManagerLookupFactory - No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended)
2797 [DefaultQuartzScheduler_Worker-1] INFO org.hibernate.cfg.SettingsFactory - Automatic flush during beforeCompletion(): disabled
2797 [DefaultQuartzScheduler_Worker-1] INFO org.hibernate.cfg.SettingsFactory - Automatic session close at end of transaction: disabled
2802 [DefaultQuartzScheduler_Worker-1] INFO org.hibernate.cfg.SettingsFactory - Scrollable result sets: disabled
2802 [DefaultQuartzScheduler_Worker-1] INFO org.hibernate.cfg.SettingsFactory - JDBC3 getGeneratedKeys(): disabled
2802 [DefaultQuartzScheduler_Worker-1] INFO org.hibernate.cfg.SettingsFactory - Connection release mode: auto
2803 [DefaultQuartzScheduler_Worker-1] INFO org.hibernate.cfg.SettingsFactory - Default batch fetch size: 1
2803 [DefaultQuartzScheduler_Worker-1] INFO org.hibernate.cfg.SettingsFactory - Generate SQL with comments: disabled
2803 [DefaultQuartzScheduler_Worker-1] INFO org.hibernate.cfg.SettingsFactory - Order SQL updates by primary key: disabled
2803 [DefaultQuartzScheduler_Worker-1] INFO org.hibernate.cfg.SettingsFactory - Order SQL inserts for batching: disabled
2806 [DefaultQuartzScheduler_Worker-1] INFO org.hibernate.cfg.SettingsFactory - Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
2854 [DefaultQuartzScheduler_Worker-1] INFO org.hibernate.hql.ast.ASTQueryTranslatorFactory - Using ASTQueryTranslatorFactory
2854 [DefaultQuartzScheduler_Worker-1] INFO org.hibernate.cfg.SettingsFactory - Query language substitutions: {}
2854 [DefaultQuartzScheduler_Worker-1] INFO org.hibernate.cfg.SettingsFactory - JPA-QL strict compliance: disabled
2854 [DefaultQuartzScheduler_Worker-1] INFO org.hibernate.cfg.SettingsFactory - Second-level cache: enabled
2854 [DefaultQuartzScheduler_Worker-1] INFO org.hibernate.cfg.SettingsFactory - Query cache: disabled
2855 [DefaultQuartzScheduler_Worker-1] INFO org.hibernate.cfg.SettingsFactory - Cache region factory : org.hibernate.cache.impl.NoCachingRegionFactory
2856 [DefaultQuartzScheduler_Worker-1] INFO org.hibernate.cfg.SettingsFactory - Optimize cache for minimal puts: disabled
2856 [DefaultQuartzScheduler_Worker-1] INFO org.hibernate.cfg.SettingsFactory - Structured second-level cache entries: disabled
2877 [DefaultQuartzScheduler_Worker-1] INFO org.hibernate.cfg.SettingsFactory - Echoing all SQL to stdout
2888 [DefaultQuartzScheduler_Worker-1] INFO org.hibernate.cfg.SettingsFactory - Statistics: disabled
2888 [DefaultQuartzScheduler_Worker-1] INFO org.hibernate.cfg.SettingsFactory - Deleted entity synthetic identifier rollback: disabled
2888 [DefaultQuartzScheduler_Worker-1] INFO org.hibernate.cfg.SettingsFactory - Default entity-mode: pojo
2888 [DefaultQuartzScheduler_Worker-1] INFO org.hibernate.cfg.SettingsFactory - Named query checking : enabled
2888 [DefaultQuartzScheduler_Worker-1] INFO org.hibernate.cfg.SettingsFactory - Check Nullability in Core (should be disabled when Bean Validation is on): enabled
3033 [DefaultQuartzScheduler_Worker-1] INFO org.hibernate.impl.SessionFactoryImpl - building session factory




Top
 Profile  
 
 Post subject: Re: Could not obtain connection to query metadata (Oracle11gR2)
PostPosted: Wed May 09, 2012 3:38 pm 
Regular
Regular

Joined: Sat Apr 23, 2005 7:28 am
Posts: 52
Can you connect to the database using plain JDBC? - but with same driver and credentials - the error log suggests the credentials are wrong?


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.