Hi all, is it possible to limit somehow allowed memory for some code block (method for example)? For example, I am going to run some code but it is possible that it can try to use too much memory (heap or stack). The practical usage of such limitation can be: preventing some plugin to suck all...
Hi, i have stored procedure (or function) and I need to return records set from it. This result set is generated inside SP, so simple select <some columns> from <somewhere> will not work. In postgresql this is done using SET OF construction, but how to do it in MySQL?
Hello!
I have trigger and in some condition I want to inform calling system that some error occured (rise error). How can I do it?
And where can I read about it? Official documentation is not very helpful, at least I didn't found anything about it in section triggers. :(
Hi,
Currently I am involved in writing code standarts for my company and there is serious question about XML tags and attributes naming conventions.
There is three types of them:
1) Camel case - new word starts from Capitalized character.
Apache uses such approach.
2) Use minus (-) sign. For...
Hi!
I have database where some tables are owned by different then database owner user. To accesss those tables I need to specify username before tablename. So, simple select looks like : SELECT * FROM <username>.<tablename>.
This is a test database and in production will be used only one user (...
As I know, java .class file specification was unchanged
until version 1.4 but because of new features in version 5 ( autoboxing, enums, ... ) there was discution about changes in java bytecode specification. I found JSR 201 http://www.jcp.org/en/jsr/detail?id=201 and it seems that specs WAS...
Do I understand correctly that 2 equals objects MUST return the same hashCode() value BUT if 2 objects has the same hashCode it is DOES'NT mean that they are equals?
Computers in LAN access internet thru special server and for all other internet they looks like single computer ( same IP ). How can I know, is there only one computer using that IP or there is more of them, and if there is more, then which of them exactly ( IP ) uses it now? I mean...
Hi.
JBoss eclipse plugin and xmlbuddy poits my on error in my web.xml file in <security-constraint> tag:
<security-constraint>
<web-resource-collection>
<web-resource-name>App</web-resource-name>
<url-pattern>/app</url-pattern>
</web-resource-collection>
<auth-constraint>...
Hi! I am searching for Eclipse plugin that allows me to
run SQL queries directly from Eclipse. I don't need all that cool staff with tables drawing and so on, the only thing I need is support for PostgreSQL and Sybase ASE. Something like shell for queries and result viewer. I think that it is...
Hi everyone.
For example I have DOM document and I want extract some data
from it using XPath syntax ( for example "/head/title" ).
What API can help me? I didn't found anything like that in SE or EE docs.
First of all, Happy New Year! :)
There is lots of questions about XDocklet I want to ask, coz I didn't found answers with google :)
Iam understand what it for, and really like the way it works, but there is still questions I wanted to ask.
1) Whats IS IT? I mean, is it a open-source or...
Hi!
I am trying to use TagSoup library in my application available at http://mercury.ccil.org/~cowan/XML/tagsoup/ but it is unclear for me how to construct DOM having XMLReader. This library contains SAXParser, but I just can't point document builder to use it. :( Question is not about that...
Hi!
I have a question about Web Container performance then it is configured and programmed to handle all types of files, not only Dynamic context( such as images, static html's and various binary data ). I am actually interested in someway to get full controll on them, but it will require to...
Hi!
As you know, URL request accepts only latin chars and parameters has some chars limitations. When request must contain some special chars, such as '&', ' ', '=', and so on, then those chars are encoded with special codes.
So, I wonder, is there functions that will do such encoding and...
Hi everyone. I got some problem with subselect, can't understand, why is so happens.
I divided original request in two parst.
First part:
sql: SELECT login FROM users WHERE restricted IS NULL;
returns: alpha, test, mem_user1, mem_usr2.
Second part:
sql: SELECT DISTINCT login FROM companies...
Hi everyone!
When I was playing with javascript( I am new to it ), I found very interesting problem. According to w3c specification, 'document.getElementById( ID ).style' gives access to styles of object which id is ID. But in my experiments I found a very annoing restriction about this method...
How compotible are *.class* files from various JVM?
For example: Can I use classes compiled using JDK 1.3
with classes form JDK 1.4? How JVM reacts in such cases?
Opinions? Links?
Hi!
I am using borland c++ compiler 5.5 ( free ).
The sructure of program is very simple: Program.cpp, containing main() function, Array.cpp and Indexed.cpp with my templates.
Those 3 files was succesfully compiled( got Program.obj, Array.obj, Indexed.obj ), but when I trying to link em, I got...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.