Hello,
1) MySqlDependency will use only the first column if a table has several timestamps columns. In this case a hash will be calculated on the first timestamp column and this hash will be compared to the previous value.
2) I'm afraid, you need to load the whole table, as MySqlDependency doesn't track the updated data itself. It can just notify that the table has been changed.
Regards,
Alexey.
Search found 729 matches
- Wed 11 Jun 2008 14:19
- Forum: dotConnect for MySQL
- Topic: How to refresh a table every few minutes
- Replies: 8
- Views: 2956
- Wed 11 Jun 2008 14:09
- Forum: dotConnect for Oracle
- Topic: Oradirect.Net 2.40 Memory leaks
- Replies: 9
- Views: 5458
Hello again,
Please follow these steps to remove Core Lab policy files:
- open Windows Explorer;
- navigate to %windows%assembly folder
- find policy files that has Core Lab in its name, like
policy.3.55.CoreLab.Oracle
- press Delete button on this file (or right mouse click -> Uninstall)
Regards,
Alexey.
Please follow these steps to remove Core Lab policy files:
- open Windows Explorer;
- navigate to %windows%assembly folder
- find policy files that has Core Lab in its name, like
policy.3.55.CoreLab.Oracle
- press Delete button on this file (or right mouse click -> Uninstall)
Regards,
Alexey.
- Wed 11 Jun 2008 12:29
- Forum: dotConnect for Oracle
- Topic: Oradirect.Net 2.40 Memory leaks
- Replies: 9
- Views: 5458
Hello Miguel,
I have received the code example. We are investigating the problem.
Could please check whether the issue is reproducible with the latest version of OraDirect .NET?
There were crucial changes and many fixes in 3.** and 4.** versions.
Example of CoreLab policy file name in GAC policy.3.55.CoreLab.Oracle
Regards,
Alexey.
I have received the code example. We are investigating the problem.
Could please check whether the issue is reproducible with the latest version of OraDirect .NET?
There were crucial changes and many fixes in 3.** and 4.** versions.
Is the bug fixed in the new version?Yesterday we have purchase version 4.70 for framework 1 and apply this new version for the application that has memory leaks.
Yes, you can. It is recommended to remove any OraDirect .NET policy files from GAC.Can we have installed version 3.55 for .net2 and 4.70 for .net1.1 at the same time in the server?
Example of CoreLab policy file name in GAC policy.3.55.CoreLab.Oracle
Regards,
Alexey.
- Wed 11 Jun 2008 08:34
- Forum: dotConnect for MySQL
- Topic: Disconnections/Net Packets Out Of Order
- Replies: 17
- Views: 5924
Well, actually both approaches are fine.
If you will use connection pooling there won't be much overheads,
as the physical connections are not closed for some time span (10 to 40 seconds).
It's likely the main problem is in the unlocked method:
q.Execute(query)
If several threads execute this method simultaneously, you will definitely see the network error.
If you will use connection pooling there won't be much overheads,
as the physical connections are not closed for some time span (10 to 40 seconds).
It's likely the main problem is in the unlocked method:
q.Execute(query)
If several threads execute this method simultaneously, you will definitely see the network error.
- Wed 11 Jun 2008 07:48
- Forum: dotConnect for Oracle
- Topic: Oradirect.Net 2.40 Memory leaks
- Replies: 9
- Views: 5458
Hello,
Please specify the full version of OraDirect .NET you are using.
All results available after invoking GCHandle.Alloc(, GCHandleType.Pinned) are stored in one place inside a cursor or a reader.
CoreLab.Oracle.OracleLoader has its own place of storage.
These resources are freed as the reader is closed.
It's likely that the memory size is made excessively large by some unclosed OracleDataReaders.
Do you use cursors that are returned as a procedure or script parameter?
Probably we have a problem here. Could you please send me (alexeyman*crlab*com) a small sample project to demonstrate the problem?
The CoreLab.Oracle.OracleObjectBase.Finalize() method in OraDirect .NET 3.55.26 catches all exceptions and nothing should be left.
Regards,
Alexey.
Please specify the full version of OraDirect .NET you are using.
All results available after invoking GCHandle.Alloc(, GCHandleType.Pinned) are stored in one place inside a cursor or a reader.
CoreLab.Oracle.OracleLoader has its own place of storage.
These resources are freed as the reader is closed.
It's likely that the memory size is made excessively large by some unclosed OracleDataReaders.
Do you use cursors that are returned as a procedure or script parameter?
Probably we have a problem here. Could you please send me (alexeyman*crlab*com) a small sample project to demonstrate the problem?
The CoreLab.Oracle.OracleObjectBase.Finalize() method in OraDirect .NET 3.55.26 catches all exceptions and nothing should be left.
Regards,
Alexey.
- Tue 10 Jun 2008 10:12
- Forum: dotConnect for PostgreSQL
- Topic: Error: "insufficient data left in message"
- Replies: 3
- Views: 4066
Hello,
What CF do you use?
Please send me (alexeyman*crlab*com) a small test project to
reproduce the problem.
It is desirable to use 'test' schema objects, otherwise
include the
definition of your own database objects.
If it is impossible for you to create the test project, send
us a piece of
your code where the error occurs or describe steps to
reproduce the problem.
Regards,
Alexey.
What CF do you use?
Please send me (alexeyman*crlab*com) a small test project to
reproduce the problem.
It is desirable to use 'test' schema objects, otherwise
include the
definition of your own database objects.
If it is impossible for you to create the test project, send
us a piece of
your code where the error occurs or describe steps to
reproduce the problem.
Regards,
Alexey.
- Tue 10 Jun 2008 08:36
- Forum: dotConnect for MySQL
- Topic: Help!!!! Wizard DataSet error vs. 2008 in windows vista
- Replies: 1
- Views: 1804
Please send me (alexeyman*crlab*com) a small test project to reproduce the problem.
It is desirable to use 'test' schema objects, otherwise include the
definition of your own database objects.
If it is impossible for you to create the test project, send us a piece of
your code where the error occurs or describe steps to reproduce the problem.
What is the version/edition of the product you use?
It is desirable to use 'test' schema objects, otherwise include the
definition of your own database objects.
If it is impossible for you to create the test project, send us a piece of
your code where the error occurs or describe steps to reproduce the problem.
What is the version/edition of the product you use?
- Tue 10 Jun 2008 08:31
- Forum: dotConnect for MySQL
- Topic: How to refresh a table every few minutes
- Replies: 8
- Views: 2956
There is an alternative way, you can find an example in MySqlDependency class topic (help reference).
Additionaly, take a look at this post:
http://crlab.com/forums/viewtopic.php?p=34243#34243
Additionaly, take a look at this post:
http://crlab.com/forums/viewtopic.php?p=34243#34243
- Tue 10 Jun 2008 08:11
- Forum: dotConnect for MySQL
- Topic: Disconnections/Net Packets Out Of Order
- Replies: 17
- Views: 5924
1. Do you have to hold a MySqlConnection opened? In the code you posted the connection instance is never closed. Probably you can use a connection pooling?
2. You should lock any operation that uses the connection, i.e.
- query.Ping
- q.Execute(query)
What is the exact exception message you receive, “Net Packets Out Of Order” or "Lost connection to mysql server during query”?
Let me know on the results.
2. You should lock any operation that uses the connection, i.e.
- query.Ping
- q.Execute(query)
What is the exact exception message you receive, “Net Packets Out Of Order” or "Lost connection to mysql server during query”?
Let me know on the results.
- Mon 09 Jun 2008 14:47
- Forum: dotConnect for PostgreSQL
- Topic: Error: "insufficient data left in message"
- Replies: 3
- Views: 4066
- Mon 09 Jun 2008 14:23
- Forum: dotConnect for MySQL
- Topic: Disconnections/Net Packets Out Of Order
- Replies: 17
- Views: 5924
- Mon 09 Jun 2008 09:34
- Forum: dotConnect for PostgreSQL
- Topic: uuid datatype
- Replies: 3
- Views: 4310
- Mon 09 Jun 2008 07:33
- Forum: dotConnect for Oracle
- Topic: OraDirect .NET provider disapeared after upgrade to 4.70
- Replies: 6
- Views: 2884
The build is available for download now.
See the changes here:
http://crlab.com/forums/viewtopic.php?t=12286
See the changes here:
http://crlab.com/forums/viewtopic.php?t=12286
- Mon 09 Jun 2008 07:31
- Forum: dotConnect for PostgreSQL
- Topic: New build of PostgreSQLDirect .NET 3.70.27 is available!
- Replies: 0
- Views: 1969
New build of PostgreSQLDirect .NET 3.70.27 is available!
Dear users,
New build of PostgreSQLDirect .NET version 3.70.27 is available for download now.
This version includes:
Core Lab development team
http://www.crlab.com/pgsqlnet
New build of PostgreSQLDirect .NET version 3.70.27 is available for download now.
This version includes:
- Fixed bug with PostgreSQLDirect .NET Data Provider missing in the EDM wizard
- Fixed bug with inserting a row in DbDataTable when a filter is enabled
Core Lab development team
http://www.crlab.com/pgsqlnet
- Mon 09 Jun 2008 07:28
- Forum: dotConnect for MySQL
- Topic: New build of MyDirect .NET 4.70.29 is available!
- Replies: 0
- Views: 1457
New build of MyDirect .NET 4.70.29 is available!
Dear users,
New build of MyDirect .NET version 4.70.29 is available for download now.
This version includes:
http://www.crlab.com/mysqlnet
New build of MyDirect .NET version 4.70.29 is available for download now.
This version includes:
- Fixed bug with MyDirect .NET Data Provider missing in the EDM wizard
- Fixed bug with inserting a row in DbDataTable when a filter is enabled
http://www.crlab.com/mysqlnet