Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3239264
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T17:56:59+00:00 2026-05-17T17:56:59+00:00

I am using an object persistence framework called ECO for updating data to SQL

  • 0

I am using an object persistence framework called ECO for updating data to SQL Server. I’ve noticed that if I create a TransactionScope and then deliberately throw an exception after my first transaction has committed but before my second has committed the first database is updated and the 2nd is not.

I thought that simply creating the TransactionScope around the numerous updates is all I had to do once the distributed transaction coordinator is running on the main DB?

Can anyone think of any reason why this would per permitting a scenario where the first DB is updated but not the second?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T17:56:59+00:00Added an answer on May 17, 2026 at 5:56 pm

    Got it!

    ECO supports the following databases…

    1. BlackFish
    2. DB2
    3. FireBird
    4. Mimer
    5. MySql
    6. NexusDB
    7. Oracle
    8. SQLite
    9. SQLServer
    10. Sybase
    11. Borland data provider
    12. Borland database eXpress (DBX)

    I remembered this morning that some of these don’t support connection pooling, so on an abstract PersistenceMapper class ECO has implemented its own connection pooling. This is what was happening

    1. App starts
    2. I have opted to store my object mapping info in the DB itself, so ECO gets a connection and reads that mapping info
    3. ECO returns the connection to the pool, but its OWN pool
    4. I later start a distributed transaction
    5. I update my objects to the database
    6. ECO retrieves a connection from its own pool

    As a consequence the connection is not enlisted in the current distributed transaction. Considering SqlConnection does its own pooling it was acceptable to set PersistenceMapperSqlServer.MaxPoolSize to ZERO.

    Now it uses the SqlConnection component to deal with the creation/disposal of Connections, not only does that component pool the connections but it also deals with distributed transactions properly too!

    I’ve written to the developers to let them know that they should mark this property obsolete.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a VB6 dll that is trying to create a COM object using
I'm creating an email message using CDO object (and VB6, but that doesn't really
I want to create a new object using Class::DBI. One of the fields of
I have a start of a webapp that I wrote without using the Object
Is anybody out there using iBATIS 3 as their persistence framework inside an EJB
In a project our team is using object lists to perform mass operations on
Does creating an object using reflection rather than calling the class constructor result in
I'm interested in using an Object-Relational Mapping package for an upcoming project. This project
I'm creating a color object using the following code. curView.backgroundColor = [[UIColor alloc] initWithHue:229
I cannot seem to access the context object using a loop context is set:

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.