1. How do I load database credentials from a properties file in JPA? stackoverflow.comSo I have a Java/JPA2.0 (EclipseLink) app that connects to a MySQL database. My intention is just passing a JAR file around with a |
2. Hibernate issue while loading config file - Caused by: java.lang.OutOfMemoryError: PermGen space coderanch.comHi guys, Can you just take a look at this OutOfMemoryError while trying to load Hibernate config files ? This program run in separate Java program instead of Tomcat server where war is deployed. If any one faced this issue before can you please recommend me a quick fix ? Enclosing JProfiler screen shot. ~ Duke MESSAGE RECEIVED:||||||||||||||||||||||| 3333 MESSAGE RECEIVED:||||||||||||||||||||||| ... |
3. Loading Uploaded File is taking too long forum.hibernate.orgHello there, I'm using hibernate in my project, this project allow users to upload file to the server and these files are being saved on the database. This is working just fine, but when I try to download a file it takes too long to load from the database and start the download. What I do to send the file to ... |
4. Problems loading configuration files forum.hibernate.orgI had Hibernate working great until I need to add a second database to my application. Originally, I used the following to load my config: _hibernateSessionFactory = new Configuration().configure().buildSessionFactory(); I had my hibernate.cfg.xml located in the root of my web application classpath. I then had to give it specific names for multiple configs. So, I named my two configuration files and ... |
5. Wanted: Strategy to lazy load file from DB forum.hibernate.org |
6. Is there a way to load mapping files on demand? forum.hibernate.orgHi All, I'm using Hibernate 2.1 for implementing a client-server application. I am facing the problem that the initialization of Hibernate is quite long. This may due to the high amount of mapping files I have (currently I have only 30 but this will soon go up to 100 and later even more). The problem is that users need only a ... |
7. HIbernate Mapping File not being loaded? forum.hibernate.orgI posted previously about a "Can not persist java.lang.Integer" error in hibernate. However, it now seems that this was a red herring -- thrown to indicate that a class entry is not found in the hibernate mapping file. Without my touching it, the "Can not persist" errors went away and the site worked (hence my belief that it just couldn't find ... |
8. how to load a .sql file using hibernate? forum.hibernate.org |
9. Post loaded Class Files for Hibernate Problem forum.hibernate.orgi have a really not solveable problem the problem is i am developing a logistic software for managing the whole data which occure during the processes of such a company. if the program will be finished ther will be a enterpriese, standard.. edition availabe. so i made modules which you could add by copying a jar file which includes all class ... |
10. Loading configuration file data from various files forum.hibernate.orgHi, I'm using Hibernate (3.2) with Spring (2.0.1). We are using jBPM within our application. I want to load hbm files of jbpm as well as its cache configuration into my application's session factory. This will allow me to have a single session for jbpm as well as my application. The issue is i don't want to merge jbpm's configuration data ... |