Search found 164 matches
- 14.02.2011, 15:15
- Forum: 6.6 - stable
- Topic: TZquery dont works with Multiple Statements
- Replies: 17
- Views: 6437
Hello, testebelo , you could set AutoCommit to false, TransactionIsolation to tiNone to your Connection object, then start your own transaction by calling executedirect('START TRANSACTION ISOLATION LEVEL READ COMMITTED;'). Then call as many SQL statements as you need (creating and using temp tables)...
- 12.02.2011, 10:47
- Forum: ZeosLib 7.0 Beta Forum
- Topic: ZConnectionGroup and ZGroupedConnection
- Replies: 5
- Views: 2264
- 11.02.2011, 08:07
- Forum: 6.6 - stable
- Topic: Zeos truncates data
- Replies: 12
- Views: 1595
vannus , i would discourage you using ZTable on tables that are growing as it will slow your application in future. ZTable is good for tables of not changing data - that you write once and new records are added rarely. If the table is used for general operation (sales, logging and so on) then the Z...
- 10.02.2011, 10:15
- Forum: 6.6 - stable
- Topic: Zeos truncates data
- Replies: 12
- Views: 1595
However during TZAbstractRODataset.InternalOpen which happens later on, those values get changed - my 200 length fields become 255 - my 5000 length fields become 1000 This is really strange as I observed no such behavior with postgres (with fields less than 255 char long). I expect Postgres and SQL...
- 10.02.2011, 08:19
- Forum: 6.6 - stable
- Topic: Zeos truncates data
- Replies: 12
- Views: 1595
vannus,
Did you look into
Does it return correct fieldtype and precision?
Did you look into
Code: Select all
ColumnType := ConvertSQLiteTypeToSQLType(TypeName^,
FieldPrecision, FieldDecimals);
- 09.02.2011, 08:07
- Forum: 6.6 - stable
- Topic: Zeos truncates data
- Replies: 12
- Views: 1595
- 08.02.2011, 12:01
- Forum: ZeosLib 7.0 Beta Forum
- Topic: can't compile svn rev 878 on lazarus
- Replies: 1
- Views: 479
- 06.02.2011, 16:37
- Forum: PostgreSQL
- Topic: TableExists and PostgresSql
- Replies: 2
- Views: 1594
hello tintinux , would you please provide the code sample how you try to obtain the tablenames?... I tried ZConnection1.Connect; ZConnection1.GetTableNames('', 'public', Memo1.Lines); ZConnection1.Disconnect; It provided me the tables of the public schema. I use Lazarus 0.9.28.2-10ubuntu1 FPC 2.4.0 ...
- 06.02.2011, 14:55
- Forum: 6.6 - stable
- Topic: Zeos truncates data
- Replies: 12
- Views: 1595
- 17.01.2011, 20:39
- Forum: 6.6 - stable
- Topic: Zeos multiuser and transaction support code
- Replies: 5
- Views: 819
JD,
I'll sugest you read http://zeos.firmos.at/kb.php?mode=article&k=9 That will give you several thoughts to start with when using Postgresql.
Good luck!
I'll sugest you read http://zeos.firmos.at/kb.php?mode=article&k=9 That will give you several thoughts to start with when using Postgresql.
Good luck!
- 14.01.2011, 10:29
- Forum: 6.6 - stable
- Topic: Solution for ZEOS 6.6.6 with >= FPC2.5.x
- Replies: 34
- Views: 5636
mdaems , in line 218 of the file you send is a line function TAggregatedObject._Release: Integer; {$IFNDEF WINDOWS}cdecl{$ELSE}stdcall{$ENDIF}; Do you know why is it there? I meen the calling directives. mmvisual removed them and I think the source is better now. On the other hand if they are neede...
- 08.01.2011, 18:04
- Forum: 6.6 - stable
- Topic: Solution for ZEOS 6.6.6 with >= FPC2.5.x
- Replies: 34
- Views: 5636
- 01.01.2011, 15:05
- Forum: Off Topic
- Topic: Happy New Year
- Replies: 1
- Views: 22788
Happy New Year
Happy New Year Zeos community!!! May this year bring even more contributors to this project!
- 12.12.2010, 21:11
- Forum: 6.6 - stable
- Topic: ZPlainPostgreSqlDriver bug?
- Replies: 2
- Views: 471
Hello, martinrame,
this error was because of improper use of connection handle in statements. Please read http://zeos.firmos.at/viewtopic.php?t=2599&highlight=
Good luck!
this error was because of improper use of connection handle in statements. Please read http://zeos.firmos.at/viewtopic.php?t=2599&highlight=
Good luck!
- 06.12.2010, 07:56
- Forum: User Patches
- Topic: Path to 6.6.6-stable - "constref" FPC 2.5.1
- Replies: 11
- Views: 3619
Hello, mdaems , I'm using Lazarus 0.9.28.2-10Ubuntu1, FPC v2.4.0 objpash.inc contains declaration: IUnknown = interface ['{00000000-0000-0000-C000-000000000046}'] function QueryInterface(const iid : tguid;out obj) : longint;stdcall; function _AddRef : longint;stdcall; function _Release : longint;std...