파이어버드 자체에는 그런 제한이 없습니다. 저는 자바는 사용하지 않지만 C++빌더나 델파이에서 result set을 서너개쯤 동시에 열어서 사용하는 경우도 있습니다만 자동으로 result set이 닫히는 것은 보지 못했습니다.
문제가 있다면, 아마 JayBird나 자바쪽의 문제일 것 같습니다. 그 관련으로 검색해봤더니 비슷한 경우에 대한 답변이 있더군요. 확답이 아니라 추정입니다만...
http://groups.yahoo.com/group/Firebird-Java/message/7589
Subject: Re: [Firebird-Java] JayBird 2.0.0 JbuilderX
> There seems to be a problem using JayBird 2.0.0 with JbuilderX
> Dataexpress.
> Its not even working with database pilot for jbuilder.
>
> Its always generation the exception "The resultset is closed"
Can you create small example using dataexpress components and send it to me
including jars (I would prefer to spare dowloading JBuilderX)?
I suspect that this is related to automatic result set closing when all rows
are fetched in auto-commit mode (this is written in the JDBC 3.0
specification), but I want to be sure.
Roman
도움이 되었으면 좋겠네요.
그럼...
system69 님이 쓰신 글 :
: 자바를 사용하는데요..
:
: FireBird는 resultset을 2개를 함께 사용할 수 없나요..??
:
: res1 = select1();
: while( res1.next )
: {
: res2 = select2();
: }
:
: 뭐 간단히 말하면 이런식으로 사용하려는 데요..??
:
: FireBird에서는
: org.firebirdsql.jdbc.FBSQLException: The resultSet is closed
: 라는 에러가 나네요..??
:
: 오라클리나 mssql, mysql에서 다 사용하던 건데...으....
:
: 쿼리를 1번에 처리할 수 없어서..이렇게 하는 건데...
: 이것도 안되면 안될거 같은데...
:
: 아시는분 도움을 청합니다...
:
: 그럼 좋은하루 되세요...^_^
|