SQL TYPE MAPPING for MSSQL SERVER and POSTGRES

I have deployed an ejb application using weblogic6.1 and Oracle which was successful.The same application i tried to deploy for MSSQL SERVER which failed with the following exception :
Errors encountered ''The Container-Managed Persistence Entity EJB failed while creating its SQL Type Map. The error was:
[Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]Invalid object name 'd_sip_salary_earning_1'.',
'Error encountered while attempting to create Default DBMS Table: 'd_sip_salary_earning_1'. Error Text: '[Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]Column or parameter #3: Cannot find data type DATE.'.''
How do i solve the above issue?
Please someone help me solve this issue.
Thanks in Advance.
Regds,
--Jagan

Jagan wrote:
I have deployed an ejb application using weblogic6.1 and Oracle which was successful.The same application i tried to deploy for MSSQL SERVER which failed with the following exception :
Errors encountered ''The Container-Managed Persistence Entity EJB failed while creating its SQL Type Map. The error was:
[Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]Invalid object name 'd_sip_salary_earning_1'.',
'Error encountered while attempting to create Default DBMS Table: 'd_sip_salary_earning_1'. Error Text: '[Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]Column or parameter #3: Cannot find data type DATE.'.''
How do i solve the above issue?
Please someone help me solve this issue.
Thanks in Advance.
Regds,
--JaganMS SQLServer does not have a DATE column type. The column type you want is 'DATETIME' in MS SQLServer.
If you did not specify the DDL and/or if this is coming from generated code, then show me the full stack trace
of this exception. If you dont have it, please turn on JDBC logging, and the full SQLException will show up in
the jdbc log file.
thanks,
Joe

