

JBoss and Oracle 12c : datasource bound successfully but cannot connect.Jboss inbuilt hibernate jar not seen in eclipse, Why ? Q about Libraries best practice for deployment.Configure JDBC oracle specific property v$session.program using Jboss and JPA (hibernate).which version of Spring + Hibernate + JBoss work.JBoss AS 7 migration - deployment failure issue.JBoss EAP 7.1 Deployment Failed : WFLYCTL0013: Operation ("deploy") failed.
#Hibernate annotations 3.3.1.ga how to#

#Hibernate annotations 3.3.1.ga code#
Throw new HibernateException("unknown Oracle major version ") Īctually this is the code in DialectFactory so when your database version changes above 11 you will have this problem i have added extra switch case its resolved my problem Return (DialectFactory.class$org$hibernate$dialect$Oracle10gDialect != null ? DialectFactory.class$org$hibernate$dialect$Oracle10gDialect : (DialectFactory.class$org$hibernate$dialect$Oracle10gDialect = DialectFactory._mthclass$("10gDialect"))).getName() Return (DialectFactory.class$org$hibernate$dialect$Oracle9iDialect != null ? DialectFactory.class$org$hibernate$dialect$Oracle9iDialect : (DialectFactory.class$org$hibernate$dialect$Oracle9iDialect = DialectFactory._mthclass$("9iDialect"))).getName() Return (DialectFactory.class$org$hibernate$dialect$Oracle8iDialect != null ? DialectFactory.class$org$hibernate$dialect$Oracle8iDialect : (DialectFactory.class$org$hibernate$dialect$Oracle8iDialect = DialectFactory._mthclass$("8iDialect"))).getName() Public String getDialectClass(int majorVersion) throws Throwable Maybe you should tell the JBoss somewhere that it should use your dialect as well. I would also consider to override the default dialect as you've already found by yourself in 'that' article :) I don't see why it shouldn't work, but again you'd better debug it. Of course its also possible to build your custom version of Hibernate but I don't think it should be considered as a preferable solution. Or at least debug the application server to figure out what does parameters are passed to the method and so. So I think the best would be upgrading the hibernate to the last version (just check that in the last version the mapper is updated). I don't know what version of hibernate do you have, but it looks like Oracle 11 is simply not supported, at least by the source I've found (Take a look here) Take a look on that ''MAPPERS'' hash map and you'll see. The whole issue is that you don't have a regitered mapping to Oracle 11Īs a first bet I would take a look on this particular class.


(including version) to the actual dialect. The Hibernate's DialectFactory should maintain some kind mapping of data base engine type I've never faced this kind of exception but to me it sounds very clear:
