Transactions in MS SQL server 2000

I'm writing an application whish will real data from MS SQL server 2000. At the same time one table and/or database would be used with couple of users. What should I use for handling transactions?
I'm using jtds-0.8-rc1 as JDBC driver.
Thanks in advance.

I'm writing an application whish will real data from
MS SQL server 2000. At the same time one table and/or
database would be used with couple of users. What
should I use for handling transactions?
I'm using jtds-0.8-rc1 as JDBC driver.
Thanks in advance.Are you saying you will only have one database? Are your sql statements atomic? If they are just use sql server and JDBC with autocommit on. If not, you can still just use sql server and jdbc and turn autocommit off, and explicitly control the transactions yourself. If your app is a web application, you can probably use the web container to control the transactions.
If you are going to have more than one database, or a database and another datasource, then you'll have to look at a transaction manager or application server. If you do, you'll have to have the Microsoft Distributed Transaction Coordinator running as well.

Similar Messages

  • How to reduce transaction log in SQL Server 2000

    Dear All gurus/experts,
    I need your help. The problem is that the time to take to reduce transaction log in SQL server 2000 when I use shrink method. Are there another way to do that beside shrink database (right click : all tasks --> shrink database) ?
    I appreciate your answers. TIA
    Rgds,

    Hi Steve,
    Is this for a test system or a production system?
    For a test system, as per Ad's post, setting the recovery model to simple should do the trick.
    For a production system, I'd recommend you leave the recovery model at full and set up transaction log backups. This will keep the log file at a reasonable size and you will gain point in time recovery (eg if you back up the logs on an hourly basis, you can recover the database to the last log backup, meaning you would never lose more than an hour's work).
    Kind Regards,
    Owen

  • XA and MS SQL Server 2000

    I am currently working on a project that proposes to use XA transactions with MS
    SQL Server 2000. I have been searching for information on this subject and have
    found information that worries me with regard to MS SQL Server 6.5 and XA transactions.
    The information I have gathered argues against using MS SQL Server 6.5 with XA
    transactions, mainly because it allows only 1 active transaction at a time.
    Does anyone have any information as to whether MS SQL Server 2000 has the same
    problem? I am thinking of suggesting a different XA RM as I have found no information
    stating the contrary.
    Many Thanks,
    Mick.

    Mick;
    I have already tried SQL Server with Tuxedo, and believe: it´s works, but I still
    try it using Tuxedo with a big load.
    The file attached has two source files with a short comments explain how to do,
    and what to do.
    If you prefer, I can send you the MSVC++6 Project
    My regards,
    Andre David
    Systems Engineer
    "Anthony Fryer" <[email protected]> wrote:
    >
    If it still uses the 'dbenlistxatrans' function, then I think it's a
    safe bet to
    say that it still is a poor mans XA. Avoid SQL Server and XA is a good
    rule of
    thumb.
    "Mick Fisher" <[email protected]> wrote:
    I am currently working on a project that proposes to use XA transactions
    with MS
    SQL Server 2000. I have been searching for information on this subject
    and have
    found information that worries me with regard to MS SQL Server 6.5 and
    XA transactions.
    The information I have gathered argues against using MS SQL Server 6.5
    with XA
    transactions, mainly because it allows only 1 active transaction ata
    time.
    Does anyone have any information as to whether MS SQL Server 2000 has
    the same
    problem? I am thinking of suggesting a different XA RM as I have found
    no information
    stating the contrary.
    Many Thanks,
    Mick.
    [source_example_using_sqlserver.zip]

  • WL 6.0 using MS SQL Server 2000 - Transaction timeout when invoking stored procedure

    Hi,
    Facing a problem on WL6.0. We are connecting to MS SQL server 2000 using a stateless
    session bean
    using container managed transaction. The bean method does a few updates to the
    database and also
    calls a stored procedure that generates primary keys many times. This stored procedure
    (SP) is running
    in a transaction of its own since it has to increment a counter, update the database
    and then return the
    primary key.The primary key generator SP is working fine and does not lock the
    database in many bean
    methods.
    In some methods we find that the primary key generator SP has locked the database.
    We
    then see a lock on the database created due to this SP in the MS SQL client. The
    execution goes
    into the SP and gets stuck there till the bean's transaction times out. The error
    message given is
    ...... .. Exception Message - The transaction is no longer active
    (status = Rolling Back. [Reason = weblogic.transaction.internal.TimedOutExcepti
    on: Transaction timed out after 31seconds
    tx = transaction=(IdHash=1746718,Name = [EJB StructMgrBeanImpl.addStructure()],X
    id=10908:51e67e9d7185816a,Status=Active,numRepliesOwedMe=0,numRepliesOwedOthers=
    0,seconds since begin=31,seconds left=30,activeThread=Thread[ExecuteThread: '7'
    for queue: 'default',5,Thread Group for Queue: 'default'],ServerResourceInfo[web
    logic.jdbc.jts.Connection]=(state=started,assigned=none),SCInfo[myserver]=(state
    =active),properties=({weblogic.transaction.name=[EJB StructMgrBeanImpl.addStruct
    ure()], weblogic.jdbc=t3://10.200.15.136:7001}))]). No further JDBC access is
    al
    lowed within this transaction.
    What could be the potential problems in the method's code/SP that could be causing
    the timeout?
    Anyone faced similar problems?
    Thanks in advance,
    Sreeja

    Hi,
    Facing a problem on WL6.0. We are connecting to MS SQL server 2000 using a stateless
    session bean
    using container managed transaction. The bean method does a few updates to the
    database and also
    calls a stored procedure that generates primary keys many times. This stored procedure
    (SP) is running
    in a transaction of its own since it has to increment a counter, update the database
    and then return the
    primary key.The primary key generator SP is working fine and does not lock the
    database in many bean
    methods.
    In some methods we find that the primary key generator SP has locked the database.
    We
    then see a lock on the database created due to this SP in the MS SQL client. The
    execution goes
    into the SP and gets stuck there till the bean's transaction times out. The error
    message given is
    ...... .. Exception Message - The transaction is no longer active
    (status = Rolling Back. [Reason = weblogic.transaction.internal.TimedOutExcepti
    on: Transaction timed out after 31seconds
    tx = transaction=(IdHash=1746718,Name = [EJB StructMgrBeanImpl.addStructure()],X
    id=10908:51e67e9d7185816a,Status=Active,numRepliesOwedMe=0,numRepliesOwedOthers=
    0,seconds since begin=31,seconds left=30,activeThread=Thread[ExecuteThread: '7'
    for queue: 'default',5,Thread Group for Queue: 'default'],ServerResourceInfo[web
    logic.jdbc.jts.Connection]=(state=started,assigned=none),SCInfo[myserver]=(state
    =active),properties=({weblogic.transaction.name=[EJB StructMgrBeanImpl.addStruct
    ure()], weblogic.jdbc=t3://10.200.15.136:7001}))]). No further JDBC access is
    al
    lowed within this transaction.
    What could be the potential problems in the method's code/SP that could be causing
    the timeout?
    Anyone faced similar problems?
    Thanks in advance,
    Sreeja

  • SQL Server 2000 - Before Commiting the transaction.

    Hi All,
    I am using CF7 along with SQL Server 2000.
    And I am in a situation where I need to update some set of data to make sure that the changes are getting reflected in the front end.
    My approach is like, trying some update statements inside "Begin Tran" block.
    It goes like this,
    begin tran
    update table1 set field1='value' where cond='condition';
    And I am just refreshing my application (in the browser). But unusually it takes a bit time to load, and no records are being pulled out after that..
    My question is, do I need to perform a "Commit" to avoid this hanging kinda behaviour?.
    Any ideas?.

    I'm not sure I fully understand your issue, but I suspect that you will need to commit the transaction before that changes will be available to your web site.  If your changes are in one UPDATE statement a transaction isn't usually required since this is a single statement.  Database transactions are intended to group multiple SQL statements into a single block so that all changes will succeed or all will fail.
    Please post your CF and SQL code and the steps to re-create your issue.

  • Query Locks Table in SQL Server 2000!!

    Hi all!
    I am facing a strange problem. I am using MS SQL Server 2000.
    I have a JDBC program.It executes a query on a table (STUDENT) and fetches some record from it.
    The query gets executed fine for the first time but when the SELECT query is executed on the same table (i.e. STUDENT) from some other block of code within the same program the program hangs at the location where resultset is pointed to the first record i.e. RS.next();
    When I try to execute the SELECT query on the same table (i.e. STUDENT) from a query tool when the program is running it also gets hanged!!!
    It seems that after running the query for the first time on the STUDENT table from the next time its getting hanged....i believe the Table gets locked for some reason!!
    Is that normal with SQL Server 2000.....The same code works fine with other database!
    Please suggest...wht has to b done to gt it fixed!
    Thankz a loadz bforehand!
    Arun

    By default (transaction isolation level TRANSACTION_READ_COMMITTED ), SQL Server applies a shared read lock when you do a SELECT. This is should not prevent other selects on the same row / page but it will prevent updates / deletes.
    I found a link that explains SQL Server locking: http://databasejournal.com/features/mssql/article.php/3289661

  • Please help - Scrollable result set in sql server 2000

    Hi can some one please help me. I'm trying to create scrollable result set in sql server 2000, but i just can't get it to work. I've been trying to do this for the past 12 hours. I want to go home, but I can't till I get this going! please help!!! My crap code is as follows:
    package transact;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.JInternalFrame;
    import java.sql.*;
    import java.io.*;
    import java.util.*;
    public class DummyFrame extends Dummy
    protected String name, surname;
    protected Connection conn;
    protected CallableStatement cstatement;
    public DummyFrame()
    createFrame();
    private void createFrame()
    try
    Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver");
    conn = DriverManager.getConnection(
    "jdbc:microsoft:sqlserver://server:1433;" +
    "user=user;password=pwd;DatabaseName=Northwind");
    catch (Exception e)
    e.getMessage();
    populateFields();
    menuAction();
    show();
    private void menuAction()
    btncontacts.addActionListener(new ActionListener()
    public void actionPerformed(ActionEvent e)
    getRecords();
    populateFields();
    btncontacts.setText("NEXT");
    btnkeywords.addActionListener(new ActionListener()
    public void actionPerformed(ActionEvent e)
    // transaction.getRecords();
    nextRecord();
    populateFields();
    btncontacts.setText("NEXT");
    protected void nextRecord()
    try
    // CallableStatement cstatement = null;
    cstatement = conn.prepareCall(
    "{call Employee_Selection}", ResultSet.TYPE_SCROLL_INSENSITIVE,
    ResultSet.CONCUR_UPDATABLE);
    ResultSet rs = cstatement.executeQuery();
    while (rs.next())
    surname = rs.getString("Lastname");
    cstatement.getMoreResults();
    catch (Exception e)
    e.getMessage();
    protected void getRecords()
    try
    CallableStatement cstatement = null;
    cstatement = conn.prepareCall(
    "{call Employee_Selection}", ResultSet.TYPE_SCROLL_INSENSITIVE,
    ResultSet.CONCUR_UPDATABLE);
    ResultSet rs = cstatement.executeQuery();
    while (rs.next())
    surname = rs.getString("Lastname");
    name = rs.getString("Firstname");
    rs.first();
    // call stored procedure
    catch (Exception e)
    e.getMessage();
    // populate the fields;
    private void populateFields()
    txtfirstname.setText(name);
    txtsurname.setText(surname);
    }

    ummm ok i think the logic in your code is kinda screwy...
    here is what your should be doing.
    create the gui.
    get the resultset...
    have code that looks like this for nextRecord...
    protected void displayNextRecord(){
      // we do not call next here because we already called it last time
      surname = rs.getString("Lastname");
      name = rs.getString("Firstname");
      populateFields();
      if(!rs.next(){
        btncontacts.setEnabled(false);// i'm not sure what btncontacts is but we want to disable next becuase there are no more records...
    // in your intitalization code you need to do this...
    // you old stuff ending with...
    ResultSet rs = cstatement.executeQuery();
    // the new stuff...
    if(rs.first()){
      displayNextRecord();
    }else{
      btncontacts.setEnabled(false);//the result set is empty
    }ok the real problem you are having is that you are trying to display one record at a time but you are scrolling
    through the entire result set using while(rs.next()... what you
    want to do is create the result set once and scroll through
    it one item at a time with your gui.
    the example method i have given displays the data from the current
    row in your gui. then it advances the result set forward one row if possible. this method assumes that the result set will always
    be positioned on a valid row thus the need for calling
    rs.first() before we originally call displayNextRecord()
    well i hope you find this helpful.

  • Database in Suspect Mode in SQL Server 2000 Log Shipping Environment

    Hi All
    We have movement of SQL Server 2000 at physical level. We have disable jobs and stop Agent and SQL Server services.
    After moved the server we have started the server and then start SQL Server 2000 services.
    All of databases in SUSPECT mode. Files are in correct folders as were before shutdown the server
    What shall I do e.g. why databases come up in SUSPECT mode? what to check and how to get database live?
    Pls help it is critical...
    Thanks in Advance

    All of databases in SUSPECT mode. Files are in correct folders as were before shutdown the server
    What shall I do e.g. why databases come up in SUSPECT mode? what to check and how to get database live?
    Pls help it is critical...
    Thanks in Advance
    Hello,
    Did you made sure no transactions like restore logs  were running when you stopped SQL server service or agent .I have seen in SQL 2000 an abrupt stop of SQL Server agent when its doing a process can sometimes force database in suspect mode.
    I would like you to get your disk analyzed by vendor ASAP for any fault in disk at first go it seems to me an underlying hardware issue.
    Please can you check errorlog and event viewer to find out any possible cause for database going into suspect mode
    I always suggest to use Backup and restore method of recovery to get out from suspect database problem.If you dont have then you can move with DBCC Checkdb and various repair options but be sure
    DATA LOSS might be possible when you use repair allow data loss and repair_rebuild removes constraints.
    hope this helps
    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers

  • Setting up Connection Pool in sun app server 8.1 with SQL server 2000

    Hello,
    I am trying to set up a connection pool & data source for SQL server 2000 (MSDE 2000).
    Here is what I attempted to do:
    I have a pool data source in a jar file called poll.jar and I copied it to C:\sun\Appserver\lib (Install dir\lib)
    com.microsoft.mspool.PoolDataSource is the pool data source class.
    In the Admin console, JDBC>Connection pools. Selected NEW and made the following entries.
    GENERAL SETTINGS
    Name: MsPool
    Datasource class name : com.microsoft.mspool.PoolDataSource
    Resource type: javax.sql.DataSource
    POOL SETTINGS: default values
    CONNECTION VALIDATION: default values
    TRANSACTION ISOLATION: default values
    PROPERTIES:
    DataSourceName:PoolDataSource
    NetworkProtocol:tcp
    DatabaseName: myDB
    Password:User specific
    user:User specific
    server: localhost
    PortNumber:1433
    I get the following error when I ping:
    Operation 'pingConnectionPool' failed in 'resources' Config Mbean. Target exception message: Class name is wrong or classpath is not set for : com.microsoft.mspool.PoolDataSource.
    Can any one help me if have a solution?
    Thanks in advance.
    mag

    You need to copy your jar to ${AS_INSTALL}/domains/domain1/lib/ext (replace domain1 by your
    domain). Another option is to leave the jar in ${AS_INSTALL}/lib and add a entry in the classpath-suffix element of your domain.xml.
    thanks,
    :aditya

  • Using MS Sql Server 2000 with Flex 2

    help! - I'm trying to understand how I could use Flex 2 (with
    the Flex Data Services) using MS SQL Server 2000 as my RDMS.
    Currently using SS with ASP. Basically, what do I need in
    terms of server set up (e.g. do I need to install the J2EE Server
    for instance?). How about using transaction based storedprocedures
    with flex.
    I'm having difficulty finding a clear answer (for me anyway!)
    to my question. I have even phoned Adobe last Thursday to ask them
    - and their expert was not around and they said would call me
    back... hmm.

    Hi Michael,
    At this time SQL Server 2000 is not certified for WLCS 3.5. Since the
    schema has changed between 3.2 and 3.5, running the 3.2 scripts is not a
    good idea.
    I can tell you that certification is in progress for SQL Server 2000. Your
    best bet is to contact your Sales Representative to get an idea of when
    certification might be coming.
    I hope this helps.
    - Ginny
    "Michael Schulz" <[email protected]> wrote in message
    news:[email protected]..
    I'm using WebLogic 6.0sp1 with Commerce Server 3.5 and I've successfully
    installed the demo. I would like to create another commerce server
    installation, this time using Microsoft SQL Server 2000 as the database
    instead of Cloudscape. I've downloaded and installed the BEA jDriver
    for MS SQL 7/2000 and tested it using dbping. My question is: where are
    the db scripts for creating and populating the commerce database? I've
    found the WLCS_320_DB_DDL_1.1.zip file on the BEA downloads site, but
    I'm concerned that this schema is for Version 3.20 of Commerce Server.
    Is there a similar file for WLCS 3.50? If not, is it safe to use this
    one?
    If this is posted in the wrong place, please let me know and I'll repost
    to the appropriate newsgroup as required.
    Sincerely,
    Michael Schulz

  • Manipulate data of a SQL SERVER 2000 database

    Problem:
    I need to manipulate data of a SQL SERVER 2000 database that it’s installed in a Windows
    from an oracle 8.1.7 database that is installed in a red hat linux server.
    This access has to be made in a procedure created in this Oracle instance.
    The Solution’s Environment:
    - oracle 8.1.7 database - red hat linux server - ORCL INSTANCE
    - SQL SERVER 2000 version 5.0 database - Windows server - SQLSERV INSTANCE
    - Oracle 8.1.7 database - windows 2000 professional server - HSDB INSTANCE
    We did the following steps:
    1) We installed an oracle database 8.1.7 in the windows 2000 professional.
    The name of this instance is HSDB.
    2) We configured the HSODBC resource in this HSDB instance so as to access the SQLSERVER database.
    3) It was created a database link in the ORCL instance (LINUX) so as to access the oracle HSDB instance
    4) It was created a procedure in the ORCL instance that insert data into the SQLSERVER database using the database link.
    This procedure pass through the following instances:
    ORCL Instance (database link) => HSDB Instance (HS Resource) => SQLSERV Instance
    5) When I execute this simple procedure of the ORCL Instance, the process takes a long time. Although if I run this insert on a SQL Plus, the transaction ends fast. Why it’s happening?
    PROCEDURE PRC_TESTE(P_CD_CMC7 IN VARCHAR2) IS
    BEGIN
    BEGIN
    INSERT INTO VSolicitacaoRetirada@MSSQLDB
    ("CMC7")
    VALUES
    (P_CD_CMC7);
    EXCEPTION
    WHEN OTHERS THEN
    DBMS_OUTPUT.PUT_LINE('ERROR '||SQLERRM);
    END;
    COMMIT;
    END;
    Tranks

    I modified the PRC_TESTE procedure and worked fine when I made the following change.
    In spite of using the P_CD_CMC7 parameter on the INSERT command, I included a fixed value. Althoug I can´t use this fixed value. What it can be?
    Example:
    CREATE OR REPLACE PROCEDURE PRC_TESTE(P_CD_CMC7 IN VARCHAR2)
    IS
    BEGIN
    BEGIN
    INSERT INTO VSolicitacaoRetirada@MSSQLDB
    ("CMC7")
    VALUES
    ('123456');
    EXCEPTION
    WHEN OTHERS THEN
    DBMS_OUTPUT.PUT_LINE('ERRO NO INSERT '||SQLERRM);
    END;
    COMMIT;
    END;
    ------------------------------------------------------------

  • SQL Server 2000 "Yukon" architecture

    Hi,
    could you tell me whether Microsoft have achieved cluster technology with "Yukon" or not?
    As announced in article: Database Architecture: Federated vs. Clustered-An Oracle White Paper March2002, "...According to Michael Otey, Senior Technical Editor, SQL Server Magazine:�Technically, this setup isn�t a true clustered implementation. According to Microsoft, SQL Server won�t support true clustering until the post-SQL Server 2000 release, code named Yukon.�(Yukon is not expected to be shipped until well into 2003.) - But when I browse msdn, there is nothing on the architecture itself.
    I am doing my Master's thesis on 9iRAC, and I need this information to complete my research. I found several Oracle white papers talking about federated vs. clustered architecture. As said in Response to "Reality behind Real
    Application Clusters Marketing Messages"- An Oracle White Paper March, 2003"..when in truth Microsoft does not have a cluster database." Is this still the truth? Can somebody from ORACLE provide me with tips/links to complete this topic?
    I am also Oracle DBA, Oracle customer, registered on Metalink.
    Thank you for the support.

    BOL 2014: "
    Data Types (Transact-SQL)
    SQL Server 2014 
    Data Type Categories
    Exact Numerics
     bigint
     numeric
     bit
     smallint
     decimal
     smallmoney
     int
     tinyint
     money 
    Approximate Numerics
     float
     real
    Date and Time
     date
     datetimeoffset
     datetime2
     smalldatetime
     datetime
     time
    Character Strings
     char
     varchar
     text
    Unicode Character Strings
     nchar
     nvarchar
     ntext 
    Binary Strings
     binary
     varbinary
     image
    Other Data Types
     cursor
     timestamp
     hierarchyid
     uniqueidentifier
     sql_variant
     xml
     table
     Spatial Types "
    LINK: http://msdn.microsoft.com/en-us/library/ms187752.aspx
    Kalman Toth Database & OLAP Architect
    SQL Server 2014 Database Design
    New Book / Kindle: Beginner Database Design & SQL Programming Using Microsoft SQL Server 2014

  • Oracle/XML Question from MS SQL Server 2000 Developer

    With Microsoft SQL Server 2000 and Transact-SQL I can query a database and my results will be returned as an XML document. I need not do any further programmatic processing to transform my resultset into XML.
    I really know nothing about Oracle. That said, is this functionality available with Oracle/PL-SQL? And, if you could specify an URL where I might read up a bit on this, I'd really appreciate the point in the right direction.
    Thanks,
    --Isaac
    [email protected]

    Here is a link to a page that has some good information and examples and includes a lot of other links:
    http://asktom.oracle.com/pls/ask/f?p=4950:8:::::F4950_P8_DISPLAYID:4980337843276
    You can also search the Oracle on-line documentation and these forums for additional information. Here is a link to our FAQ home page, which includes a link to instructions on how to search the documentation and forums:
    Re: How to attach a java bean in forms6i
    There is also an XML DB forum. If you click on options near the upper right portion of your window, you can subscribe to that forum.

  • CMP Entity Bean's problem with MS-SQL Server 2000

    Hi everyone!
    I have a problem regarding CMP Entity Bean on OC4J.
    I made one CMP Entity Bean and deployed it to OC4J.
    It was successful.
    I used MS-SQL Server 2000 as Datasource.
    So, I installed MS-SQL Server's JDBC Driver and add some jar files to classpath.
    And I updated 'data-sources.xml' in OC4J's config directory.
    Then, I updated also 'orion-ejb-jar.xml' in my application's directory.
    I changed data-source's name to my data-source's name which use MS-SQL Server 2000.
    Finally, I started OC4J and EJB Client program which called Enitiy Bean's create method.
    But, The error occured which was 'Database error: java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]LINE 1: '.' Wrong sentence'.
    What's wrong? I need any helps.
    Here is stack overflow message. Thank you. Best regards.
    com.evermind.server.rmi.OrionRemoteException: Transaction was rolled back: Database error: java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]LINE 1: '.' Wrong sentence.
         at UserHome_EntityHomeWrapper2.create(UserHome_EntityHomeWrapper2.java:1114)
         at java.lang.reflect.Method.invoke(Native Method)
         at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:80)
         at com.evermind.util.ThreadPoolThread.run(ThreadPoolThread.java:64)
    at connection to localhost/127.0.0.1 as admin
         at com.evermind.server.rmi.RMIConnection.EXCEPTION_ORIGINATES_FROM_THE_REMOTE_SERVER(RMIConnection.java:1530)
         at com.evermind.server.rmi.RMIConnection.invokeMethod(RMIConnection.java:1453)
         at com.evermind.server.rmi.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:53)
         at com.evermind.server.rmi.RecoverableRemoteInvocationHandler.invoke(RecoverableRemoteInvocationHandler.java:22)
         at __Proxy0.create(Unknown Source)
         at com.emc.ksc.ejb.user.UserBeanTestClient1.create(UserBeanTestClient1.java:73)
         at com.emc.ksc.ejb.user.UserBeanTestClient1.<init>(UserBeanTestClient1.java:49)
         at com.emc.ksc.ejb.user.UserBeanTestClient1.main(UserBeanTestClient1.java:1077)

    Hi Young,
    From the information you have supplied, my guess is that the SQL
    string that OC4J is sending to SQL-Server is incorrect. So it may
    help if you could see the exact SQL string. In order to see the
    SQL string, I suggest you either run OC4J in "debug" mode, or try
    using "P6 Spy".
    The following web page has details on running OC4J in "debug" mode:
    http://kb.atlassian.com/content/atlassian/howto/orionproperties.jsp
    And here is the web page for "P6 Spy"
    http://www.provision6.com/
    And these other web sites may also be of help (in general):
    http://www.orionserver.com
    http://www.orionsupport.com
    http://www.atlassian.com
    http://www.elephantwalker.com
    Good Luck,
    Avi.

  • SQL Server 2000 - Valid Binary datatype and valid character datatype:

    SQL Server 2000 - Valid Binary datatype and valid character datatype:
    Which is not a valid binary datatype :
    BIT , IMAGE, TMESTAMP
    Which is not a valid Character datatype :
    VARTEXT , BLOB , TEXT

    BOL 2014: "
    Data Types (Transact-SQL)
    SQL Server 2014 
    Data Type Categories
    Exact Numerics
     bigint
     numeric
     bit
     smallint
     decimal
     smallmoney
     int
     tinyint
     money 
    Approximate Numerics
     float
     real
    Date and Time
     date
     datetimeoffset
     datetime2
     smalldatetime
     datetime
     time
    Character Strings
     char
     varchar
     text
    Unicode Character Strings
     nchar
     nvarchar
     ntext 
    Binary Strings
     binary
     varbinary
     image
    Other Data Types
     cursor
     timestamp
     hierarchyid
     uniqueidentifier
     sql_variant
     xml
     table
     Spatial Types "
    LINK: http://msdn.microsoft.com/en-us/library/ms187752.aspx
    Kalman Toth Database & OLAP Architect
    SQL Server 2014 Database Design
    New Book / Kindle: Beginner Database Design & SQL Programming Using Microsoft SQL Server 2014

Maybe you are looking for

  • How can i Reset my ipod touch without the home-button

    My ipod Touch resseting all the Time with out showing the home display. An other problem is, that my guarantee is over and my home-button is not working. So what should i do? Buy a new one or is there a chance to reset my ipod without home-button? Pl

  • MIGO in 3rd party process

    Hello Experts, In a dropshipment scenario, the Supplier will deliver the goods to the customer directly. Then the seller does a MIRO for the invoice received from the supplier. Then the seller does a MIGO goods receipt and then Goods Issue before Bil

  • Space used by tables

    in a production environment we are short of disk space. we need to know which tables are occupying the high amount of space from all the tablespaces present in the database, so that we can delete some data (if possible ) from those tables. any sql qu

  • N't able to directly share from gallery

    i hav bought Nokia 701 (Symbian Belle) , i hav updated its social app, but now i can't directly share pics & videos from gallery (when i click the share button in gallery it says feature n't supported).

  • SLED for finished product

    Hi Our finished product is batch managed, batch creation automatic at the time of order release. We have maintained SLED info in the material master, but during GR (mb31/migo) it is not asking for production date. We have to update it in the change b