1. Possible bug in evict() under certain circumstances? forum.hibernate.orgHibernate version: 3.0 Hi, we are using a long lived session and managing our own transactions to maintain a conversation over multiple transactions. What we are trying to do is to make our transaction rollback handling code get the Hibernate session cache back in sync after a rollback. The scenario is that we create a new hibernate pojo and then something ... |
2. I dont know Whehter its bug with 3.2.CR2 forum.hibernate.orgHi When I use this query I am getting the results in query.list() but size of the list is 6 but It should be 1. I am wondering whats wrong with Hql in the new version? Code: "select clinicalorder from ClinicalOrderImpl clinicalorder" + " left join clinicalorder.clinicalOrderAttributions ... |
3. A Bug? Problem (IllegalAccess@Cachemanager) forum.hibernate.org |
4. bug in hibernate3.2 cr1 build.xml task clean forum.hibernate.org |
5. Statement is closed, possibly bug HHH-876 forum.hibernate.orgNewbie Joined: Wed Jun 28, 2006 8:58 am Posts: 9 Using Hibernate v3.1.3, I am experiencing symptoms that sound like bug HHH-876. Problem has been intermittent, may be related to timing/latency. Using JDBC drivers from jnetdirect, get com.jnetdirect.jsql.JSQLException with message of "The statement is closed". Failure occurs in a method that performs a series of queries using a single Session. All ... |
6. Bug in Hibernate ... forum.hibernate.orgHi I am facing an alias problem in Hibernate... I have a query which contains a sub query in the select list... I have defined an alias of the sub query as _sqry1 now I am putting an Order By clause in the query.... Order By is on the result of the sub query and I have given the alias of ... |
7. BUG in Hibernate ... forum.hibernate.orgHi I am facing an alias problem in Hibernate... I have a query which contains a sub query in the select list... I have defined an alias of the sub query as _sqry1 now I am putting an Order By clause in the query.... Order By is on the result of the sub query and I have given the alias of ... |
8. Possible bug -- Tell me if I'm nuts. ;) forum.hibernate.orgMy team is using Hibernate 3.1 for a fairly simple web-based data entry system. In our work flow, the object graph is only persisted after the user is done with all modifications and editing. In other words, they create a Foo object, which is held in their HTTP session, and once they have it the way they want it, Hibernate is ... |
9. 3.1.3 ClassCastException bug forum.hibernate.org |
10. org.hibernate.pretty.Printer bug? forum.hibernate.org2006-08-16T19:26:14.85 | DEBUG | ApiQueue-1 | DeleteJob#1 | Printer ... |
11. Bug? programmatic config needs different paths than xml forum.hibernate.orgNewbie Joined: Sun Aug 27, 2006 9:09 pm Posts: 6 Howdy all - I'm a newbie to Hibernate, and just finished my first two installation tests comparing xml config to programmatic config (and comparing annotations to xml mappings). It took some hacking to get the programmatic config to work, because the examples I copied to do the xml configuration didn't preface ... |
12. Hibernate / Firebird bug? forum.hibernate.orgCaused by: org.hibernate.exception.GenericJDBCException: could not execute query at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:103) at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:91) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43) at org.hibernate.loader.Loader.doList(Loader.java:2148) at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2029) ... |
13. Serious bug recently introduced in UpdateTimestampsCache? forum.hibernate.org |
14. bug found! forum.hibernate.org |
15. one-to-one bugs with hibernate 3.2.ga forum.hibernate.orgHi, I have a one-to-one relationship with property-ref between Master and Slave2. I want to find all Master instances that have a null Slave2 instance associated. To do so my query is Code: select master from Master master where master.slave2 is null The sql generated is Code: select master0_.oid as oid0_, master0_.libelle as libelle0_ from Master master0_ where master0_.oid is null ... |
16. Likely Bug: ClassCastEx. in SecondLevelCacheStatististics forum.hibernate.orgpublic Map getEntries() { Map map = new HashMap(); Iterator iter = cache.toMap().entrySet().iterator(); while ( iter.hasNext() ) { Map.Entry me = (Map.Entry) iter.next(); ... |
17. Hibernate Team: This is a bug? Please, I need your help!!! forum.hibernate.orgHello: I'm a student and I need your help because my proyect depend on hibernate. I have a one problem when I try to recovery a set from one-to-many relationship. I have 3 classes: Alumno, Ramo and RamoAlumno. RamoAlumno is intermediate class, because in my model I have Alumno--many-to-many--Ramo, and I have propieties in the relation. Then, I have 2 relations ... |
18. HibernateTools bug forum.hibernate.orgHello, I spent the whole afternoon on trying to find what went wrong with my HibernateTools 3.2.0 beta 9 since it retrieved nothing from Oracle although the connection is correctly set. Here is the bug : |
19. more SequenceStyleGenerator, and a possible bug ( ? ) forum.hibernate.orgHi all, I have a table in a mySQL db representing a sequence, that has a varchar column, and a long column, the varchar is the name of the sequence, the long the current sequence value. I have set up my hibernate mappings as so (Do i need to do this for each mapping? or is there a global point i ... |
20. Bug or Feature forum.hibernate.org |
21. Is there a Bug on Latest Libraries? forum.hibernate.org |
22. The most strange bug I ever have with Hibernate in 2 years forum.hibernate.orgHi, I have a very strange bug with Hibernate, maybe an expert could please tell me what kind of problem it is: I have this method, this query only work a couple of first times with my tester, then It only returns one object in the list (supposed to return many) Code: public List |
23. new hibernate issue with c3p0 (NPE), possible bug forum.hibernate.orgI've just upgraded my hibernate libs in my application, from hibernate 3.2.0.ga to 3.2.4.sp1, using the same c3p0 0.9.1.2, and all of a sudden get a NullPointerException during application bootstrap: ******************************************* 2007-07-26 22:49:56,106 | FATAL | Timer-3 | C3P0ConnectionProvider | nection.C3P0ConnectionProvider 162 | could not instantiate C3P0 connection pool java.lang.NullPointerException at java.util.Hashtable.put(Hashtable.java:394) at com.mchange.v2.c3p0.DataSources.pooledDataSource(DataSources.java:314) at org.hibernate.connection.C3P0ConnectionProvider.configure(C3P0ConnectionProvider.java:159) at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:124) at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:56) at ... |
24. BUG: Hibernate doesn't throw EntityExistsException forum.hibernate.org |
25. a bug or not ? this question is from hiberante source code forum.hibernate.orgNeed help with Hibernate? Read this first: http://www.hibernate.org/ForumMailingli ... AskForHelp Hibernate version:3.2 HashMap has been tranformed to TableDescription (sorry for my bad english) followed code all from hibernate3.2 src for readable i changed the order of methods ---------------------------------------------------------------------------- public class Mappings implements Serializable { Mappings( . . final Map tableNamebinding, .. ){ this.tableNameBinding = tableNamebinding; } public void addTableBinding( String schema, ... |
26. BUG?: initializeFromCache for PersistentBag forum.hibernate.orgRegular Joined: Sun Sep 30, 2007 7:51 pm Posts: 92 Hi. I wasn't able to catch the bug in the route case for now. It occurs very indeterministic. Our object structure is quite complicated. Anyway, the problem occurs when hibernate initializes collections from cache, in PersistentBag.initializeFromCache method: Code: Serializable[] array = (Serializable[]) disassembled; ... |
27. Is it a BUG in Hibernate? forum.hibernate.org |
28. Any workaround for this bug? ANN-617 forum.hibernate.org |
29. Is this a feature or a bug?? forum.hibernate.org |
30. Bug in hibernate? forum.hibernate.orgHi I'm trying to save one row to table which got one column set to identity. While trying to save data and commit transaction there is exception: Error while commiting the transaction javax.persistence.RollbackException: Error while comiting the transaction ... Caused by: org.hibernate.exception.ConstraintViolationException: could not insert: [entities.WorkingDayEntry] ... java.sql.SQLException: Cannot insert explicit value for identity column in table 'WorkingDayEntry' when IDENTITY_INSERT is ... |
31. ClassCastException in Hibernate core (bug?) forum.hibernate.orgMy problem is basically that a ClassCastException occurs in the core of Hibernate when I used a HQL query containing a WHERE clause with an "=" sign in it. Here follows more info. The full stack trace is at the bottom. Am I doing some thing wrong or is there a bug in Hibernate? Hibernate version: 3.2.1 Mapping documents: ... |
32. bug in BasicPropertyAccessor forum.hibernate.orgNewbie Joined: Tue Apr 04, 2006 6:58 am Posts: 4 Location: Tampere,Finland BasicPropertyAccessor attempts to invoke method in wrong class. I have classes DomainName and MboxName, and for some reason during EntityManger.flush(), it tries to acces DomainName.getDescription on MboxName. Why, I have no idea. I found this out when running the code in debug mode. BasicProperyAccessor has method 'getDescription' for 'DomainName', ... |
33. Possible bug in the HqlSqlWalker? forum.hibernate.orgHi! I use this hql query: select charge.id from Charge as charge where charge.patient.classification is not null and (select sum(entries.patientBalance) from charge.patient.entries as entries where entries.patientBalance is not null)=0 The "Charge" class is a sub-class of many classes (Entry, BaseAmount, Amount and Debit). It has a field named "patient", this is an another persistable class. The "patient" class has a field ... |
34. Hibernate BUG?! forum.hibernate.orgWell the reason why I question this is because when I tried to do this with a subclass it does throw a Duplicate Mapping Exception. Let me explain a bit further: Scenario A: |
35. JPA + Hibernate - Bug with Where "In" ? forum.hibernate.orgThis code works by taking languages, which might be "English", "Spanish" and "Other" and puts the code in line: Query q = em.createNativeQuery("select id from DT_Collection_Language d where d.language in ('Enlgish', 'Spanish', 'Other') "); This code throws Exception at Runtime: java.lang.ClassCastException: [Ljava.lang.String; at org.hibernate.type.StringType.toString(StringType.java:44) ... ... @NamedQuery(name="findtest", query="select a.id from DowntimeLanguage a where a.language in (?1)") ... String[] languagesA = {"English", ... |
36. NamedQuery bug using BETWEEN? forum.hibernate.orgI have a simple NamedQuery using JPA and Hibernate. Looks like this: @NamedQuery(name = "findExample", query = "select a from DowntimeCollection a where a.createdTimestamp BETWEEN ?2 and ?3") I get an error when I enter the BETWEEN. I can use <= and >=, which is equivalent, but it looks like a bug when using BETWEEN. Anyone else have this issue? |
37. Possible bug in org.hibernate.engine.ForeignKeys.java forum.hibernate.orgWhen Hibernate determines whether it should null out references to associated entities, it checks if the entity is wrapped in a proxy. Code: if ( object instanceof HibernateProxy ) { // if its an uninitialized proxy it can't be transient LazyInitializer li = ( (HibernateProxy) object ).getHibernateLazyInitializer(); if ( li.getImplementation(session) == null ... |
38. Possible Bug forum.hibernate.orgI performed an HQL query and I think it may reveal a bug - feedback is welcome. I am in an environment which uses Oracle9Dialect and an Oracle 10.2 database. The tables are (sanitized): ORDERS ==== ID (primary key) PRODUCTS ===== ID (primary key) ORDERID (foreign key) The classes contain: Order ================= +ID +products (one-to-many) Product ================= +ID +order (many-to-one) The ... |
39. Attention - HHH-2763 Critical bug forum.hibernate.org |
40. Bug in MultipleHiLoPerTableGenerator class forum.hibernate.orgHibernate version: 3.2.6 Hi guys! I want to ask is it a feature :) of hibernate or it is a bug. And if it is a bug is it already fixed in new version or not. Class MultipleHiLoPerTableGenerator. Method: generate Here we have next code: Code: if (lo>maxLo) { int hival = ( (Integer) doWorkInNewTransaction(session) ).intValue(); ... |
41. Is this a Bug in Hibernate? forum.hibernate.orgI have a simple class mapped to a sinple table, in that class I have an int value which is mapped to an int value in the MySQL database - Code: private int next; public int getNext() { return next; } public void setNext(int next) { this.next = next; } I want ... |
42. Hibernate 3.3.0.CR1 / JBC2.1.1.CR2 evenQueueSize Bug? forum.hibernate.orgHibernate version:3.3.0.CR1 JBossCache version:2.1.1.CR2 Under heavy load, several of the objects in my application reach the capacity threshold for JBossCache which generates the following warning and locks up the calls to select them. eviction node event queue size is at 98% threshold value of capacity: 200000 Region: /org/somepath/MyClass/ENTITY You will need to reduce the wakeUpIntervalSeconds parameter. I already have the wakeUpIntervalSeconds ... |
43. Possible bug in PostgresSQLDialect? forum.hibernate.orgI would not say it is a bug. I think Hibernate developers has deliberately chosen to register custom SQL functions with the same name as are used in the underlying database. If you look around you will find plenty of examples. Here is one more: In MySQL the log() function returns the natural logarithm of the argument, but in PostgreSQL it ... |
44. Comments/Workarounds on the bug HHH-1829 forum.hibernate.org |
45. Possible DiscriminatorValue bug forum.hibernate.orgNot sure if there is a way that I'm missing here If the column that I am using is a char(n), but my values could be from 1-n, then my discriminator value MUST have the same number of characters. Example: column here is a char(7) INPUT OUTPUT PENDING In defining my DiscriminatorValue( "INPUT" ) creates a failure of .... Object with ... |
46. Bug in hibernate core or what? forum.hibernate.orgLook the MainTest Class, note the delete. I Use query, no session.delete(...) and this form i have problens Its bug in core hibernate or what? How can i use Query to delete without have problems as this? Need help with Hibernate? Read this first: http://www.hibernate.org/ForumMailingli ... AskForHelp Hibernate version: Hibernate core 3.3.1GA Mapping documents: |
50. Bug in EntityMetamodel forum.hibernate.orgif ( persistentClass.hasPojoRepresentation() ) { entityNameByInheritenceClassNameMap.put( persistentClass.getMappedClass(), persistentClass.getEntityName() ); iter = persistentClass.getSubclassIterator(); while ( iter.hasNext() ) { final PersistentClass pc = ( PersistentClass ) iter.next(); entityNameByInheritenceClassNameMap.put( pc.getMappedClass(), pc.getEntityName() ); } } |
51. Bugs in tutorial forum.hibernate.orgNewbie Joined: Wed Jul 22, 2009 5:47 am Posts: 2 Hi, i think i found some bugs in tutorial. I want to learn Hibernate but i'm stuck at very beginning of tutorial :[ 1st bug: http://docs.jboss.org/hibernate/stable/core/reference/en/html/tutorial.html#tutorial-associations-unidirset Database schema in that point is completely destroyed. Second thing. I have pasted every file as is said in tutorial and when in http://docs.jboss.org/hibernate/stable/core/reference/en/html/tutorial.html#tutorial-firstapp-mvn it ... |
52. Possible bug in LocaleType? forum.hibernate.org |