Problem in Hibernate 3.0. while configuring with Oracle 9i

Hi,
I have a problem in Hibernate 3.0. while configuring with Oracle 9i.
I make all necessary settings as per the requirement.
My code successfully running with MYSQL,
But if tried use Oracle 9i. then System generate the Following Exceptions.
Please let me know the solution
DEBUG - initializing class SessionFactoryObjectFactory
DEBUG - registered: 2c9834f115ccc9360115ccc937600000 (unnamed)
INFO - Not binding factory to JNDI, no JNDI name configured
DEBUG - instantiated session factory
INFO - Running hbm2ddl schema update
INFO - fetching database metadata
DEBUG - total checked-out connections: 0
DEBUG - using pooled JDBC connection, pool size: 0
ERROR - could not get database metadata
java.sql.SQLException: ORA-00600: internal error code, arguments: [ttcgcshnd-1],
[0], [], [], [], [], [], []

Hi
I alreay make all necessary chagens in cfg.file but still i have problem
see the contenet fo .cgf file
<?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="hibernate.cglib.use_reflection_optimizer">true</property>
<property name="hibernate.connection.driver_class">oracle.jdbc.driver.OracleDriver</property>
<property name="hibernate.connection.url">jdbc:oracle:thin:@sinpunap049:1521:esgdb</property>
<property name="hibernate.connection.username">scott</property>
<property name="hibernate.connection.password">tiger</property>
<property name="connection.pool_size">1</property>
<property name="hibernate.dialect">org.hibernate.dialect.Oracle9Dialect</property>
<property name="show_sql">true</property>
<property name="hbm2ddl.auto">update</property>
<mapping resource="Student1.hbm.xml" />
</session-factory>
</hibernate-configuration>

