Using TimesTen in a heterogeneous  environment

TimesTen works as a standalone server or in conjunction with Oracle and other TimesTen datastores.
Since TimesTen uses native odbc connections (or possibly others) is there anyway one can connect TimesTen to other RDBMS as oposed to Oracle. If so what connection mechanisms can be used for this purpose.
Tthanks,
Mich

OK with tracing enabled including to the client screen (driver manager has a GUI interface from Sybase to turn on tracing etc I get):
Table CACHEADM.SALES2:
Columns:
PROD_ID NUMBER NOT NULL
CUST_ID NUMBER NOT NULL
TIME_ID DATE NOT NULL
CHANNEL_ID NUMBER NOT NULL
PROMO_ID NUMBER NOT NULL
QUANTITY_SOLD NUMBER (10,2) NOT NULL
AMOUNT_SOLD NUMBER (10,2) NOT NULL
Ok this table has only 10 rows. I bet the cause is that time_id column conversion!
1> select PROD_ID, CUST_ID,CHANNEL_ID, PROMO_ID, QUANTITY_SOLD, AMOUNT_SOLD from sales2
2> go
PROD_ID CUST_ID CHANNEL_ID PROMO_ID QUANTITY_SOLD AMOUNT_SOLD
13.000000 987.000000 3.000000 999.000000 1.00 1283.26
13.000000 1660.000000 3.000000 999.000000 1.00 1283.26
13.000000 1762.000000 3.000000 999.000000 1.00 1283.26
13.000000 1843.000000 3.000000 999.000000 1.00 1283.26
13.000000 1948.000000 3.000000 999.000000 1.00 1283.26
13.000000 2273.000000 3.000000 999.000000 1.00 1283.26
13.000000 2380.000000 3.000000 999.000000 1.00 1283.26
13.000000 2683.000000 3.000000 999.000000 1.00 1283.26
13.000000 2865.000000 3.000000 999.000000 1.00 1283.26
13.000000 4663.000000 3.000000 999.000000 1.00 1283.26
Results processing ended, MaxResultSize limit, [1000], reached.
(10 rows affected)
Now let us try the date field time_id
1> select TIME_ID from sales2
2> go
Explicit or implicit COMMIT failed.
Results Processing, Conversion Error
Results Processing, Conversion Error
Results Processing, Conversion Error
Results Processing, Conversion Error
Results Processing, Conversion Error
Results Processing, Conversion Error
Results Processing, Conversion Error
Results Processing, Conversion Error
Results Processing, Conversion Error
Results Processing, Conversion Error
TIME_ID
(10 rows affected)
And the trace file shows:
TraceEvents 03/22/2010 11:42:03.321187 TimesTen 12 cacheadm isql [slcon.cpp(814)] > smConnectionConcrete::Language
TraceEvents 03/22/2010 11:42:03.321263 TimesTen 12 cacheadm isql [slcon.cpp(1634)] > smConnectionConcrete::SqlTransform: mode [passthrough]
TraceEvents 03/22/2010 11:42:03.321282 TimesTen 12 cacheadm isql [sqlxform.cpp(69)] > dcplus::SqlTransform-0280-: [|0|select TIME_ID from sales2 ]
TraceEvents 03/22/2010 11:42:03.321310 TimesTen 12 cacheadm isql [sqlxform.cpp(95)] < dcplus::SqlTransform-0282-: TSQL0 Finished
TraceEvents 03/22/2010 11:42:03.321378 TimesTen 12 cacheadm isql [slcon.cpp(1792)] < smConnectionConcrete::SqlTransform: [1]
TraceEvents 03/22/2010 11:42:03.321414 TimesTen 12 cacheadm isql [smdcamsg.cpp(468)] L½» ttimdb1_client 10009488 NULL NULL > smConnectionConcrete::executeSql
TraceEvents 03/22/2010 11:42:03.321435 TimesTen 12 cacheadm isql [dcalang.cpp(137)] > smConnectionConcrete::executeSql
TraceEvents 03/22/2010 11:42:03.321459 TimesTen 12 cacheadm isql [smdcamsg.cpp(468)] L½» ttimdb1_client 10009488 NULL NULL > smConnectionConcrete::connectTarget[work/oracle/TimesTen_store/ttimdb1]
TraceEvents 03/22/2010 11:42:03.321502 TimesTen 12 cacheadm isql [smdcamsg.cpp(468)] L½» ttimdb1_client 10009488 NULL NULL smConnectionConcrete::dcaLanguage: Request contains [1] statements.
TraceEvents 03/22/2010 11:42:03.321529 TimesTen 12 cacheadm isql [smdcamsg.cpp(468)] L½» ttimdb1_client 10009488 NULL NULL smConnectionConcrete::dcalanguage: statement [select TIME_ID from sales2]
TraceEvents 03/22/2010 11:42:03.321557 TimesTen 12 cacheadm isql [smdcamsg.cpp(468)] L½» ttimdb1_client 10009488 NULL NULL > smConnectionConcrete::buildStatement
TraceEvents 03/22/2010 11:42:03.321623 TimesTen 12 cacheadm isql [smdcamsg.cpp(468)] L½» ttimdb1_client 10009488 NULL NULL < smConnectionConcrete::buildStatement, deleteStatement status: 1
TraceInterface 03/22/2010 11:42:03.321673 TimesTen 12 cacheadm isql [slcon.cpp(2223)] Trace API Level ENTER odbcBaseStatement():SQLAllocStmt [99d2d80]
TraceInterface 03/22/2010 11:42:03.321696 TimesTen 12 cacheadm isql [slcon.cpp(2223)] Trace API Level EXIT odbcBaseStatement():SQLAllocStmt [9b054e0] with return code 0
TraceInterface 03/22/2010 11:42:03.321718 TimesTen 12 cacheadm isql [slcon.cpp(2223)] Trace API Level ENTER odbcBaseStatement():SQLSetStmtAttr [9b054e0 | 1 | 1000]
TraceInterface 03/22/2010 11:42:03.321740 TimesTen 12 cacheadm isql [slcon.cpp(2223)] Trace API Level EXIT odbcBaseStatement():SQLSetStmtAttr with return code 0
TraceEvents 03/22/2010 11:42:03.321765 TimesTen 12 cacheadm isql [smdcamsg.cpp(468)] L½» ttimdb1_client 10009488 NULL NULL < smConnectionConcrete::buildStatement
TraceEvents 03/22/2010 11:42:03.321789 TimesTen 12 cacheadm isql [smdcamsg.cpp(468)] L½» ttimdb1_client 10009488 NULL NULL > smConnectionConcrete::executeLanguageStatement
TraceInterface 03/22/2010 11:42:03.321887 TimesTen 12 cacheadm isql [slcon.cpp(2223)] Trace API Level ENTER odbcBaseStatement():SQLPrepare [9b054e0 | request=select TIME_ID from sales2 | length=26]
TraceInterface 03/22/2010 11:42:03.321910 TimesTen 12 cacheadm isql [slcon.cpp(2223)] Trace API Level EXIT odbcBaseStatement():SQLPrepare with return code 0
TraceInterface 03/22/2010 11:42:03.321965 TimesTen 12 cacheadm isql [slcon.cpp(2223)] Trace API Level ENTER odbcBaseStatement():SQLExecute [9b054e0]
TraceInterface 03/22/2010 11:42:03.321987 TimesTen 12 cacheadm isql [slcon.cpp(2223)] Trace API Level EXIT odbcBaseStatement():SQLExecute with return code 0
TraceInterface 03/22/2010 11:42:03.322052 TimesTen 12 cacheadm isql [dcaresult.cpp(2182)] Trace API Level ENTER odbcBaseResult():SQLNumResultCols [9b054e0]
TraceInterface 03/22/2010 11:42:03.322074 TimesTen 12 cacheadm isql [dcaresult.cpp(2182)] Trace API Level EXIT odbcBaseResult():SQLNumResultCols [ column count=1]
TraceInterface 03/22/2010 11:42:03.322096 TimesTen 12 cacheadm isql [dcaresult.cpp(2182)] Trace API Level odbcBaseResult::createSchema SQL_MAX_COLUMN_NAME_LEN[30]
TraceInterface 03/22/2010 11:42:03.322118 TimesTen 12 cacheadm isql [dcaresult.cpp(2182)] Trace API Level ENTER odbcBaseResult():SQLDescribeCol [9b054e0 | column number=1]
TraceInterface 03/22/2010 11:42:03.322140 TimesTen 12 cacheadm isql [dcaresult.cpp(2182)] Trace API Level EXIT odbcBaseResult():SQLDescribeCol [column name=TIME_ID | column length=7 | datetype= 93 | precision=20 | scale=0 | nullable=0] with return code 0
TraceInterface 03/22/2010 11:42:03.322163 TimesTen 12 cacheadm isql [dcaresult.cpp(2182)] Trace API Level odbcBaseResult::createSchema Column Number 1 Column Name[TIME_ID] SQL TYPE[93] Precision[20] Scale[0] Nullable[0] Max Length[26]
TraceInterface 03/22/2010 11:42:03.322182 TimesTen 12 cacheadm isql [dcaresult.cpp(2182)] Trace API Level ENTER odbcBaseResult():SQLBindCol [9b054e0 | column number=1 | SQL C type=1 | length=27]
TraceInterface 03/22/2010 11:42:03.322201 TimesTen 12 cacheadm isql [dcaresult.cpp(2182)] Trace API Level EXIT odbcBaseResult():SQLBindCol with return code 0
TraceEvents 03/22/2010 11:42:03.322231 TimesTen 12 cacheadm isql [smdcamsg.cpp(468)] L½» ttimdb1_client 10009488 NULL NULL > smConnectionConcrete::processResults, rowSetResults
TraceInterface 03/22/2010 11:42:03.322266 TimesTen 12 cacheadm isql [dcaresult.cpp(2146)] Trace API Level ODBC type[93] maps to CS Type[0]
TraceInterface 03/22/2010 11:42:03.322367 TimesTen 12 cacheadm isql [dcaresult.cpp(2182)] Trace API Level ENTER odbcRowSetResult():SQLFetch [9b054e0]
TraceInterface 03/22/2010 11:42:03.322390 TimesTen 12 cacheadm isql [dcaresult.cpp(2182)] Trace API Level EXIST odbcRowSetResult():SQLFetch with return code 0
TraceTarget 03/22/2010 11:42:03.322412 TimesTen 12 cacheadm isql [dcaresult.cpp(2186)] Trace_DATA_Level SQLFetch [9b054e0|column number=1|SQL C type=1|datalength=19]
TraceTarget 03/22/2010 11:42:03.322434 TimesTen 12 cacheadm isql [dcaresult.cpp(2186)] Trace_DATA_Level odbc value returned by SQLFetch is:1998-01-10 00:00:00
TraceInterface 03/22/2010 11:42:03.322452 TimesTen 12 cacheadm isql [dcaresult.cpp(2182)] Trace API Level Rows Fetched into Row Set [1]
TraceEvents 03/22/2010 11:42:03.322475 TimesTen 12 cacheadm isql [smdcamsg.cpp(468)] L½» ttimdb1_client 10009488 NULL NULL ResultSet rowset contains [1] rows.
TraceTarget 03/22/2010 11:42:03.322577 TimesTen 12 cacheadm isql [dcaresult.cpp(2150)] Trace_DATA_Level dtConverter::toTdsRow Column Number 1
TraceTarget 03/22/2010 11:42:03.322601 TimesTen 12 cacheadm isql [dcaresult.cpp(2150)] Trace_DATA_Level odbcValue: Column Name[TIME_ID] SQL TYPE[93] Described SQL TYPE[93] Precision[20] Scale[0] Nullable[0] Max Length[26]
TraceTarget 03/22/2010 11:42:03.322622 TimesTen 12 cacheadm isql [dcaresult.cpp(2150)] Trace_DATA_Level Odbc value= 1998-01-10 00:00:00
TraceTarget 03/22/2010 11:42:03.322650 TimesTen 12 cacheadm isql [dcaresult.cpp(2150)] Trace_DATA_Level original tdsValue: Column Name[TIME_ID] SQL TYPE[12] Precision[20] Scale[0] Nullable[0] Max Length[8]
TraceTarget 03/22/2010 11:42:03.322672 TimesTen 12 cacheadm isql [dcaresult.cpp(2150)] Trace_DATA_Level data convert failed, use default datetime string
TraceTarget 03/22/2010 11:42:03.322695 TimesTen 12 cacheadm isql [dcaresult.cpp(2150)] Trace_DATA_Level converted tdsValue: Column Name[TIME_ID] SQL TYPE[12] Precision[20] Scale[0] Nullable[0] Max Length[8] Data Length[8]
TraceInterface 03/22/2010 11:42:03.322906 TimesTen 12 cacheadm isql [dcaresult.cpp(2182)] Trace API Level ENTER odbcRowSetResult():SQLFetch [9b054e0]
TraceInterface 03/22/2010 11:42:03.322929 TimesTen 12 cacheadm isql [dcaresult.cpp(2182)] Trace API Level EXIST odbcRowSetResult():SQLFetch with return code 0
TraceTarget 03/22/2010 11:42:03.322951 TimesTen 12 cacheadm isql [dcaresult.cpp(2186)] Trace_DATA_Level SQLFetch [9b054e0|column number=1|SQL C type=1|datalength=19]
TraceTarget 03/22/2010 11:42:03.322973 TimesTen 12 cacheadm isql [dcaresult.cpp(2186)] Trace_DATA_Level odbc value returned by SQLFetch is:1998-01-10 00:00:00
TraceInterface 03/22/2010 11:42:03.322993 TimesTen 12 cacheadm isql [dcaresult.cpp(2182)] Trace API Level Rows Fetched into Row Set [1]
TraceEvents 03/22/2010 11:42:03.323023 TimesTen 12 cacheadm isql [smdcamsg.cpp(468)] L½» ttimdb1_client 10009488 NULL NULL ResultSet rowset contains [1] rows.
TraceTarget 03/22/2010 11:42:03.323099 TimesTen 12 cacheadm isql [dcaresult.cpp(2150)] Trace_DATA_Level dtConverter::toTdsRow Column Number 1
TraceTarget 03/22/2010 11:42:03.323120 TimesTen 12 cacheadm isql [dcaresult.cpp(2150)] Trace_DATA_Level odbcValue: Column Name[TIME_ID] SQL TYPE[93] Described SQL TYPE[93] Precision[20] Scale[0] Nullable[0] Max Length[26]
TraceTarget 03/22/2010 11:42:03.323139 TimesTen 12 cacheadm isql [dcaresult.cpp(2150)] Trace_DATA_Level Odbc value= 1998-01-10 00:00:00
TraceTarget 03/22/2010 11:42:03.323160 TimesTen 12 cacheadm isql [dcaresult.cpp(2150)] Trace_DATA_Level original tdsValue: Column Name[TIME_ID] SQL TYPE[12] Precision[20] Scale[0] Nullable[0] Max Length[8]
TraceTarget 03/22/2010 11:42:03.323181 TimesTen 12 cacheadm isql [dcaresult.cpp(2150)] Trace_DATA_Level data convert failed, use default datetime string <-- Error here
Note the last line data convert failed!

Similar Messages

  • Need a good charting library (for use in a servlet/jsp environment)

    Anyone know of a good charting library for use in a servlet/jsp environment.

    Use JFreechart combined with cewolf.
    www.object-refinery.com/jfreechart/
    To use charts in a jsp page you can use cewolf ( a taglib) based on jfreechart.
    http://cewolf.sourceforge.net/
    Both are free.

  • How to retrieve the Id I used to create the Icloud environment. Each time I use an Apple identifier, I receive a message like it not the one you used at Icloud creation time

    Hi,
    I defined my Icloud environment some time ago. Unfortunatly, I forgot wich Id I used for it. Now I receive a message like "This is a valid Apple Id, but it is not the Id you used to create your Icloud environment.
    So, my question is: where and how can I either replace my Icloud Id or retrieve it ?
    Thank you for your help ...
    Regards
    By the way, you will probably consider that my English is as bad as a computer translation from French. I would thank you for this evaluation !

    Hi Michael,
    Follow the instructions on this link. Be sure to sign out of your old iCloud account on your computer and your devices before setting up you new one. Then sign on the new iCloud account on your PC and your devices once you have set it up using your new AppleID as the iCloud account:
    http://www.apple.com/icloud/setup/pc.html
    Cheers,
    GB

  • Flex Dashboard and Using Flex in a Portal Environment

    Hello
    I am looking to develop Flex dashboard and use Flex in a Portal environment.
    If you any thoughts or information, kindly let me know or some insight.
    Thanks and regards

    fac586 wrote:
    #WORKSPACE_IMAGES# isn't substituted in CSS files stored in the repository. See this [previous discussion|http://forums.oracle.com/forums/thread.jspa?forumID=137&threadID=221653] (and others if you search for them).
    Thanks for the link, I did search a little while before making the original post. I guess I wasn't searching for the right thing though.
    The method I found listed in here seems to work in IE but not Firefox. It could just be a caching issue though I'm not real familiar with firefox and don't really know how to get it to forget that it's been to a page already.
    I also updated the link listed above to ask about any changes in the last upgrade related to this.
    This was related to caching in firefox and it worked fine after I logged out of my apex.oracle.com account and cleared the personal cache in firefox and then started over.
    Edited by: PktAces on Sep 9, 2008 3:06 PM

  • Which connection I should use in the ejb clustered environment

    We use EJB in jboss cluster environment. We have one oracle database.
    our existed system use TXConnection(transactional connection) for the data insert, update and delete. Using the Connection for the data retriving.
    I think TXConnection fits to use for the distributed database. So we should change our DAO layer to use only Connection.
    Is that true?
    Need help.
    Thanks.
    Jack Tie

    Huh? Connection is an interface. You will have to use
    any implementation anyway.It is not so simple. This is a legit question because he has asking if a specific implementation is required.
    It would have been better posted in the JDBC forum. I don't know what the answer is for certain but I would lean towards yes it is required because of the clustered nature.

  • How to use JMS in a J2EE environment

    Hello all,
    I would like to find out how to use JMS in a J2EE environment. I use Borland Enterprise Server. Do I need to buy a message software to use JMS? How to use JMS with Message Driven bean?
    Thanks a lot.
    Best regards
    Susan

    If you don't want to buy you could try OpenJMS, a free JMS product (http://openjms.sourceforge.net/)
    As for learning how to use JMS w/ MDBs, I would suggest grabbing a book on JMS. I found the OReilly book on JMS to be pretty helpful for me.

  • Should I use TimesTen for unstable table

    Hi all,
    I have a table that there are a lot of accessing operations to it, include: select, insert, update, delete. My table has 80 columns, about 1M rows, one primary key (2 cols), 5 indexes in other cols.
    I want to increase select speed.
    Should I use TimesTen Cache for this table? Which cachegroup type (read-only, awt, swt,...) I should use?
    Thanks!

    Sure you could use TimesTen to cache this table from the Oracle database. As you are performing DML against it I would recommend you look at the Asynchronous Write-Through (AWT) Cache Group.
    Start here -> http://docs.oracle.com/cd/E21901_01/doc/timesten.1122/e21634/concepts.htm#BABFBIEC
    Info on AWT -> http://docs.oracle.com/cd/E21901_01/doc/timesten.1122/e21634/define.htm#CHDJAJAC

  • RAC in heterogenous environment eg windows + linux ?

    Can we implement Oracle RAC in a mix environment, eg one node on windows and another on linux or
    windows + AIX ?
    AIX + Sun + Windows ?
    HP/UX + Linux ?
    purpose is mainly test/development tasks.

    user8479712 wrote:
    Can we implement Oracle RAC in a mix environment, eg one node on windows and another on linux or
    windows + AIX ?
    AIX + Sun + Windows ?
    HP/UX + Linux ?
    purpose is mainly test/development tasks.No, its not supported. For any kind of requirement, the nodes must be running on the same operating systems only . That said, I am not even sure that how heterogenous environment would help in anyways?
    Aman....

  • Using Berkeley With Two Different Environment Simultaneously

    I am trying to use Berkeley with two different environment simultaneously in one program. But I am getting an error message of Databases left open. The first environment close with no error but the 2nd environment, having an error like this,
    Exception in thread "main" java.lang.IllegalStateException: Unclosed Database: element_primary_key_index\\192.168.150.211\glassfish3\Berkeley\environment\Testing11
    Unclosed Database: class_catalog\\192.168.150.211\glassfish3\Berkeley\environment\Testing11
    Unclosed Database: element_database\\192.168.150.211\glassfish3\Berkeley\environment\Testing11
    Databases left open: 3
         at com.sleepycat.je.Environment.close(Environment.java:383)
         at com.svi.tools.gfs3v10domain.database.GFS3v10ReadWriteDatabase.closeUpload(GFS3v10ReadWriteDatabase.java:155)
         at com.svi.tools.gfs3v10domain.GFS3v10Domain.closeReadWrite(GFS3v10Domain.java:160)
         at com.svi.tools.gfs3v10.util.GFS3v10UploadUtil.closeUpload(GFS3v10UploadUtil.java:97)
         at com.svi.tools.gfs3v10.GFS3v10.closeUpload(GFS3v10.java:115)
         at com.svi.tools.gfs3v10uploader.util.Uploader.uploadFiles(Uploader.java:89)
         at com.svi.tools.gfs3v10uploader.GFS3v10Uploader.mainMethod(GFS3v10Uploader.java:109)
         at com.svi.tools.gfs3v10uploader.GFS3v10Uploader.main(GFS3v10Uploader.java:52)
    Please someone help me with my problem. Thanks in advance.

    Hi Mark,
    Here is my sample program for the problem:
    import java.io.File;
    import com.sleepycat.bind.serial.StoredClassCatalog;
    import com.sleepycat.je.Database;
    import com.sleepycat.je.DatabaseConfig;
    import com.sleepycat.je.Environment;
    import com.sleepycat.je.EnvironmentConfig;
    import com.sleepycat.je.EnvironmentLockedException;
    import com.sleepycat.je.SecondaryConfig;
    import com.svi.tools.gfs3v10domain.objects.GFS3v10DomainElementData;
    import com.svi.tools.gfs3v10domain.objects.GFS3v10DomainElementKey;
    import com.svi.tools.gfs3v10domain.views.utils.ElementByPrimaryKeyCreator;
    * Read Write Database used for every thing else.
    public class MethodsSample implements GFS3v10Database {
         * Environment where the Database resides.
         private Environment environment = null;
         private boolean isClose = false;
         String environmentString;
         * Class Catalog for Stored Classes.
         private static StoredClassCatalog classCatalog;
         * Element Database.
         private static Database elementDatabase;
         * Element Database by Primary Key.
         private static Database elementByPrimaryKeyDatabase;
         private static Database catalogDatabase;
         * Default Constructor.
         public MethodsSample() {
    * Alternate Constructor.
    * @param homeDirectory Location where the Database is Located.
    public MethodsSample(String homeDirectory) {
         environmentString = homeDirectory;
         openEnvironment(homeDirectory);
         openDatabase();
    @Override
         * Opens the Read Write Database.
         * @param homeDirectory Location where the Database is Located.
    public void openEnvironment(String homeDirectory) {
         EnvironmentConfig environmentConfig = new EnvironmentConfig();
    environmentConfig.setTransactional(true);
    environmentConfig.setAllowCreate(true);
    environmentConfig.setDurability(DURABILITY);
    while (environment == null) {
         try {
              environment = new Environment(new File(homeDirectory), environmentConfig);
         } catch(EnvironmentLockedException ele) {
              try {
                             Thread.sleep(500);
                        } catch (InterruptedException e) {
    @Override
         * Opens the Database.
    public void openDatabase() {
         DatabaseConfig databaseConfig = new DatabaseConfig();
         databaseConfig.setDeferredWrite(true);
    databaseConfig.setAllowCreate(true);
    catalogDatabase = environment.openDatabase(null, CLASS_CATALOG + environmentString, databaseConfig);
    classCatalog = new StoredClassCatalog(catalogDatabase);
    elementDatabase = environment.openDatabase(null, ELEMENT_DATABASE + environmentString, databaseConfig);
    SecondaryConfig secondaryConfig = new SecondaryConfig();
    secondaryConfig.setDeferredWrite(true);
    secondaryConfig.setAllowCreate(true);
    secondaryConfig.setSortedDuplicates(true);
    secondaryConfig.setKeyCreator(new ElementByPrimaryKeyCreator(classCatalog, GFS3v10DomainElementKey.class, GFS3v10DomainElementData.class, String.class));
    elementByPrimaryKeyDatabase = environment.openSecondaryDatabase(null, ELEMENT_PRIMARY_KEY_INDEX + environmentString, elementDatabase, secondaryConfig);
    @Override
         * Gets the Environment.
         * @return Environment.
    public Environment getEnvironment() {
         return environment;
    @Override
         * Gets the Class Catalog.
         * @return Class Catalog.
    public StoredClassCatalog getClassCatalog() {
         return classCatalog;
    @Override
         * Gets Element Database.
         * @return Element Database.
    public Database getElementDatabase() {
         return elementDatabase;
    @Override
         * Gets Element By Primary Key Database.
         * @return Element By Primary Key Database.
    public Database getElementByPrimaryKeyDatabase() {
         return elementByPrimaryKeyDatabase;
    @Override
         * Closes Database and then Environment.
    public void closeUpload() {
         System.out.println("1st Jar environment closing = " + environmentString);
         elementByPrimaryKeyDatabase.close();
         elementDatabase.close();
         classCatalog.close();
         catalogDatabase.close();
         environment.close();
         isClose = true;
    public Boolean isClose() {
         return isClose;
         @Override
         public void closeOthers() {
    for the Main:
    public class sample {
         public static void main(String[] args) {
              String environment1 = "\\\\192.168.160.184\\glassfish\\berkeley\\environment\\home\\Multiple\\Testing11";
              String environment2 = "\\\\192.168.150.211\\glassfish3\\Berkeley\\environment\\Testing11";
              openCloseEnvironment(environment1, environment2);
         public static void openCloseEnvironment(String environment1, String environment2) {
              MethodsSample forEnvironment1 = new MethodsSample(environment1); //Opens the Databases
              MethodsSample forEnvironment2 = new MethodsSample(environment2); //Opens the Databases
              forEnvironment1.closeUpload();
              forEnvironment2.closeUpload();
    // same error happens no matter what sequence for closing
    Thank you.

  • Using Timesten with Clusterware

    We try to develop new system using Oracle products. Can you answer me some questions - is it possible to use Oracle Timesten with Clusterware? Does it have any sense? So I guess that in this pair TimesTen can't have its advantages. Am I right or not?
    Message was edited by:
    user616685

    One little addition here, please: Oracle internally we try to make Oracle Clusterware the standard Cluster HA solution for all Oracle applications. One result of those efforts is the "Siebel CRM Applications protected by Oracle Clusterware" TWP that was published recently.
    Currently, we are working on more cases like this (each of them takes some testing effort). One of them is Times Ten. Concluding, yes, there are scenarios in which Clusterware can make Times Ten more available, as mentioned before.
    However, I would be more interested in the scenarios you would like to cover!? Having a Cluster HA solution does not mean that any HA requirement is covered automatically. Therefore, could you provide more information about your environment and what you try to establish?
    Thanks.

  • Using a VMware Fusion XP environment with multiple Mac users

    Hi,
    I have installed an XP environment using VMware Fusion. I am only able to start this XP environment when logged in as the user that created it. How can I grant access to this environment to other MAC users on my machine?
    Any input is much appreciated.
    Kind regards, Hans.

    Thanks all, thanks for your input. I have been able to solve it now.
    As suggested I moved the VMWARE file to the shared folder. Then I assigned read/write access rights to the specific users. This is something I had not tried before. Somehow just moving to the shared folder did not change access rights on file level.
    Thanks all,
    Hans.

  • Using Mail in an Enterprise Environment

    Good day and thank you for reading my post.
    So far I have successfully configured my iPad and my MobileMe Mail application as well. Mail works well at my home location or on a secure Wifi network, my problem arises in my work environment.
    To date, the business I work for have not implemented iPhones or iPads on the MS Exchange server, so I rely on my MobileMe Mail account. Another problem is that the business also blocks the traditional email ports (25 & 110), so my Mail app cannot work.
    So today I tried to connect to my mobileme webmail with the Safari App on my iPad. Except that every time I tried to connect, Safari redirected me to a web page to help me set up my Mail client. When using my MBPro I can always rely on connecting to my mobileme webmail using Safari, but I can't get it to work on my iPad.
    If anyone has any suggestions I would appreciate hearing from you.
    Thanks in advance.

    You're not going to have much luck accessing your email on your iPad unless the business either opens up those mail ports or creates a public WiFi network that has those ports open. The latter is what my company and many other companies have.
    I'm surprised you don't have a work computer where you can access MobileMe through a web browser. That's what I do often. Otherwise I use my iPhone for accessing my mail through the 3G mobile network. Perhaps that 3G iPad would have been more useful.

  • Dbms_crypto - avoid error when using different key in lower environment

    Hello Experts,
    We are using Oracle 11.2.0.2. We are planning to implement dbms_crypto to encrypt few columns. We clone the data from production to lower environment ( DEV, QC).
    For the lower environments, we do not want to get the sensitive data from production and do not plan to use same key. Rather than getting an error when using differnt key, is it possible to get a different resultset back.
    In other words, we want the implementation to be same across environments but want to use a diffent key in lower environment and get different result (or garbage).
    Any suggestions would be greatly appreciated.
    While testing this logic, I am getting following error when using differnt key to decrypt. It works fine if I use same key.
    Error at line 1
    ORA-28817: PL/SQL function returned an error.
    ORA-06512: at "SYS.DBMS_CRYPTO_FFI", line 67
    ORA-06512: at "SYS.DBMS_CRYPTO", line 44
    ORA-06512: at line 19
    DECLARE
      l_credit_card_no    VARCHAR2(19) := '1234 5678 9012 3456';
      l_ccn_raw           RAW(128) := UTL_RAW.cast_to_raw(l_credit_card_no);
    l_key               RAW(128) := UTL_RAW.cast_to_raw('abcdefgh');
       l2_key               RAW(128) := UTL_RAW.cast_to_raw('12345678');
      l_encrypted_raw     RAW(2048);
      l_decrypted_raw     RAW(2048);
    BEGIN
      DBMS_OUTPUT.put_line('Original  : ' || l_credit_card_no);
      l_encrypted_raw := DBMS_CRYPTO.encrypt(src => l_ccn_raw,
                                             typ => DBMS_CRYPTO.des_cbc_pkcs5,
                                             key => l_key);
      DBMS_OUTPUT.put_line('Encrypted : ' || RAWTOHEX(UTL_RAW.cast_to_raw(l_encrypted_raw)));
      l_decrypted_raw := DBMS_CRYPTO.decrypt(src => l_encrypted_raw,
                                             typ => DBMS_CRYPTO.des_cbc_pkcs5,
                                             key => l2_key); --**Using different key to decrypt
      DBMS_OUTPUT.put_line('Decrypted : ' || UTL_RAW.cast_to_varchar2(l_decrypted_raw));
    END;Thank you.

    If I understand what you are trying to do ... and I may not ... it is not going to work.
    SQL> DECLARE
      2   l_credit_card_no VARCHAR2(19) := '1612-1791-1809-2605';
      3   l_ccn_raw RAW(128) := utl_raw.cast_to_raw(l_credit_card_no);
      4   l_key1     RAW(128) := utl_raw.cast_to_raw('abcdefgh');
      5   l_key2     RAW(128) := utl_raw.cast_to_raw('zyxwvuts');  -- alternate key used to attempt a different decryption
      6 
      7   l_encrypted_raw RAW(2048);
      8   l_decrypted_raw RAW(2048);
      9  BEGIN
    10    dbms_output.put_line('Original : ' || l_credit_card_no);
    11 
    12    l_encrypted_raw := dbms_crypto.encrypt(l_ccn_raw, dbms_crypto.des_cbc_pkcs5, l_key1);
    13 
    14    dbms_output.put_line('Encrypted : ' || RAWTOHEX(utl_raw.cast_to_raw(l_encrypted_raw)));
    15 
    16    l_decrypted_raw := dbms_crypto.decrypt(src => l_encrypted_raw, typ => dbms_crypto.des_cbc_pkc
    s5, key => l_key1);
    17 
    18    dbms_output.put_line('Key1 : ' || utl_raw.cast_to_varchar2(l_decrypted_raw));
    19 
    20    l_decrypted_raw := dbms_crypto.decrypt(src => l_encrypted_raw, typ => dbms_crypto.des_cbc_pkc
    s5, key => l_key2);
    21 
    22    dbms_output.put_line('Key2 : ' || utl_raw.cast_to_varchar2(l_decrypted_raw));
    23  END;
    24  /
    Original : 1612-1791-1809-2605
    Encrypted : 3534443342333642353141363846384237463732384636373943374630364234323243334539383042323135
    Key1 : 1612-1791-1809-2605
    DECLARE
    ERROR at line 1:
    ORA-28817: PL/SQL function returned an error.
    ORA-06512: at "SYS.DBMS_CRYPTO_FFI", line 67
    ORA-06512: at "SYS.DBMS_CRYPTO", line 44
    ORA-06512: at line 20

  • Connect Timesten server remotely without using timesten client

    I know it's a silly question but this is what i want to do:-
    I have my java application and I want to connect to the timesten server present on remote machine and moreover I don't have the permission to intall any Timesten Client or App server(weblogic/glassfish) on timesten server. The only thing I had is my java application with plane java connection class to connect to Timesten Server from my machine.
    Is this possible or not? And if it is possible please help me out with some ideas...
    Thanks in advance!!!

    It's not possible. The client/server protocol is proprietary and undocumented and even if you could make it work it would be completely unsupported.
    What you need to do is implement your own 'server' that runs on the TimesTen machine. In this server you implement all the database access requirements for your application. Your application then talks to the server using your own protocol in order to access TimesTen. Although it is more work this is a good design pattern and, if it is well designed and implemented, may actually deliver better performance than normal client/server.
    Chris
    Edited by: ChrisJenkins on May 25, 2012 8:21 AM

  • Using sequence in a multiuser environment

    We plan to use table wise sequences to generate incremental ID's for each Oracle table. Is this an issue in a multi user environment ? SOmebody said this could have contention issues and slow down performance. We expect this application to have in excess of 300 users on the LAN .
    ANy inputs appreciated.

    Hi!
    This should not pose a big issue, if you have 300 users. Even if they modify a lot of tables - each table having their own sequence - the cache of the sequence will be refreshed when the last number is used. Choose a cache size for each sequence that will be refreshed for example once a day, and there shold not be a big performance problem.
    cu
    Andreas

Maybe you are looking for

  • IMac won't detect SD card

    My iMac won't detect any SD card's. It doesn't seem to matter the size (2GB-16GB) or brand, it is just like I haven't inserted one. I have never used one with it before so it isn't from failing to "safetly remove hardware" and I have tried cleaning t

  • Apple Pay not working over half the time at Subway & Walgreens after adding TCF card

    After I got my iPhone 6, there weren't many places that took Apple Pay...i tried it at Subway and it worked there at first and then it worked at Walgreens too. I mostly used AmEx cards and Citibank cards. However, once my bank finally started being A

  • JNI_CreateJavaVM fails on Windows - Very urgent

    Folks, I am very much new to the JNI on Windows 2000. For the last two days, I am trying to load JVM into my application. But, could not succeed. Even the samples I got across the net failed. The problem is "JNI_CreateJavaVM" returns -1. Using Micros

  • Full screen video issue (YouTube outside of the app?)

    i just recently upgraded from an iPhone 5 to an iPhone 6 Plus and everything has been going great. Lately, though, I have been having issues while watching full screen embedded videos (typically from YouTube) in which I am unable to select Done when

  • The difference of stop or disable propagation

    Hi Experts, I want to stop bi direction between 2 server. there are 2 procedure. stop_propagation and disable_propagation. Which different between stop_propagation and disable_propagation? Thanks, Jimmy