-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I'm trying to use Hibernate to persist a class that looks like this:
public class Item implements Serializable, Comparable<Item> {
// Item id
private Integer id;
// Description of item in inventory
private String description;
// Number of items described by this inventory item
private int…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hello,
I am having some problems trying to work with PostgreSQL and Hibernate, more specifically, the issue mentioned in the title. I've been searching the net for a few hours now but none of the found solutions worked for me.
I am using Eclipse Java EE IDE for Web Developers. Build id: 20090920-1017…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi,
I'm trying to run a simple GWT project where I'm trying to do a simple persitence via hibernate to a HSQLDB database. The database I'm using I have been using for at least 2 years with several osgi applications without any problems. So all I done is reused the same configuration and added a simple…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
According to the tutorial : http://jpa.ezhibernate.com/Javacode/learn.jsp?tutorial=27hibernateloadvshibernateget,
If you initialize a JavaBean instance with a load method call, you can only access the properties of that JavaBean, for the first time, within the transactional context in which it…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I use netbean 6.7.1 to write "hello world" witch hibernate, but I get some errors, plz help me, thank you very much.
my exception
init:
deps-module-jar:
deps-ear-jar:
deps-jar:
Copying 1 file to F:\Documents and Settings\My Dropbox\DropboxNetBeanProjects\loginspring\build\web\WEB-INF\classes
compile-single:
run-main:
Oct…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
What is the best connection pooling library available for Java/JDBC?
I'm considering the 2 main candidates (free / open-source):
Apache DBCB - http://commons.apache.org/dbcp/
C3P0 - http://sourceforge.net/projects/c3p0
I've read a lot about them in blogs and other forums but could not reach…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi,
I am planning to use MYSQL. Is there a connection pooling extension available. or what is the normal practice for connection.
is this the one used in every where...
mysqli_connect("localhost", "xxx", "xxx", "test");
Do people use just normal msql_connect or pconnect..? how better is pconnect…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
It is hard to find a resource on this without finding J2EE, but here is what I am looking for:
All I have is a standard J2SE app, it makes a lot of DB connections. I simply need to make use of a connection pool. Any suggestions?
>>> More
-
as seen on Geeks with Blogs
- Search for 'Geeks with Blogs'
A few weeks ago we started getting complaints about performance in an application that has performed very well for many years. The application is a n-tier application that uses ADODB with the SQLOLEDB provider to talk to a SQL Server database. Our object model is written in such a way that each…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hy guys, after a lot of problem with my hoster, i decided to disable connection pooling of my application.
The problem was related to the number of concurrent connections : only five.
So i decided to disable connection pooling: the result is that my web app don't crash.
So i'm asking you: are…
>>> More