Similar Messages

  • Problem to connect Developer Suite forms 9 with Oracle 9i Database

    Hi,
    I have a problem to connect Developer Suite Release 2 forms 9 with Oracle 9i database release 1. I have done net8 easy configuration but no success. Can any one help me to solve this problem.
    Thanks in Advance
    Nasir Ali Mughal

    We cannot help if you don't give us the error number that you get.
    Also something that you might want to do is to search this error number on OTN.

  • Problem calling web service: Error while getting the ORACLE user account

    Hi All!
    I was able to call the service EGO_ITEM_PUB-PROCESS_ITEM, but after implemented some patches, suddenly I get this error as result:
    - <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
    - <env:Body>
    - <OutputParameters xmlns="http://xmlns.oracle.com/apps/ego/soaprovider/plsql/ego_item_pub/process_item__1/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <X_INVENTORY_ITEM_ID xsi:nil="true" />
    <X_ORGANIZATION_ID xsi:nil="true" />
    <X_RETURN_STATUS>U</X_RETURN_STATUS>
    <X_MSG_COUNT>1</X_MSG_COUNT>
    <X_MSG_DATA>Encountered an error while getting the ORACLE user account for your concurrent request. Contact your system administrator.</X_MSG_DATA>
    </OutputParameters>
    </env:Body>
    </env:Envelope>
    Any ideas?
    Thanks,
    Konrad

    hsawwan wrote:
    Hi,
    I was able to call the service EGO_ITEM_PUB-PROCESS_ITEM, but after implemented some patches, What are those patches?
    # Patch 8407693:R12.TXK.B ISG: Service Generation Failure - Java Compiler Could Not be Found
    # Patch 8459663:R12.OWF.B : Mandatory Consolidated One-Off Fixes for ISG on Top of 12.1.1
    # Patch 8916358:R12.OWF.B : Service Timeout When Invoking Services Deployed to Integrated SOA Gateway
    # Patch 9349321:R12.OWF.B : Issue with item Bulk Load in Oracle Product Hub PIP 2.4
    # Patch 9446625:R12.FND.B : 1OFF:8995921:12.1.1:12.1.1:PERF : LoginModules Performance Issue
    # Patch 9070077:R12.OWF.B : 1OFF:9045280:12.1.1:12.1.1:Invoking a Web Service Requires NLS Lang When It Should be Optional
    # Patch 9153106:R12.OWF.B : IREP_Parser.PL Exits with GETPWUID Function IS Unimplemented in PARSER.PM -> Wichtig für ISG (für custom pl/sqls im ISG)
    # Patch 9004712:R12.OWF.B : One-Off for IREP PARSER on Top of Oracle E-Business Suite Release 12.1.1 -> Wichtig für ISG (für custom pl/sqls im ISG)
    IAS:
    # Patch 8607523 for the AS version 10.1.3.4
    Oracle Support told me that I need this patches because of some other problem (generating wsdl and deploy for BOM_BO_PUB package does not work in my environment) and since that, the process_item call stopped working!
    btw: The EGO_ITEM_PUB-PROCESS_ITEM call for an existing item still works (I can modify the description), but creating a new item does not work anymore. Here are the parameters I send to the web service:
    Header:
    <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
    <wsse:UsernameToken>
    <wsse:Username>sysadmin</wsse:Username>
    <wsse:Password
    Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">sysadmin</wsse:Password>
    </wsse:UsernameToken>
    </wsse:Security>
    <q0:SOAHeader/>
    Body:
    <q1:InputParameters>
    <q1:P_API_VERSION>1.0</q1:P_API_VERSION>
    <q1:P_INIT_MSG_LIST>T</q1:P_INIT_MSG_LIST>
    <q1:P_COMMIT>T</q1:P_COMMIT>
    <q1:P_TRANSACTION_TYPE>CREATE</q1:P_TRANSACTION_TYPE>
    <q1:P_ITEM_NUMBER>KHR_WS_05</q1:P_ITEM_NUMBER>
    <q1:P_DESCRIPTION>desc2</q1:P_DESCRIPTION>
    </q1:InputParameters>
    Thanks,
    Konrad

  • Get error while Integrating with Oracle's Enterprise User Security

    Hi,
    I am trying to create an Oracle Enterprise User integrating with OVD and MS Active Directory.
    I am following all the steps in Integrating with Oracle's Enterprise User Security.
    In the documentation section: "Configuring Oracle Virtual Directory for the Integration"
    I have applied the steps successfully until:
    Update and load the entries into the Local Store Adapters by performing the following steps:
    I have successfully extended the Oracle Virtual Directory schema with the loadOVD.ldif
    However I am getting errors in the next step: Update realmRoot.ldif to use your namespaces
    The next step states the following:
    Update realmRoot.ldif to use your namespaces, including the dn, dc, o, orclsubscriberfullname,
    and memberurl attributes in the file. If you have a DN mapping between Active Directory and
    Oracle Virtual Directory, use the DN that you see from Oracle Virtual Directory.
    The realmRoot.ldif file is located in ORACLE_VIRTUAL_DIRECTORY_HOME/eus,
    where ORACLE_VIRTUAL_DIRECTORY_HOME represents the location where Oracle Virtual Directory is installed.
    The realmRoot.ldif file contains core entries in the directory namespace that Enterprise User Security queries. The realmRoot.ldif file also contains the dynamic group that contains the registered Enterprise User Security databases to allow secured access to sensitive Enterprise User Security related attributes, like the user's Enterprise User Security hashed password attribute.
    Load your domain root information in the realmRoot.ldif file into Oracle Virtual Directory using the following command:
    ldapmodify -h Oracle_Virtual_Directory_Host –p OVD_Port -D cn=admin -w Admin_Password -v -a –f realmRoot.ldif
    When I run the ldapmodify command I get the following error:
    add dc:
    testldap
    add objectclass:
    top
    domain
    domainDNS
    adding new entry DC=testldap,DC=local
    ldap_add: Operations error
    ldap_add: additional info: LDAP Error 1 : null
    The actual realmRoot.ldif looks like this:
    # Please uncomment the following one line if you are importing this
    # LDIF file via OVD Manager or OVD Server's ldapmodify tool.
    #version: 1
    #dn: dc=com
    #dc: com
    #objectclass: domain
    dn: DC=testldap,DC=local
    changetype: add
    dc: testldap
    #o: subarashii
    objectclass: top
    objectclass: domain
    objectclass: domainDNS
    #objectclass: orclSubscriber
    #orclsubscriberfullname: subarashii
    #orclVersion: 90400
    # If your domain structure has more layers than dc=subarashii,dc=com,
    # for example, it's dc=us,dc=subarashii,dc=com, you will need to load
    # the following ldif entry/entries too.
    # Uncomment out the following, if required.
    #dn: dc=us,dc=subarashii,dc=com
    #orclversion: 90400
    #orclsubscriberfullname: us
    #objectclass: domain
    #objectclass: top
    #objectclass: orclSubscriber
    #dc: us
    # Adding EUSDBGroup entry
    # Modify the memberurl attribute and replace it with your own domain name
    #dn: cn=EUSDBGROUP,dc=subarashii,dc=com
    #cn: EUSDBGROUP
    #memberurl:ldap:///dc=subarashii,dc=com??sub?(&(objectclass=orclService)(objectclass=orclDBServer))
    #objectclass:groupofuniquenames
    #objectclass:groupofurls
    #objectclass:top

    Did you ever get your questions answered about the realmRoot.ldif file? Did you manage to configure a successful integration of OVD with EUS? I am battling with trying to get Oracle Virtual Directory integrated with Enterprise User Security, but every step I take in Chapter 7 of the OVD manual fails in some way, and the instructions are often vague. I am not sure how to modify the realmRoot.ldif file. Is there any improved documentation on this? I have logged a Service Request, but not getting any help. Any resources or documentation you know of that provides better guidance would be much appreciated. I am way behind my schedule now and this is a very frustrating exercise.
    Thanks.

  • Few errors while working with Oracle 9i developer suite.

    I am facing a few errors working with Oracle 9i developer suite.
    1. while running forms we have to press "ctrl +F11" to execute a query.
    is there any other way of executing a query where the user can do it at a click of button or so? and similarly some way of canceling a query?
    2. how can we run parameterized reports thru a menu in forms?
    3. i had run a query which fetched around 15 records which were populated in 10 text boxes. i cud scroll down to see the records, with the keys but was not able to scroll back up. how can this be avoided or some way thru which we can scroll?
    4. can sessions be created in Oracle forms?
    5. the security feature thru menu roles is not proving efficient. can some1 suggest some way of achieving this user access control?
    hope some 1 can answer my queries soon

    1) execute query in windows is F8, yours is unix. Change the resource-file. You find them in <forms-home>. fmrweb.res is the standard. Save a copy. Copy then the fmrpcweb.res into fmrweb.res. That's all.
    2) start in the menu with an execute_trigger ('UN_MY_REPORT_CALL') a forms-level-trigger in your form. Then you can interact with your report-objects.
    3) page down + up are the keys to scroll. maybe the solution is 1)
    4) yeah, implicit with open_form (... new_session...) but what do you need ?
    5) write your own mechanism. say first, which features do you need
    Gerd

  • WCI single sign on(SSO) configurations with Oracle Access Manager(OAM)

    I have to integrate the oracle access manager with the WCI(ALUI) for the SSO implementation.What are the configurations required to implement SSO with oracle access manager in WCI/ALUI

    Any answer to the last question on..?
    No, better explain my query with 2 scenarios:
    Scenario 1:
    Usual scenario authentication of a user to a web application without the single web functionality on the acces single manager:
    Login screen of the web application ====> Access to the web application home
    Scenario 2:
    Scenario authentication of a user to a single web application with web functionality on the acces single manager:
    Login screen oracle access manager ====> Display login web application ====> Access to the web application home
    My query is:
    You can configure the functionality of single sign on to access manager with a web application that does not have its login screen of the web application. For example:
    Login screen oracle access manager ====> Access to the web application home

  • OLM 12.1 Configuration with Oracle Financials

    I need outline configuration steps to integrate 12.1 OLM with Oracle Financials.
    Thanks.

    Hi,
    You can read more about this here:
    OLM User Guide: Chapter 5: "Finance and Pricing"
    OLM Implementation Guide: "Pricing and Financial Relationships", step 38 and onwards.
    Regards Anders Northeved

  • Problems setting up Weblogic Server 9.2 with Oracle AQ

    We are in the process of upgrading from WLS81 to WLS92 and I'm currently trying to set up the environment. We have applications communicating with 3 different JMS-servers; Sonic, WMQ and Oracle AQ. For both Sonic and WMQ the connection seem to work fine. We get an active application, and the beans connecting to queues on those servers reports as 'connected'.
              For Oracle AQ I must be doing something wrong, but I can't for the life of me figure out what it is.
              Our setup is as follows:
              We have a domain-scoped startup class that binds the AQ-queues and a custom QueueConnectionFactory to the WL default context. Giving them a name like aqadapter-AQ_ARE_PING.
              We have defined a System Resource, within which we have defined AQ as a Foreign Server. Within this foreign server we have each queue mapped to the queue-names bound through the Startup class. Likewise we have a qcf mapped to the qcf bound through the startup class.
              The application contains message-driven beans which are supposed to be listening to the AQ-queues. In weblogic-ejb-jar.xml each target queue is mapped within each bean to the same name mapped within the Foreign Server element.
              All this results in MDB's that report as 're-connecting' and 'initializing' and the following message in Server1.stdout for each MDB:
              <Mar 28, 2007 4:27:58 PM CEST> <Warning> <EJB> <BEA-010061> <The Message-Driven EJB: ARE_Ping is unable to connect to the JMS destination: AQ_ARE_PING. The Error was:
              javax.jms.InvalidDestinationException: JMS-125: Invalid Queue specified>
              Any ideas what I am doing wrong? It seems to me that all the settings are as similar as the way they are set up on WLS81 as we could get them.
              Anyone reading this that have done this before? Setting up WLS92 or WLS90 to interact with Oracle AQ?
              Regards,
              Frode Laukus
              Edited by laukus at 03/28/2007 7:53 AM

    Hi Frode
              Have you managed to find a solution to this issue?
              We are trying to do something very similar and encountering all sorts of issues.
              Are you using the DIPSStartup classes to register your queues & qcf with the WL JNDI? I haven't managed to get these classes to work with the AQJmsSession in the latest release of the aqapi13.jar files.
              Hopefully we can sort out a workable solution between us :)
              Andy

  • Fully_qualified_remote_host_name while Configuring the oracle User's Enviro

    Hello All,
    I am installing Oracle 11g R2 on HP-UX server.
    I am connected to the HP-UX server through putty.
    On the Quick Installation guide i reached the section "Configuring the oracle User’s Environment" and i have the below questions:
    In the below
    Enter the following command to ensure that X Window applications can display
    on this system:
    $ xhost fully_qualified_remote_host_name
    what is the fully_qualified_remote_host_name ? is it the IP address of the my own PC where i am connecting to the remote server? or the IP address of the server it self?
    and in the below example
    $ export DISPLAY=local_host:0.0 -- local host is the IP of the PC i am connecting from it to the server?
    Regards,

    Hi;
    In the below
    Enter the following command to ensure that X Window applications can display
    on this system:
    $ xhost fully_qualified_remote_host_name
    what is the fully_qualified_remote_host_name ? is it the IP address of the my own PC where i am connecting to the remote server? or the IP address of the server it self?
    and in the below example
    $ export DISPLAY=local_host:0.0 -- local host is the IP of the PC i am connecting from it to the server?If you use putty than you need to some program like VNCviwer or xming etc. to can see GUI screen on your desktop.Please check my previous post
    Re: 11gR2 Grid Infrastructure cannout launch installer OEL 5.5
    Still have some issue than update thread.
    Regard
    Helios

  • Problem while Connecting with oracle thin driver

    I have been trying for the past two days for connecting oracle 8.1.1.6 using thin driver. I set the classpath also. It throws me the following exception.
    Exception in thread "main" java.sql.SQLException: Io exception: The Network Adap
    ter could not establish the connection
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:168)
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:210)
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:323)
    at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:260)
    at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.ja
    va:365)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:260)
    at java.sql.DriverManager.getConnection(DriverManager.java:517)
    at java.sql.DriverManager.getConnection(DriverManager.java:177)
    at Employee.main(Employee.java:23)
    I am trying to acheive the connection using the following piece of code
    Connection conn = DriverManager.getConnection ("jdbc:oracle:thin:@THIRU:1521:ORCL",
                        "scott", "tiger");
    The problem lies in that piece of code only,
    In the TNSNAMES.ora the entries are as follows.
    THIRU =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = Thiru)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = thiru)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    How to solve this one. Can anybody tell me how to provide the proper url.
    thanks in advance

    You were very close.
    "Thiru" as opposed to "THIRU" should be the name of the machine running the database, but that would imply that the DNS lookups are case sensitive, and we know that's not the case.
    My guess, because the network adapter itself is reporting an error, is that "Thiru" evaluates to an IP address that isn't correct, that is, it's trying to make a connection to a specific address and getting nothing back in return.
    Anyway, I think your program(s) are just fine, and your network is misconfigured. Incidently, it is always a good idea in cases like this to use the full name of the machine, for example...
    ...getConnection( "jdbc:oracle:thin:@thiru.maran1977.com:1521:ORCL"...
    and in the database configuration itself...
    (ADDRESS = (PROTOCOL = TCP)(HOST = thiru.maran1977.com)(PORT = 1521))
    You may also use the IP address if you wish.

  • Problem creating a new Glassfish 4 server with Oracle Tools for Kepler

    Hello,
    I installed Oracle Tools for Kepler with no problem. But when I want to create a new server and fill in the directory to the server (which is valid, C:/glassfish4/glassfish), nothing happens. I can only click 'back' or 'cancel'.
    There is no error message.
    Is this a bug in Eclipse or Oracle Tools, or do I do something wrong ?
    Thanks in advance for help.

    Hi,
    Could you let us know where you installed the GlassFish tools plugins from ?
    Glassfish 4 support in OEPE has been available since Glassfish was released in June. But it looks like a bug may have been introduced in the latest build  available on  http://download.java.net/glassfish/ which does not exist in the version available at http://download.oracle.com/otn_software/oepe/12.1.2.1/kepler/repository
    The workaround on the version you are running is to enter a dummy password value and this should allow you to create the Glassfish 4 server.
    I will be filing a bug to track this issue
    thanks
    Raj

  • Problem installing new Discoverer Catalog AS 10gR2 with Oracle 10g 10.1.0.4

    Hello everybody, I'm having the following problems
    I have successfully installed
    1. Oracle 10g (10.1.0.4) with all appropriate patches (successfully up and running and works with Analytic Warehouse Manager 10g R1)
    2. Oracle Application Server 10g R2 (10.1.0.2) (Infrastructure and Application Server mid tiers both successfully up and running)
    3. Oracle Business Intelligence 10g (10.1.0.2)
    (successfully up and running)
    Whilst trying to install a discover catalog into my GLOBAL tablespace on Oracle10g 10.1.0.4 instance, I encountered the following error
    500 Internal Server Error
    java.lang.InterruptedException: sleep interrupted
    at java.lang.Thread.sleep(Native Method)
    atoracle.disco.oem.controller.DiscoEventHandler.handleEvent(DiscoEventHandler.java:104)
    atoracle.cabo.servlet.event.TableEventHandler.handleEvent(Unknown
    Source)
    atoracle.cabo.servlet.event.TableEventHandler.handleEvent(Unknown
    Source)
    atoracle.cabo.servlet.event.BasePageFlowEngine.handleRequest(Unknown
    Source)
    atoracle.cabo.servlet.AbstractPageBroker.handleRequest(Unknown
    Source)
    atoracle.cabo.servlet.ui.BaseUIPageBroker.handleRequest(Unknown
    Source)
    atoracle.cabo.servlet.PageBrokerHandler.handleRequest(Unknown
    Source)
    atoracle.cabo.servlet.UIXServlet.doGet(Unknown
    Source)
    atoracle.sysman.emSDK.svlt.EMServlet.doGet(EMServlet.java:347)
    atoracle.sysman.eml.app.Console.doGet(Console.java:271)
    atavax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    atjavax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    atcom.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:823)
    atcom.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:322)
    atcom.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
    atcom.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
    atcom.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
    atcom.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
    at java.lang.Thread.run(Thread.java:534)
    Thank you for your help

    Hi Amer,
    For OLAP access in 10g database you must apply the 10.1.0.4 patchset that can be downloaded from Metalink. This provides many new features for the OLAP option such as improved sparsity management and paritioned cubes to name a few of the new features.
    Once you have this patchset installed you will then be able to use Discoverer to access your dimensions and cubes.
    Hope this helps
    Business Intelligence Product Management Team
    Oracle Corporation

  • Hibernate data insertion not working with oracle auto increment

    hi i have created a table and the id is set to auto increment by a sequence trigger pair
    when i manually giving value to id its working fine
    but when i tried without maually giving the id i am getting this error
    org.hibernate.id.IdentifierGenerationException: ids for this class must be manually assigned before calling save(): com.pojo.Example
    at org.hibernate.id.Assigned.generate(Assigned.java:33)
    at org.hibernate.event.def.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:99)
    at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.saveWithGeneratedOrRequestedId(DefaultSaveOrUpdateEventListener.java:187)
    at org.hibernate.event.def.DefaultSaveEventListener.saveWithGeneratedOrRequestedId(DefaultSaveEventListener.java:33)
    at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.entityIsTransient(DefaultSaveOrUpdateEventListener.java:172)
    at org.hibernate.event.def.DefaultSaveEventListener.performSaveOrUpdate(DefaultSaveEventListener.java:27)
    at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:70)
    at org.hibernate.impl.SessionImpl.fireSave(SessionImpl.java:535)
    at org.hibernate.impl.SessionImpl.save(SessionImpl.java:523)
    at org.hibernate.impl.SessionImpl.save(SessionImpl.java:519)
    at hibernetsample.Main.main(Main.java:30)

    >
    hi i have created a table and the id is set to auto increment by a sequence trigger pair
    when i manually giving value to id its working fine
    but when i tried without maually giving the id i am getting this error
    org.hibernate.id.Assigned
    >
    That is because you are using the hibernate 'assigned' generator which, by definition
    >
    lets the application to assign an identifier to the object before save() is called.
    This is the default strategy if no <generator> element is specified.
    >
    For your use case you can use the 'sequence' generator.
    The valid generator options and one way to use a sequence generator is shown in this article
    http://www.hibernate-training-guide.com/identifiers-generators.html
    The hibernate section of this article also uses a trigger with sequence generator
    http://blog.lishman.com/2009/02/auto-generated-primary-keys-in-oracle.html
    You should check the hibernate documention and tutorial for examples or search 'hibernate generator sequence example'

  • Errors while Configuring a Oracle DB on RAC

    Iam configuring a DB Table in IDM 8.0.
    Here is my URL
    jdbc:oracle:thin:@(DESCRIPTION=(LOAD_BALANCE=on)(ADDRESS=(PROTOCOL=TCP)(HOST=10.240.149.191) (PORT=1521))(ADDRESS=(PROTOCOL=TCP)(HOST=10.240.149.192) (PORT=1521))(CONNECT_DATA=(SERVICE_NAME=IDMPROD)))The User/Password are mentioned in the Resource wizard .
    When I move to the next page it should display the Table names & later the column names of the selected table, but its not happening. In fact its throwing errors like ..
    XPRESS <invoke> exception:
    Can't call method getTableColumns on class com.waveset.ui.web.resources.wizard.DBTableUtil ==> com.waveset.util.WavesetException: ==> java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
    The Network is OK as Iam able to ping the server continuously..
    Even Iam able to configure the URL in Oracle SQL developer. The Test connection shows Success & failure. Sometimes showing the above error.
    Plz provide some inputs

    Hi,
    thankz for da reply.
    Iam able to configure to a single host & I can edit the configuration again & save it.
    But for the RAC config Iam facing the SQLException & IOException
    Iam able to continuously ping the Servers Ping 10.129.149.191 -t
    Even telnet 10.129.149.191 1521 is showing as connected.
    Plz correct me if Iam wrong in the config for RAC.
    Edited by: idm_guy on Dec 15, 2009 3:03 AM

  • Odbc driver error while connecting with Oracle BI in Linux

    I have Oracle BI Server, Presentation Service and Oracle 11g Client installed in RHEL 5. Oracle BI client is installed in Windows so that I can use Admin tool.
    I have created a repository in Windows for sh schema(by creating ODBC). After that I transferred this repository to the ..server/repository in the linux server.
    I have installed Oracle ODBC Driver from EASYSOFT and added one odbc data source for sh schema in the ../setup/odbc.ini.
    My ODBC setting is as follows.
    [ODBC Data Sources]
    sh=Oracle in OraDb11g_home1
    [sh]
    Driver=/usr/local/easysoft/oracle/libesoracle.so
    Database=//ipaddress_of_ORACLE_SERVER:port/database_service_name
    UID=sh
    PWD=sh
    When I am trying to query through Oracle Answers I am getting the following error.
    Odbc driver returned an error (SQLExecDirectW).
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 16023] The ODBC function has returned an error. The database may not be available, or the network may be down. (HY000)
    SQL Issued: SELECT Customers."Cust First Name" saw_0 FROM SH ORDER BY saw_0
    I have enabled tracing, but I am not getting any clue from trace output.
    Can anybody please help.
    If it is because of wrong driver, can anybody suggest a proper ODBC Driver for Oracle and how to configure it. If the driver is OK and configuration is wrong, can anybody tell me how to create system dsn in linux?
    Thanking you in advance.

    don't use ODBC for Oracle, use OCI
    search on the forum, there's plenty of information about it.

Maybe you are looking for

  • Error message: unexpected end-of-file in Photoshop CS4

    "could not complete the command because an unexpected end-of-file was encountered"I just started getting them tonight. It happened when I opt-doubled clicked on an image in Dreamweaver to edit in Photoshop. Now it pops up on every image. I just reins

  • Turning off info in web gallery

    Is there a way to make the photo info unavailable in a web gallery? I don't want my site's visitors to have access to my photos' metadata. Thanks.

  • Garbage when create a new txt file

    I'm creating a text file but when a check the file it contain some garbage... salida = new DataOutputStream (new FileOutputStream ("client.txt"));       salida.writeUTF("Hello"); salida.writeUTF("my"); salida.writeUTF("world"); but when i check the f

  • Custom Condition table data download

    Hi, In our project we have few custom condition tables in ERP. I have completed the customizing download & then downloading the ZDNL objects which I have created in R3AC5 for custom condition tables. During download I see many records in CRM Inbound

  • Working Capital Management on SAP

    Dear Expert Is there standard reports on SAP where I can retrieve some working capital ratios, eg. Debtors days Inventory turnover days Creditors, etc Thanking you in advance Theo