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.
...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 ( database owner ) and ther will be no need to...
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?
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.
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>...
Nice link, Dan! Thanks!
I saw here some interestng ideas but all projects was in beta or alpha stages. It seems that developing such simple plugin is not interesting for serious companies or developers because it has'nt any commercial value, so the only hope is for enthusiasts who often starts...
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.
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.