The hibernate tag has no wiki summary.
-1
votes
1answer
60 views
How to do transaction management using Spring without Annotation?
I'm using Hibernate4.2 and Spring3.2 and I m doing transaction management using Spring without annotation (i.e. without @Transactional). How can I use Spring-transaction management without annotation ...
1
vote
1answer
85 views
SQL W/ hibernate vs in-memory solution
I recently posted a question here: Methods to share memory or state across JVMs? and appreciate the answers. However, as I read the code and learned the system better I learned I was over ...
2
votes
1answer
92 views
Sorting rows off an autoincrementing primary key
Is it a bad practice to rely on an auto-incrementing primary key to sort rows in a table? A coworker and I were having an argument about this subject. We need to be able to find the last-inserted row ...
1
vote
1answer
114 views
ORM: Keep entities coherent in a cache or retrieve entities each time?
We have a tricky question in a project using Java & Hibernate, with a model containing bi-directional relationships.
As it's a small project with few users, few entities, and few rows involved in ...
4
votes
2answers
275 views
Hibernate set up for beginner
I am learning Hibernate (OR Mapping). I am using Maven for project management. However, I am currently reading a Hibernate book by O'Reilly, and they use ANT for their example. So my question is are ...
1
vote
4answers
2k views
Do I need to know servlets and JSP to learn spring or hibernate or any other java web frameworks?
I've been asking a lot of people where to start learning java web development, I already know core java (Threading,Generics,Collections, a little experience with (JDBC)) but I do not know JSPs and ...
0
votes
4answers
493 views
When using Hibernate can we forget about Database Design?
We started (just me and my friend) working on a website. As a part design phase we have finished the drawing a Site Map, decided on the content in each of the web page and the navigation.
As we want ...
3
votes
4answers
2k views
What are the advantages of myBatis over Hibernate?
This question originates from a comment I received on one of my questions -
I'd rather drop hibernate in favor of mybatis instead of jdbc
I've done some research on my own and understand the ...
0
votes
3answers
1k views
Parsing excel data in java, before saving it to database
I'm working on some project where I have to make a database for data which is currently kept in excel files, so I have to do some changes before writing the data into the database. I'm going to read ...
1
vote
2answers
232 views
How can I avoid concurrent access in PostgreSQL?
I would like to have your opinion, how I can handle the case when PDO engine and Hibernate engine "talk" to the same db? There is a PHP application as frontend, and a Java doing some job after user ...
5
votes
1answer
307 views
Why were annotations introduced in Spring and Hibernate?
I would like to know why were annotations introduced in Spring and Hibernate? For earlier versions of both the frameworks book authors were saying that if we keep configuration in xml files then it ...
0
votes
1answer
487 views
Best practice for creating views in spring and hibernate web application
Hi I am currently developing a web application in Spring and Hibernate where i have several different tables. The Delivery table for example is mapped many-to-one with the Customer table and the ...
3
votes
3answers
323 views
When Business Object fields should not exactly reflect database columns
Main advantage with Hibernate annotations is the fact that a simple POJO (also called a Business Object the most of time) can become persistent through Hibernate annotations (or actually JPA) .
In ...
3
votes
1answer
661 views
IntelliJ with Maven compilation
I have a project that needs Hibernate jars.
I added them as dependencies in the pom.xml and Maven compiles my project well.
However, in the IDE, all annotations and calls to Hibernate API are marked ...
3
votes
2answers
1k views
Is Spring + Hibernate prefered instead of EJB 3?
It is my perception that whenever new JEE projects start (where these technologies would be applicable), people prefer to use a combination of Spring + Hibernate instead of EJB 3.
It seems junior ...
0
votes
0answers
238 views
How much should I know about Hibernate before I add it to my CV/Resume? [duplicate]
Possible Duplicate:
At which point do you “know” a technology enough to list it on a resume
I have been holding off adding Hibernate to my CV (resume, for American readers),but ...
2
votes
1answer
236 views
How to achieve thread synchronizing without effecting the efficiency in java [closed]
Say using following function:
public synchronized int getUnique(){
MyObject obj = getValueFromDb();
obj.modifyIt();
obj.commit();
}
When simultaneous call is made to this method several ...
0
votes
1answer
555 views
Storing documents in Database vs CMS in JSF, Seam, Hibernate application on cloud
I am about to start with an application using JSF 2, Seam 3, Hibernate and Hibernate search with the following characteristics:
Users will be uploading documents (pdf, doc).
There can be millions of ...
2
votes
1answer
679 views
Size of database a factor for Hibernate vs JDBC?
Do you know if the size of the database (number of tables used) is a factor when choosing between Hibernate and JDBC? Why or why not?
0
votes
1answer
146 views
Technology Selection for a dynamic product
We are building a product for Procurement Domain in JAVA.
Following are the main technical requirements.
Platform Independent
Database Independent
Browser Independent
In functional requirements ...
1
vote
1answer
789 views
What is the best way to manage Hibernate sessions in a Struts-1 application?
I am now the owner of a Struts-1 application, and the Hibernate session management is all over the place. I have searched online documentation but have not found a clear explanation of the best way ...
2
votes
3answers
366 views
infrastructure software/technologies for developing web service
[Edit: Thanks S.Lott for the hints]
I'm developing a web service from scratch. The service could have potential of 10,000 requests a day. Actually, to be honest, requirements aren't that clear at this ...
2
votes
1answer
396 views
Hibernate building HQL queries
I just read hibernate reference and they say that you should use constans for HQL queries. However that is not always possible, for example if you do search function and have 10 criterias (not jpa ...
1
vote
1answer
713 views
Are there any alternatives to Hibernate Envers 3.6.2.Final?
I'm currently evaluating Hibernate Envers 3.6.2.Final; an auditing module part of Hibernate.
As far as I am in my evaluation, I feel a little disappointed by Envers. I would expect much more from it ...
5
votes
3answers
286 views
What reading is recommended for an experienced Java/SQL Developer moving to Apache/Tomcat, Postgres, Hibernate
I am taking over management and development of a website developed in Java using Hibernate and Postgres, running on Apache/Tomcat. I am an experienced Java developer, and have experience in Ruby on ...