Heh, it was actually more theorical question. Imagine, today we have a huge zoo of application servers and any custom component can actually kill a whole app-server with simple endless loop. The same goes to any IoC container. A simple, 100 of years know bug with endless loop can kill any...
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...
Well, I like tek-tips, but there is no specialized forum here for hibernate. If I can ask here about jdbc, then I think it is naturally to ask about hibernate too.
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 (...
I just remember that in some article on IBM site I saw somethink about the reasons why SE5 generics are not so cool as they could be. It was some compatibility reason as I understood, so if specs WAS changed, then compatibility is already broken and there is no need to worry about it. But there...
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?
Don't know whats wrong in your case but here is my configs ( tomcat-5.0.28 ):
---httpd.conf---
<IfModule !mod_jk.c>
LoadModule jk_module "modules/mod_jk.so"
</IfModule>
JkWorkersFile "conf/workers.properties"
JkLogFile "logs/mod_jk.log"
JkLogLevel info
JkMount /servlets-examples/* worker1...
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...
java.sql.Connection is interface, not a class, so the thing you got from pool is not actually the same what you got directly creating connection. When you call close on connection from pool, pool returns REAL connection to pool, so it become available for further reuse.
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.