NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

SQL Queries from netbeans on H2 database

 
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Users
View previous topic :: View next topic  
Author Message
hesh



Joined: 23 Jun 2010
Posts: 4

PostPosted: Wed Jun 23, 2010 7:05 am    Post subject: SQL Queries from netbeans on H2 database Reply with quote

Hi,
I have a connection on H2 database defined under Services->Databases. But when i try to execute query that has an aggregate function or some calculation included in the select clause (for example: select count(*) from REPORT_ABC_SUM), i don't get any result and netbeans reports only following (no detailed error information):
Line 1, column 1
Execution finished after 0 s, 1 error(s) occurred.

If i do a " select * ", or just enter column names, everything works fine.

Is there anything i need to set up for this to work?
Back to top
hesh



Joined: 23 Jun 2010
Posts: 4

PostPosted: Thu Jun 24, 2010 3:05 pm    Post subject: Reply with quote

Can at least someone confirm that this works on other databases? If that is the case, i'll post this on h2 forums as well Smile.
Back to top
hesh



Joined: 23 Jun 2010
Posts: 4

PostPosted: Fri Jul 23, 2010 11:06 am    Post subject: Reply with quote

Just to let everyone know. In netbeans 6.9 this works fine. 6.8 had problems Smile
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo