Subject | Re: [Firebird-Java] Re: Problem in creating a table with FB Driver |
---|---|
Author | Sergei P. Volin |
Post date | 2002-07-16T12:28:32Z |
You are right Roman. Tables were created after
committing. But InterClient dosn't demand it. Thanks.
----- Original Message -----From: rrokytskyySent: Tuesday, July 16, 2002 2:39 PMSubject: [Firebird-Java] Re: Problem in creating a table with FB Driver> I recently switched from InterClient to FBDriver. With InterClient
> I didn't have problem in creating a table (with generator, triggers
> actually) by using 'executeUpdate(sql)' method of Statement. In
> FBDriver i got problems - FBDriver didn't send any errors but
> didn't create either a table or triggers and send an error only
> when i tried to insert data into a non-existing table.
> Is a problem with executeUpdate method of Statement?
No, this is a problem with transaction handling. I do not know
exactly where it is, but you need to commit after changing metadata.
It does create your tables, but in that transaction they are not
visible.
Best regards,
Roman Rokytskyy
To unsubscribe from this group, send an email to:
Firebird-Java-unsubscribe@yahoogroups.com
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.