Hibernate
Hibernate Second-Level Cache: Does get use it?
I\'ve seen it written that the Hibernate second-level cache is only used when invoking the load method. I can\'t find any conclusive answers 开发者_JS百科about whether it\'s used when calling get, whi[详细]
2023-04-12 12:12 分类:问答Hibernate design dilemma; parent - child relationship with address link
I have an existing entity design. There is an Individual entity. A Guardian or a Minor are stored as Individual. If u r a Minor, u r assigned zero or more guardians. This relationship is stored in a d[详细]
2023-04-12 12:12 分类:问答Calling Stored Procedure using NHibernate as a Named Query with Input Parameters
Problem Description: I am trying to execute a stored procedure with an input parameter. The stored procedure executes correctly when run from MSSQL 2008 SQL Studio. However I get an error while runni[详细]
2023-04-12 12:11 分类:问答JPA - createEntityManagerFactory returns Null
Noob question here. I\'m following this example/tutorial to try and isolate a problem I keep getting on my main project. Problem is, the entityManagerFactory keeps returning null (thus, I get a NullPo[详细]
2023-04-12 11:07 分类:问答Hibernate exception handling
I\'ve got a little \'complex\' question. I\'m using Hibernate/JPA to make transactions with a DB. I\'m not the DBA, and a client consumes my application, a RESTful web service. My problem is that th[详细]
2023-04-12 09:05 分类:问答Lucene Analyzer for Indexing and Searching
I have a field that I am indexing with Lucene like so: @Field(name=\"hungerState\", index=Index.TOKENIZED, store=Store.YES)[详细]
2023-04-12 08:57 分类:问答JPA- Hibernate - ID values generated from Select statement
I am having problems mapping a legacy database schema using JPA annotations. The schema uses a table to generate unique IDs for most of the tables in the db - it has a structure of:[详细]
2023-04-12 08:48 分类:问答hibernate transaction, commit not valid without active transaction
first of all, sorry if my english is so bad, i am new in using hibernate so there is some question that i want to ask to all of senior.[详细]
2023-04-12 08:22 分类:问答How to convert from hibernate SQLQuery result to JSON
I have a problem, I\'m trying to convert an SQLQuery object result (from Hibernate) to a JSON. SQLQuery q = session.createSQLQuery(\"SELECT * FROM table\");[详细]
2023-04-12 07:32 分类:问答Error in hibernate while calling stored procedure
I am calling a stored procedure from hibernate but it is giving me an error.I executed the stored procedure in mysql separately and it gave me the result.This is the error i got from hibernate[详细]
2023-04-12 07:28 分类:问答