Similar Messages

  • Can i use create function for MSSql scalar and table valude function.

    Hi,
    1) Can i use create function for MSSql scalar and table valued function?
    2) How many type of user defined function are there in oracle 11g express?
    3) And can i reture any "type" form user defined function?
    yourse sincerely

    944768 wrote:
    Q1)That means even if i return predefined types like integer, varchar2 then also PGA is used ?The data type does not determine where the variable is stored. A string (called a varchar2 in Oracle) can be stored in stack space, heap space, on disk, in a memory mapped file, in a shared memory, in an atom table, etc.
    It is the who and what is defining and using that string, that determines where and how it is stored.
    The Oracle sever supports 2 languages in PL/SQL. The PL (Programming Logic) language is a procedural/declarative language. It is NOT SQL. SQL is integrated with it. The PL/SQL engine uses private process memory (PGA). So PL/SQL variables exist in the PGA (but there are exceptions such as LOBs).
    Q2) So please suggest me solution in oracle.Sounds to me you are looking at how to implement a T-SQL style function as an Oracle function, and once implemented, do joins on the function.
    Do not use PL/SQL in SQL in place of a SQL select. It is not T-SQL.
    One cannot use PL/SQL to create functions along the style of T-SQL, where the function executes a SQL using some conditional logic, and then return as if the function was a native SQL select.
    T-SQL is an extension to the SQL language - making it a hybrid and very impure language implementation. PL is based on ADA - part of the Pascal family of languages. The E-SQL (embedded SQL) approach used in languages like C/C++, Cobol and Ada, has been transparently done in PL/SQL. You can write and mix PL code and variables with SQL code. And the PL/SQL engine figures out how to make the call from the PL/SQL engine to the SQL engine.
    But PL/SQL is not "part" of the SQL language and does not "extend" the SQL language in a T-SQL fashion.
    So you need to check your SQL-Server preconcepts in at the door, as they are not only irrelevant in Oracle, they are WRONG in Oracle.
    The correct way in Oracle, in a nutshell - Use the SQL language to do data processing. Use PL/SQL to manage conditional process flow and the handling of errors.

  • Where i will get  the .jar files for JDBC connector for MSSQL Server

    Hi,
    i am trying to configure the JDBC connector for the MSSQL server. For this we need to add the .jar files for MSSQL Server. Can any body tell , where i will will get the jar files to finish this connection.
    Database version is MS SQL Server 2000
    Portal version is       Portal7.0 sp9
    Regards
    vijay

    Hi Vijay,
    If you are looking for the exact steps as to how we can configure the JDBC Connector for accessing the MS SQL Server, have a look at this document:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/b00917dc-ead4-2910-3ebb-b0a63e49ef10
    Follow the steps till page 12 of this doc.
    Bye
    Ankur
    Do reward points for helpful as well as solved answers!!

  • (Deployment) Minimum Software required for BUILD server and IIS WebServer

    We have a simple .Net SDK application written using VB-2005 and the Crystal Reports XI (R2) DEVELOPER package.
    The RPT files are posted on our BOE-XI (R2) server, and are called using the View-On-Demand method from the Page Server (similar to the SDK sample application). At some point in the future, our .Net applications may invoke some of the other SDK content types.
    In our environment, the .NET web-applications are checked-in to Clear Case, and then sent to a stand-alone BUILD server to be compiled. The compiled .NET web-applications are then posted to a stand-alone IIS WebServer (not the IIS server that hosts BOE InfoView/CMC).
    The BUILD server and IIS WebServer have to be as "stripped-down" as possible in order to go through our QAT and Impact Analysis process.
    So far we have had success if we deploy the SDK-only install from the Crystal Reports XI (R2) DEVELOPER package, and the service packs, but it doesn't include all the SDK components for other BOE content types.
    If we deploy the Client-only install from the BOE-XI (R2) package, and the service packs - it doesn't seem to include the CR-Viewer which we need. But it does includes a bunch of extra software (eg. UNIVERSE DESIGNER) on the desktop of the BUILD server and IIS WebServer that our QA guys don't like.
    What are the Minimum Software required for BUILD server and IIS WebServer to support CR and BOE SDKs...?
    Are there any install packages that contain JUST those components, and not all the extra software that is not needed to Build/Deploy in .NET...?
    Thanks in advance for the advice.

    Due to the CrystalDecisions.web.dll for the 2.0 framework being left off the BOE CD you will need to install the Crystal XI R2 runtimes as well as the BOE SDK.
    To get the BOE SDK launch the Enterprise XI R2 installer and choose Server Install - not Client Install.  Choose a Custom install.  You'll be presented with a drop down list for the Enterprise components.  Deselect everything and then look for the Developer Components option.  You may have to drill down into one of the levels to find it.  Under Developer Components you'll see the BusinessObjects Enterprise .NET SDK.  Select it to install it.
    Jason

  • Problem accessing /config_general/null/Default.action   Reason:There is no Action mapped for namespace/ config_general and action name default

    in use:
    vRO 5.1
    eclipse 3.7.2
    vRo plug-sdk 5.1
    steps:
    1.create a plug-in project from samples(choose solar system)
    2.find the dar package and upload it by vRo configuration
    3.vRo configuration said upload successfully,but the solar system configuration is not properly configued..
    problem:
    Problem accessing /config_general/null/Default.action   Reason:There is no Action mapped for namespace/ config_general and action name default
    How to solve it??
    Thanks so much!!

    There was problem from crm side...its working now..

  • Seperate NT service for App server and Process Scheduler

    Is it possible to create a separate NT service for App server and Process Schedule for the same environment? Everytime i need to shutdown either App Domain or Prcs Domain (not both) using service, it brings down both.
    I could use psadmin but services run as a different user.
    Please advise.

    What PeopleTools release are you using?  Off the top of my head, one strategy would be to use different PS_CFG_HOMEs for the App and the Process scheduler.  The service points to the PS_CFG_HOME and reads the pswinsrv.cfg file to know what to start/stop.  I'm not sure there is a way to override psntsrv and tell it to use a different config file, so you may need a different HOME.  You could also create a script that wraps the service start/stop.  It could edit/update the config file prior to stop/start and remove Process Scheduler from the config and then reinsert it later.
    You could have a stop_app/start_app and stop_prcs/start_prcs script that would copy in specific versions of the pswinsrv.cfg file for what you want to do.

  • Document Types Setup for Expense Approval and Payable Invoice

    Hi,
    Can anyone please suggest Document Types Setup for 'Expense Approval' and 'Invoice Approval' and its tables related to the same. Table storing its document_type_code and wf_approval_itemtype as we have for PO_DOCUMENT_TYPES_ALL table for Purchase Order.
    Thank You.
    Regards,
    Meghana

    Hi
    It could be because of main memory problem... so Restrict your selections and do the statistical setup
    by the way how many comp codes you have? restrict with comp codes or doc ranges
    Thanks,

  • Error:-No delivery type defined for supplying plant and document type RB

    Hi,
    Here issue is such that while creating purchase order(Return order type)the error coming as follows.                      
    "No delivery type defined for supplying plant and document type RB"
    Scenario:-There are some damaged goods which are coming from france vendor to ukrain customer,now ukrain customer wish to send back the damaged goods to france.
    Looking forward:-1>Can anyone please let me know if there is an any customizing setting required if yes then how to maintain(navigation).
                             2>Is it something like practically it is not possible as goods are dispatched back to the country from where it is coming.
    Thanks for your help !!!
    Dharmesh

    Hi Naveen,
    Thanks for the information !!!
    Futher while creating PO i am getting an error message as purchase org. not responsile for plant how to solve this error can you plz let me know.
    Regards,
    Dharmesh

  • Pls Suggest server names for Reporting Server and Shared Services

    Hi,
    Can any one Pls Suggest server names for Reporting Server and Shared Services
    Thanks in advance.

    Report server name: OrclRpt
    Shared Services: OrclSS

  • Why does siri only have business and maps for U.S and not Ausstralia?

    why does siri only have business and maps for U.S and not Ausstralia?

    what does this mean ?
    Beta means it is unfinished, not fully featured and may have bugs.
    so is it not possible for siri to tell me the weather, and maps and businesses for Australia?
    That's correct. Nor will it do it for me in the UK. As it say's in the Siri FAQ I linked to:
    "Maps and local search support will be available in additional countries in 2012."

  • Download maps for North America and China to my 61...

    Please help -
    Where could I download maps for North America and China
    to my 6110.

    @Tunisianbob
    As the smallest country in North Africa you would probably either need to download entire continent of Africa or set Nokia Maps application "Online" and sweep across area in horizontal "zigzag" and force it to download any available data:
    As I have the entire World Maps downloaded from merging the five continents there is no further available data.
    Happy to have helped forum with a Support Ratio = 42.5

  • Issue with xsd Data type mapping for collection of user defined data type

    Hi,
    I am facing a issue with wsdl for xsd mapping for collection of user defined data type.
    Here is the code snippet.
    sample.java
    @WebMethod
    public QueryPageOutput AccountQue(QueryPageInput qpInput)
    public class QueryPageInput implements Serializable, Cloneable
    protected Account_IO fMessage = null;
    public class QueryPageOutput implements Serializable, Cloneable
    protected Account_IO fMessage = null;
    public class Account_IO implements Serializable, Cloneable {
    protected ArrayList <AccountIC> fintObjInst = null;
    public ArrayList<AccountIC>getfintObjInst()
    return (ArrayList<AccountIC>)fintObjInst.clone();
    public void setfintObjInst(AccountIC val)
    fintObjInst = new ArrayList<AccountIC>();
    fintObjInst.add(val);
    Public class AccountIC
    protected String Name;
    protected String Desc;
    public String getName()
    return Name;
    public void setName(String name)
    Name = name;
    For the sample.java code, the wsdl generated is as below:
    <?xml version="1.0" encoding="UTF-8" ?>
    <wsdl:definitions
    name="SimpleService"
    targetNamespace="http://example.org"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    xmlns:tns="http://example.org"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
    >
    <wsdl:types>
    <xs:schema version="1.0" targetNamespace="http://examples.org" xmlns:ns1="http://example.org/types"
    xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <xs:import namespace="http://example.org/types"/>
    <xs:element name="AccountWSService" type="ns1:accountEMRIO"/>
    </xs:schema>
    <xs:schema version="1.0" targetNamespace="http://example.org/types" xmlns:ns1="http://examples.org"
    xmlns:tns="http://example.org/types" xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <xs:import namespace="http://examples.org"/>
    <xs:complexType name="queryPageOutput">
    <xs:sequence>
    <xs:element name="fSiebelMessage" type="tns:accountEMRIO" minOccurs="0"/>
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="accountEMRIO">
    <xs:sequence>
    <xs:element name="fIntObjectFormat" type="xs:string" minOccurs="0"/>
    <xs:element name="fMessageType" type="xs:string" minOccurs="0"/>
    <xs:element name="fMessageId" type="xs:string" minOccurs="0"/>
    <xs:element name="fIntObjectName" type="xs:string" minOccurs="0"/>
    <xs:element name="fOutputIntObjectName" type="xs:string" minOccurs="0"/>
    <xs:element name="fintObjInst" type="xs:anyType" minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="queryPageInput">
    <xs:sequence>
    <xs:element name="fPageSize" type="xs:string" minOccurs="0"/>
    <xs:element name="fSiebelMessage" type="tns:accountEMRIO" minOccurs="0"/>
    <xs:element name="fStartRowNum" type="xs:string" minOccurs="0"/>
    <xs:element name="fViewMode" type="xs:string" minOccurs="0"/>
    </xs:sequence>
    </xs:complexType>
    </xs:schema>
    <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://example.org"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://example.org" xmlns:ns1="http://example.org/types">
    <import namespace="http://example.org/types"/>
    <xsd:complexType name="AccountQue">
    <xsd:sequence>
    <xsd:element name="arg0" type="ns1:queryPageInput"/>
    </xsd:sequence>
    </xsd:complexType>
    <xsd:element name="AccountQue" type="tns:AccountQue"/>
    <xsd:complexType name="AccountQueResponse">
    <xsd:sequence>
    <xsd:element name="return" type="ns1:queryPageOutput"/>
    </xsd:sequence>
    </xsd:complexType>
    <xsd:element name="AccountQueResponse" type="tns:AccountQueResponse"/>
    </schema>
    </wsdl:types>
    <wsdl:message name="AccountQueInput">
    <wsdl:part name="parameters" element="tns:AccountQue"/>
    </wsdl:message>
    <wsdl:message name="AccountQueOutput">
    <wsdl:part name="parameters" element="tns:AccountQueResponse"/>
    </wsdl:message>
    <wsdl:portType name="SimpleService">
    <wsdl:operation name="AccountQue">
    <wsdl:input message="tns:AccountQueInput" xmlns:ns1="http://www.w3.org/2006/05/addressing/wsdl"
    ns1:Action=""/>
    <wsdl:output message="tns:AccountQueOutput" xmlns:ns1="http://www.w3.org/2006/05/addressing/wsdl"
    ns1:Action=""/>
    </wsdl:operation>
    </wsdl:portType>
    <wsdl:binding name="SimpleServiceSoapHttp" type="tns:SimpleService">
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
    <wsdl:operation name="AccountQue">
    <soap:operation soapAction=""/>
    <wsdl:input>
    <soap:body use="literal"/>
    </wsdl:input>
    <wsdl:output>
    <soap:body use="literal"/>
    </wsdl:output>
    </wsdl:operation>
    </wsdl:binding>
    <wsdl:service name="SimpleService">
    <wsdl:port name="SimpleServicePort" binding="tns:SimpleServiceSoapHttp">
    <soap:address location="http://localhost:7101/WS-Project1-context-root/SimpleServicePort"/>
    </wsdl:port>
    </wsdl:service>
    </wsdl:definitions>
    In the above wsdl the collection of fintObjInst if of type xs:anytype. From the wsdl, I do not see the xsd mapping for AccountIC which includes Name and Desc. Due to which, when invoking the web service from a different client like c#(by creating proxy business service), I am unable to set the parameters for AccountIC. I am using JAX-WS stack and WLS 10.3. I have already looked at blog http://weblogs.java.net/blog/kohlert/archive/2006/10/jaxws_and_type.html but unable to solve this issue. However, at run time using a tool like SoapUI, when this wsdl is imported, I am able to see all the params related to AccountIC class.
    Can some one help me with this.
    Thanks,
    Sudha.

    Did you try adding the the XmlSeeAlso annotation to the webservice
    @XmlSeeAlso({<package.name>.AccountIC.class})
    This will add the schema for the data type (AccountIC) to the WSDL.
    Hope this helps.
    -Ajay

  • High availability for file server and exchange with 2 physical servers

    Dear Experts,
    I have 2 physical server with local disks only. I want to setup below on same with high availability, please advise best prossible options. We will be using windows 2012 R2 Server..
    1. Domain controller
    2. Exchange 2013
    As of now I am thinking of setting up below:
    1. Install Hyper-v on both and create 3 VM on each as
    -On Host A- 1 VM for DC, 1 VM for File server with DFS namespace and replication for file server HA and 1 VM for Exchange 2013 with CAS/MBX with DAG and DNS RR for Exchange HA
    -On Host B - 1 VM for ADC, 1 VM for File server DFS member for above and 1 VM for Exchange 2013 CAS/MBX with DAG member
    I have read on internet about new features called scale out file server (SoFS) in Windows 2012 Server but not sure that will be preferred for file sharing.
    Any advise will be highly appreciated..
    Thanks for the help in advance..
    Best regards,

    Dear Experts,
    I have 2 physical server with local disks only. I want to setup below on same with high availability, please advise best prossible options. We will be using windows 2012 R2 Server..
    1. Domain controller
    2. Exchange 2013
    As of now I am thinking of setting up below:
    1. Install Hyper-v on both and create 3 VM on each as
    -On Host A- 1 VM for DC, 1 VM for File server with DFS namespace and replication for file server HA and 1 VM for Exchange 2013 with CAS/MBX with DAG and DNS RR for Exchange HA
    -On Host B - 1 VM for ADC, 1 VM for File server DFS member for above and 1 VM for Exchange 2013 CAS/MBX with DAG member
    I have read on internet about new features called scale out file server (SoFS) in Windows 2012 Server but not sure that will be preferred for file sharing.
    Any advise will be highly appreciated..
    Thanks for the help in advance..
    Best regards,
    DFS is by far the best way to implement any sort of file server. Because a) failover is not fully transparent and does not happen always (say not on copy ) b) DFS cannot replicate open files so if you edit a big file and have node rebooted you're going to
    lose ALL transactions/updates you've applied c) actually slows down the config. See:
    DFS for failover
    http://help.globalscape.com/help/wafs3/using_microsoft_dfs_for_failover.htm
    DFS FAQ
    http://technet.microsoft.com/library/cc773238(WS.10).aspx
    (check "open files" point here)
    DFS Performance
    http://blogs.technet.com/b/filecab/archive/2009/08/22/windows-server-dfs-namespaces-performance-and-scalability.aspx
    SoFS a) requires shared storage to run and you don't have one b) does not support generic workloads
    (only Hyper-V and SQL Server) and c) technically makes sense to expand SAS JBOD or existing FC SAN to numerous Hyper-V clients over 10 GbE w/o need to invest money into SAS switches and HBAs and FC HBAs and new licenses FC ports. Making long story short:
    SoFS is NOT YOUR CASE. 
    SoFS Overview
    http://technet.microsoft.com/en-us/library/hh831349.aspx
    http://www.aidanfinn.com/?p=12786
    http://www.aidanfinn.com/?p=12786
    For now you need to find some shared storage to be a back end for your hypevisor config (SAS JBOD from supported list, virtual SAN from multiple vendors like for example StarWind see below, make sure you review ALL the vendors) and then you create a failover
    SMB 3.0 share for your file server workload. See:
    Clustered Storage Spaces over SAS JBOD
    http://technet.microsoft.com/en-us/library/jj822937.aspx
    Virtual SAN from inexpensive SATA and no SAS or FC
    http://www.starwindsoftware.com/native-san-for-hyper-v-free-edition
    Failover
    SMB File Server in Windows Server 2012 R2
    http://www.starwindsoftware.com/configuring-ha-file-server-on-windows-server-2012-for-smb-nas
    Fault
    tolerant file server on just a pair of nodes
    http://www.starwindsoftware.com/ns-configuring-ha-file-server-for-smb-nas
    For Exchange you use SMB share from above for a file share witness and use DAG. See:
    Exchange DAG
    Good luck! Hope this helped :)
    StarWind VSAN [Virtual SAN] clusters Hyper-V without SAS, Fibre Channel, SMB 3.0 or iSCSI, uses Ethernet to mirror internally mounted SATA disks between hosts.

  • Checklist for apache server and form server

    Hi,
    When some thing wrong happen to Apache server
    please tell me the checklist for apache simillarly for form server
    Thanks

    I would recommend the following notes:
    Note: 244274.1 - Oracle Application Object Library Generic Service Management (GSM) Setup Test
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=244274.1
    Note: 200360.1 - Oracle Application Object Library Concurrent Manager Setup Test
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=200360.1
    Note: 398624.1 - Oracle Application Object Library Concurrent Manager Test Set
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=398624.1
    Note: 370317.1 - Oracle Application Object Library Concurrent Processing Data Collection Test
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=370317.1
    Note: 134007.1 - CMCLEAN.SQL - Non Destructive Script to Clean Concurrent Manager Tables
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=134007.1
    One more Note which helps to make sure that all necessary components of Oracle applications are up and running before releasing the instance to end-users:
    Note: 283976.1 - Applications 11i Health Check After Maintenance
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=283976.1

  • I need to Health check for Web server and need report on daily basis

    Hello,
    How to monitor Web servers  ?
    It would be great for administrators to have a daily alert using power shell script for web server
    Can anyone have any scripts that triggers email like IIS services , etc.. are up and running.
    Thanks
    Pushparaj
    Thanks, Pushparaj

    Hi Pushparaj, this forum is not for sharing or building script based on request
    You check the below code and build your script
    $Service = Get-WmiObject -Class Win32_Service -ComputerName SERVERNAME | ?{$_.Name -eq 'IISADMIN'}
    Send-MailMessage -From 'mailID' -To 'mailID' -SmtpServer 'XXXX.DOMAIN.XXX' -Body $Service.State `
    -Subject 'IIS Service'
    Search Script
    Request Script
    See this script and modify as per your needs
    Regards Chen V [MCTS SharePoint 2010]

Maybe you are looking for