Spring and Hibernate.

Hi
Can someone please let me know why there is a need to integrate Hibernate with Spring. Sping provides JDBC templates to work with persistance storage so why use Hibernate.
I know Hibernate is O/R Mapping framework. I need some concrete differences with what i can do with Hibernate and not with Spring.

...and the same can be done using JDO (in particular
Kodo JDO), or Apache's OJB (ObJectrelational Bridge),
integrated via Spring's ORM framework support.
This is hardly a Hibernate-specific added value.Of course, but that's how the OP phrased the original question. Perhaps a better question would have read "JDBC versus other persistence strategies in Spring".
If there are indeed some present issues with the
application that could be addressed with
lazy-loading, then the OP could look into
different solutions ( of which Hibernate is only one
) to be integrated with the existing Spring
framework,.The OP appears to be asking whether using straight JDBC with Spring is good enough, and what were reasons s/he hadn't considered for going with another persistence scheme.
If there are no issues to address, then there is no
need for such a thing.You're no better at reading their mind than I am. I just tried to answer the question as written.
%

Similar Messages

  • Transfer Object in JSF, Spring, and Hibernate

    The application on which I am working deploys the JavaServer Faces, Spring and Hibernate frameworks.
    We are going to use the "transfer object" to move data between J2EE tiers from the front end to the back end and vice versa. In addition, data "types" may need to be converted --
    At the front end, the "type" of the data that are entered by users may not match that in the database table. For example, checkboxes may be marked or left blank by users. The "type" of the checkboxes is "boolean" in the JSF backing bean. However, we have either "Y" or "N" for the corresponding field in the database table.
    The JSF backing bean holds data as well as controller functionality. Of course, the transfer object holds data only.
    With regard to class properties, Is the transfer object an exact copy of the JSF backing bean? And at which tier the data are converted to match their correspoding "types" in the database tables?
    We also have the "data objects" which are exact representation of database tables.
    Thanks for your advices.

    Small example: you can decide in the business layer
    whether to convert it to boolean or Boolean (which
    has a 3rd state: null).But it all goes back to your data model. If your data model supports null for that property, then of course boolean is a poor choice. If that case one could use Boolean. None of this has anything to do with re-usability, which was your objection.
    I think the re-usability question goes back to the data model as well. Suppose your data model says this property is boolean valued. However if your database does not support booleans natively, then you need to map the value for storage in the database. But that is the data persistence layers problem.
    OTOH, suppose your data model says that this property may be 'Y' or 'N'. Then the Java class represent the business object should not have a boolean property, we should make it match the data model.
    However, I think that most cases where people are storing 'Y' or 'N' in a field in the database fall into the first case, where the data model is a boolean and they are working around limitations in the database. There is no reason in that case to perpetuate the same limitations in the Java code.

  • JSF, Springs and Hibernate

    Hi,
    I am a newbie. I would like to know the books i need to refer to, inorder to learn JSF, springs and hibernate.
    Thank you,

    The_Matrix wrote:
    CeciNEstPasUnProgrammeur wrote:
    How about learning Java first?
    At least for JSPs, there are free online tutorials from Sun. There are likely to be similar resources for Spring and Hibernate.I Know Java. I am a Sun Certified Java Programmer. I also know know J2EE. I am trying to learn the new technologies. Therefore i mentioned that i am a newbie, it was pertianing to JSF, Springs and Hibernate. Not to Java.In that case:
    Core Java Server Faces (2nd edition)
    Java Persistence with Hibernate
    Pro Spring 2.5
    Expert Spring MVC and Web Flow
    Together with the product documentation those should make a decent bit of reading.

  • Training material on JSF, Spring and Hibernate

    Hi All,
    I'm new to JSF. I need some good training material on JSF, Spring and Hibernate.
    I've tried lot many tutorials online, but cannot find a real good one.
    Also I need to learn how we can integrate together JSF, Spring and Hibernate to build web applications.
    Thanks
    Payal

    As far as documentation vs examples, that depends on the individual.
    The Spring documentation is quite large, but Spring itself is very modular. So you can pretty much get away with reading the pieces you need when you need them and ignoring the rest.
    Start with inversion of control until you feel you understand the concept. At its core, the idea is simple. Suppose you have a business class, FooService, and it needs to utilize BarService to implement its business logic. The non-Spring way would be to have the FooService class be responsible for getting an instance of BarService. The Spring way is for FooService to have a setter to be given an instance of BarService:
    public class FooServiceImpl implements FooService
        private BarService barService;
        public void setBarService(BarService barService) { this.barService = barService; }
    }Then the Spring container is used to "wire together" the instances:
    <beans>
        <bean id="barService" class="BarServiceImpl" />
        <bean id="fooService" class="FooServiceImpl">
            <property name="barService" ref="barService" />
        </bean>
    </beans>Note the advantage when using the classes in different contexts, e.g. unit testing vs production.
    If I were you, I would take the sample app you have already done with JSF and try to integrate Spring into it. Move all the business logic into beans in the Spring container while keeping the view logic in the JSF layer.

  • WebDynpro Importing Model as Spring and Hibernate

    hi guys,
    Can any one tell me clearly about how to import model(Spring and HIbernate) in WebDynpro for java
    Thanks & Regards
    RK

    Hi Ramakrishna,
    Spring and Hibernate is used for Database access instead of EJB.
    To import spring and Hibernate model Use Either <b> Import Adaptive Web Service Model </b> or <b> Import Java Bean Model </b> by right Click on Models.
    WebDynpro with Hybernate
    https://www.sdn.sap.com/irj/sdn/docs?rid=/webcontent/uuid/e081a4b6-0801-0010-7fa4-c3c7a0454815 [original link is broken]
    Regards,
    Mithu

  • How to use multiple datasource in spring and hibernate

    HI all,
    I want to use multiple data source for my web application.Please suggest me the mapping of xml files viz.
    applicationContext-resource.xml,applicationContext-hibernate.xml and applicationContext-service.xml
    SHoud i create separate session factory and transaction manager for both the datasource?
    Here is my applicationContext-resource.xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN"
        "http://www.springframework.org/dtd/spring-beans.dtd">
    <beans>
    <bean id="dataSource" 
              class="org.apache.commons.dbcp.BasicDataSource">
              <property name="url" value="jdbc:oracle:thin:@192.168.x.x:1521:orcl"/>
              <property name="driverClassName" value="oracle.jdbc.driver.OracleDriver"/>
              <property name="username" value="dw_lt_staging"/>
              <property name="password" value="dw_lt_staging"/>
    </bean>      
    <bean id="dataSourceAnalytics" 
              class="org.apache.commons.dbcp.BasicDataSource">
              <property name="url" value="jdbc:oracle:thin:@192.168.y.y:1521:orcl"/>
              <property name="driverClassName" value="oracle.jdbc.driver.OracleDriver"/>
              <property name="username" value="dw_analytics"/>
              <property name="password" value="dw_analytics"/>
    </bean>            
    </beans>Thanks in advance.

    HI all,
    I want to use multiple data source for my web application.Please suggest me the mapping of xml files viz.
    applicationContext-resource.xml,applicationContext-hibernate.xml and applicationContext-service.xml
    SHoud i create separate session factory and transaction manager for both the datasource?
    Here is my applicationContext-resource.xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN"
        "http://www.springframework.org/dtd/spring-beans.dtd">
    <beans>
    <bean id="dataSource" 
              class="org.apache.commons.dbcp.BasicDataSource">
              <property name="url" value="jdbc:oracle:thin:@192.168.x.x:1521:orcl"/>
              <property name="driverClassName" value="oracle.jdbc.driver.OracleDriver"/>
              <property name="username" value="dw_lt_staging"/>
              <property name="password" value="dw_lt_staging"/>
    </bean>      
    <bean id="dataSourceAnalytics" 
              class="org.apache.commons.dbcp.BasicDataSource">
              <property name="url" value="jdbc:oracle:thin:@192.168.y.y:1521:orcl"/>
              <property name="driverClassName" value="oracle.jdbc.driver.OracleDriver"/>
              <property name="username" value="dw_analytics"/>
              <property name="password" value="dw_analytics"/>
    </bean>            
    </beans>Thanks in advance.

  • Realtime information and question of spring and hibernate?

    please send questions and answers.

    Hi Mike,
    I don't think, you will be able to retrieve the DPAYH\DPAYP data once it gets deleted SAP using the SAP program RFKPYD00.
    On a pro active basis, you can go for either of the following options-
    Option-1
    DPAYH/DPAYP contains payment data as well as exception data for the various payment runs.However, the main concern is the payment data, as it is the data that is sent to the bank.
    These payment data can be easily segregated from the exception data based on the field (DPAYH-GRPNO).
    So you  can create two custom  tables like DPAYH\DPAYP in IS-U and store only the payment data along with the relevant fields that you want to store for future references.
    You can update these custom tables during the processing of the payment medium job (creation of the file that is sent to bank),
    Option-2
    If your SAP IS-U system is connected to BW\BI, then you can also retrieve the  payment relevant data from the DPAYH\DPAYP tables in to BW\BI through a BW\BI extractor and then design a report which will give you the relevant details.
    Thanks,
    Amlan

  • Must I use spring Framework with JSF2 and Hibernate?

    Hi all,
    I'm starting to develop a web portal and I would use JSF2 and Hibernate.
    Now I don't know JSF2 so I searched some tutorial.
    I found a tutorial on JSF2 that seems very complete but in this tutorial I found a section where the author use Hibernate for the "model section", JSF2 for the "view section" and Spring for the "controller section"!
    Now I have a doubt, can I develop a web portal without Spring MVC or I can't develop any controller's component with JSF2?
    Thank you for your replies!

    For Ram, do you mean that JSF2 isn't a MVC framework with your reply?
    For Kayaman, the author did some examples how implements some frameworks with JSF2 and he do 3 examples:
    1) JSF2 and JDBC;
    2) JSF2 and Spring;
    3) JSF2, Spring and Hibernate!
    However, after this thread, I found a forum in linked to the tutorial and I asked why they use JSF2 and Spring together! Now Im waiting the answer!
    For Gimbla2: well, I'm novice on JSF2 but I develop for some years with ADF and JBO framework!
    You are right to tell me "On the official sites you can find all informations" but I would know some things from some one that used both frameworks!
    Thanks again to all.
    Edited by: Filippo Tenaglia on 20-giu-2011 14.16

  • How is the processing speed while using struts,spring,and JSF framework

    Hi friends,
    As per earlier technology like Servlets,I mean that there would have much more performance speed than other new technologies like JSP,struts,spring and hibernate framework.Because,in new technologies,flow of processings implicitly via MVC2 basis will probably much more time than older one.
    Total goal is only for attaining MVC2 or any other purpose?
    Please clarify my doubt?
    With Regards,
    Stalin.G

    Home grown applications have a problem in that as more and more features are added, it becomes increasingly impossible to maintain the application and enhance it. This is especially true when the original programmers leave the company. A framework provides a standard design approach that other programmers can hopefully more easily pick up.
    A lot of work has gone into creating these frameworks and they have been used in web sites that have millions of hits from users per day. They have high preformance. Of course, programmers can still write bad code in them that slows down the system. I believe anyone using these frameworks should study them well before using them (such as reading books on them).

  • Regarding Spring an hibernate as WebService

    Dear All
    I need to develop a Webservice with Spring and Hibernate and need to import 
    as Java Bean Model in NWDS!
    Does any body have small application Source code to develop spring and Hibernate as Webservice?
    or let me know how to proceed ?
    Thanks
    Shravan

    Hi Shravan,
    first of all I am wondering about the usage scenario. Why do you want to develop with Hibernate and Spring and then convert it to EJB? How about directly starting with EJBs. Developing Web Services based on EJB is pretty straightforward in NWDS. Even simpler if you are using Enterprise Service Builder to generate the wsdls.
    If you want to stick with your choice I would recommend you to have a look on the official spring website. There are a lot of tutorials and samples for all components of spring, including web services: [http://static.springsource.org/spring-ws/sites/1.5/reference/html/tutorial.html|http://static.springsource.org/spring-ws/sites/1.5/reference/html/tutorial.html].
    Kind Regards,
    Carl Heckmann

  • Integrate Crystal Reports with Spring MVC and Hibernate

    Hi all,
    having successfully used the JRC version 11.8.4.1094 in a Java environment with:
    1)JBoss 4.2.3,
    2)Oracle 11,
    3)EJB 2,
    4)Crystal Reports 2008,
    I would like to integrate Crystal Reports into my existing spring MVC and hibernate web app using:
    1)CRJ version 12.2.209,
    2)JBoss 5.1,
    3)Oracle 11,
    4)EJB 3,
    5)Crystal Reports 2008,
    reusing code integration. I used ReportExportControl and I produced the PDF directly.
    The error occurs when returning from EJB, into Delegate, and is the following:
    09:36:23,046 WARN  [InterceptorsFactory] EJBTHREE-1246: Do not use InterceptorsFactory with a ManagedObjectAdvisor, InterceptorRegistry should be used via the bean container
    09:36:23,062 WARN  [InterceptorsFactory] EJBTHREE-1246: Do not use InterceptorsFactory with a ManagedObjectAdvisor, InterceptorRegistry should be used via the bean container
    09:38:03,062 ERROR [[dispatcher]] Servlet.service() for servlet dispatcher threw exception
    java.lang.InstantiationException: com.crystaldecisions.sdk.occa.report.exportoptions.ReportExportFormat
         at java.lang.Class.newInstance0(Class.java:340)
         at java.lang.Class.newInstance(Class.java:308)
         at org.jboss.serial.classmetamodel.ClassMetaData.newInstance(ClassMetaData.java:334)
         at org.jboss.serial.persister.RegularObjectPersister.readData(RegularObjectPersister.java:239)
         at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:412)
         at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:82)
         at org.jboss.serial.objectmetamodel.DataContainer$DataContainerInput.readObject(DataContainer.java:845)
         at org.jboss.serial.persister.RegularObjectPersister.readSlotWithFields(RegularObjectPersister.java:353)
         at org.jboss.serial.persister.RegularObjectPersister.defaultRead(RegularObjectPersister.java:273)
         at org.jboss.serial.persister.RegularObjectPersister.readData(RegularObjectPersister.java:241)
         at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:412)
         at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:82)
         at org.jboss.serial.objectmetamodel.DataContainer$DataContainerInput.readObject(DataContainer.java:845)
         at org.jboss.serial.persister.RegularObjectPersister.readSlotWithFields(RegularObjectPersister.java:353)
         at org.jboss.serial.persister.RegularObjectPersister.defaultRead(RegularObjectPersister.java:273)
         at org.jboss.serial.persister.RegularObjectPersister.readData(RegularObjectPersister.java:241)
         at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:412)
         at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:82)
         at org.jboss.serial.objectmetamodel.DataContainer$DataContainerInput.readObject(DataContainer.java:845)
         at org.jboss.serial.io.MarshalledObjectForLocalCalls.get(MarshalledObjectForLocalCalls.java:60)
         at org.jboss.ejb3.remoting.IsLocalInterceptor.invokeLocal(IsLocalInterceptor.java:101)
         at org.jboss.ejb3.remoting.IsLocalInterceptor.invoke(IsLocalInterceptor.java:72)
         at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
         at org.jboss.aspects.remoting.PojiProxy.invoke(PojiProxy.java:62)
         at $Proxy286.invoke(Unknown Source)
         at org.jboss.ejb3.proxy.impl.handler.session.SessionProxyInvocationHandlerBase.invoke(SessionProxyInvocationHandlerBase.java:207)
         at org.jboss.ejb3.proxy.impl.handler.session.SessionProxyInvocationHandlerBase.invoke(SessionProxyInvocationHandlerBase.java:164)
         at $Proxy284.getXXXX(Unknown Source)
         at xx.xxx.xxxxxx.spring.manager.report.ReportManagerImpl.getXXXX(ReportManagerImpl.java:26)
         at xxx.xxxx.springprova.WelcomeController.handleRequestInternal(WelcomeController.java:70)
         at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
         at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
         at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:790)
         at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719)
         at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:644)
         at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:549)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
         at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
         at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
         at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
         at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
         at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
         at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
         at java.lang.Thread.run(Thread.java:662)
    Have an idea, please?
    Thank you.

    You'll need to install the Crystal .NET that comes with VS 2005. You then install Crystal XI R2 over the top and not only will Crystal be integrated with the IDE, it should use the updated assemblies from R2.
    -Dell
    - A computer only does what you told it to, not what you thought you told it to!</p>

  • Spring-Webflow Authentication and Hibernate

    Does anyone have experience authenticating against Oracle using Spring 2.5, Spring-Webflow, Hibernate 3.3? Then using the authenticated credentials to create a proxy authenticated connection for hibernate?

    Does anyone have experience authenticating against Oracle using Spring 2.5, Spring-Webflow, Hibernate 3.3? Then using the authenticated credentials to create a proxy authenticated connection for hibernate?

  • JWS, Web Services and Hibernate...

    This is design question rather than an implementation question. I am building a web start application that will obtain it's data from web service calls. The web service calls will access the database via hibernate. I'm wondering if other people have done this and how they have solved the issue of passing the hibernate objects across the wire as XML. I wrote a prototype that makes the web service call which accesses the database via hibernate and I created DTO's and used the dozer library to populate the DTO's and pass them across the wire to my JWS client. This seems to work, but is fairly burdensome, in particular maintaining the DTO's and the dozer mapping is tedious as well as the fact that if I don't clip my hibernate object graph dozer will cause hibernate to dereference every relationship in the object graph and pass them all across the wire. Does anyone have a good solution for this problem? Has anyone successfully detached the hibernate objects themselves and passed them directly across the wire to the JWS client? Is there an accepted way of passing the data across the wire? Does anyone know of any white papers on such a subject? Thanks for any information you can provide.

    Yes, as part of the jar files that make up the client, I have spring.jar, hibernate.jar, cglib.jar and asm.jar. The spring jar file contains the classes you need in order to call the methods on the server using HTTPInvoker. The hibernate, cglib and asm jar files are needed so that you don't get class not found exceptions when your hibernate enhanced classes are transmitted to the client. Obviously, you also need the same bean classes that you persist on the server to be on the client as well.
    The client can then create new beans, modify them, and modify the "hibernate" collections so that when you send them to the server, hibernate will know their dirty state accordingly. All you need to do is get a session in your server method and hibernate will take care of the rest. Here is a snippet of a typical server method in my code that will create or update a Document object coming from the client. It's as simple as that. To return collections is as simple as returning the result of a criteria or hql query.
    public Document saveDocument(Document document) throws RepositoryException
        Session session = getSession();
        try
            Date now = new Date();
            if (document.getId() == 0)
                document.setCreated(now);
            document.setLastModified(now);
            session.saveOrUpdate(document);
            return document;
        catch (HibernateException ex)
            throw convertHibernateAccessException(ex);
    }You must take care about objects that have references to other objects that are not loaded. If you send them to the client and the client tries to access them, you will get an exception so you must either be aware of this or preload your objects with the related objects that you think you will need on the client. On the server, you don't need to worry about that because hibernate loads them as required (in the same session).
    I suggest you read the spring docs on the HttpInvoker. There's a whole chapter on it and it's very easy to use. Just create an interface and an implementation. The client must include this interface so that it knows what methods it can call.
    As I mentioned earlier, you need only change a couple of config lines to expose your methods via RMI, SOAP etc.

  • Issues while deploying Spring 3+Hibernate 4+Weblogic 12C app

    Hi,
    We are migrating spring 2.5 to 3.1 and hibernate 3.4 to 4.1 During this migration, we got some JPA2 issues on weblogic 10.3, so we moved to weblogic 12C to get hibernate 4 working ...but getting below exception while deploying the war. Please guide.
    java.lang.NoSuchMethodError: org.hibernate.cfg.Configuration.addAnnotatedClass(Ljava/lang/Class;)Lorg/hibernate/cfg/Configuration;
    My POM file is,
    <dependencies>
              <dependency>
                   <groupId>antlr</groupId>
                   <artifactId>antlr</artifactId>
                   <version>2.7.7</version>
              </dependency>
              <dependency>
              <groupId>xml-apis</groupId>
              <artifactId>xml-apis</artifactId>
              <version>1.0.b2</version>
              <scope>provided</scope>
              </dependency>
              <dependency>
              <groupId>stax</groupId>
              <artifactId>stax-api</artifactId>
              <version>1.0.1</version>
              <scope>provided</scope>
              </dependency>
              <dependency>
                   <groupId>javax.persistence</groupId>
                   <artifactId>persistence-api</artifactId>
                   <version>1.0</version>
              </dependency>
              <dependency>
                   <groupId>org.springframework</groupId>
                   <artifactId>spring-aop</artifactId>
              </dependency>
              <!--<dependency>
                   <groupId>org.springframework</groupId>
                   <artifactId>spring-aspects</artifactId>
              </dependency> -->
              <dependency>
                   <groupId>org.springframework</groupId>
                   <artifactId>spring-beans</artifactId>
              </dependency>
              <dependency>
                   <groupId>org.springframework</groupId>
                   <artifactId>spring-context</artifactId>
              </dependency>
              <dependency>
                   <groupId>org.springframework</groupId>
                   <artifactId>spring-core</artifactId>
              </dependency>
              <dependency>
                   <groupId>org.springframework</groupId>
                   <artifactId>spring-jdbc</artifactId>
              </dependency>
              <dependency>
                   <groupId>org.springframework</groupId>
                   <artifactId>spring-orm</artifactId>
              </dependency>
              <dependency>
                   <groupId>org.springframework</groupId>
                   <artifactId>spring-tx</artifactId>
              </dependency>
              <dependency>
                   <groupId>org.springframework</groupId>
                   <artifactId>spring-jms</artifactId>
              </dependency>
              <dependency>
                   <groupId>org.springframework.webflow</groupId>
                   <artifactId>spring-faces</artifactId>
                   <version>${springWebFlow.version}</version>
              </dependency>
              <dependency>
                   <groupId>org.hibernate</groupId>
                   <artifactId>hibernate-validator</artifactId>
              </dependency>
              <dependency>
                   <groupId>javax.annotation</groupId>
                   <artifactId>jsr250-api</artifactId>
                   <version>1.0</version>
              </dependency>
              <dependency>
                   <groupId>javax.transaction</groupId>
                   <artifactId>jta</artifactId>
                   <version>1.1</version>
              </dependency>
              <dependency>
                   <groupId>javax.faces</groupId>
                   <artifactId>jsf-api</artifactId>
                   <version>${jsf.version}</version>
              </dependency>
              <dependency>
                   <groupId>commons-lang</groupId>
                   <artifactId>commons-lang</artifactId>
                   <version>2.1</version>
              </dependency>
              <dependency>
                   <groupId>org.hibernate</groupId>
                   <artifactId>hibernate-core</artifactId>
                   <version>4.1.1.Final</version>
                   <exclusions>
                        <exclusion>
                             <artifactId>antlr</artifactId>
                             <groupId>antlr</groupId>
                        </exclusion>
                   </exclusions>
              </dependency>
              <!--<dependency>
                   <groupId>org.hibernate</groupId>
                   <artifactId>hibernate-jmx</artifactId>
                   <version>3.3.2.GA</version>
              </dependency>-->
              <!--<dependency>
                   <groupId>org.hibernate</groupId>
                   <artifactId>hibernate-commons-annotations</artifactId>
                   <version>3.3.0.ga</version>
              </dependency>-->
              <dependency>
                   <groupId>log4j</groupId>
                   <artifactId>log4j</artifactId>
              </dependency>
              <dependency>
                   <groupId>weblogic</groupId>
                   <artifactId>weblogic.jms.client</artifactId>
                   <version>11</version>
              </dependency>
              <dependency>
                   <groupId>commons-beanutils</groupId>
                   <artifactId>commons-beanutils-core</artifactId>
                   <version>1.8.3</version>
              </dependency>
              <dependency>
                   <groupId>commons-dbutils</groupId>
                   <artifactId>commons-dbutils</artifactId>
                   <version>1.3</version>
              </dependency>
              <dependency>
                   <groupId>org.hibernate</groupId>
                   <artifactId>hibernate-entitymanager</artifactId>
                   <version>4.1.1.Final</version>
              </dependency>
              <dependency>
                   <groupId>org.slf4j</groupId>
                   <artifactId>slf4j-api</artifactId>
                   <version>1.5.9.RC1</version>
              </dependency>
              <dependency>
                   <groupId>org.slf4j</groupId>
                   <artifactId>slf4j-log4j12</artifactId>
                   <version>1.5.9.RC1</version>
              </dependency>
              <dependency>
                   <groupId>org.springframework</groupId>
                   <artifactId>spring-test</artifactId>
                   <scope>test</scope>
              </dependency>
              <dependency>
                   <groupId>junit</groupId>
                   <artifactId>junit</artifactId>
                   <scope>test</scope>
              </dependency>
              <dependency>
                   <groupId>oracle</groupId>
                   <artifactId>ojdbc6</artifactId>
                   <version>11.2.0.1.0</version>
              </dependency>
              <dependency>
                   <groupId>commons-jxpath</groupId>
                   <artifactId>commons-jxpath</artifactId>
                   <version>1.3</version>
              </dependency>
              <dependency>
                   <groupId>javax.mail</groupId>
                   <artifactId>mail</artifactId>
                   <version>1.4.1</version>
              </dependency>
              <dependency>
                   <groupId>com.sun.xml.bind</groupId>
                   <artifactId>jaxb-impl</artifactId>
                   <version>2.2.1.1</version>
                   <exclusions>
                        <exclusion>
                             <artifactId>stax-api</artifactId>
                             <groupId>javax.xml.stream</groupId>
                        </exclusion>
                   </exclusions>
              </dependency>
              <dependency>
                   <groupId>cglib</groupId>
                   <artifactId>cglib-nodep</artifactId>
              </dependency>
              <dependency>
                   <groupId>com.cgi.sipcip</groupId>
                   <artifactId>SipCipBuild</artifactId>
                   <version>1.0</version>
                   <scope>compile</scope>
              </dependency>
              <dependency>
                   <groupId>net.sf.ehcache</groupId>
                   <artifactId>ehcache-core</artifactId>
                   <version>2.4.2</version>
              </dependency>
              <dependency>
                   <groupId>com.googlecode.ehcache-spring-annotations</groupId>
                   <artifactId>ehcache-spring-annotations</artifactId>
                   <version>1.1.3</version>
              </dependency>
              <dependency>
                   <groupId>org.codehaus.groovy</groupId>
                   <artifactId>groovy</artifactId>
                   <exclusions>
                        <exclusion>
                             <artifactId>antlr</artifactId>
                             <groupId>antlr</groupId>
                        </exclusion>
                   </exclusions>
              </dependency>
              <dependency>
                   <groupId>org.mockito</groupId>
                   <artifactId>mockito-all</artifactId>
                   <scope>test</scope>
              </dependency>
              <dependency>
              <groupId>commons-validator</groupId>
              <artifactId>commons-validator</artifactId>
              <version>1.4.0</version>
              </dependency>
              <dependency>
              <groupId>commons-net</groupId>
              <artifactId>commons-net</artifactId>
              <version>3.0.1</version>
              </dependency>
              <!-- Lab Upgrade change for spring 3.1.1-->
              <dependency>
                   <groupId>org.aspectj</groupId>
                   <artifactId>aspectjrt</artifactId>
                   <version>1.6.6</version>
              </dependency>
              <dependency>
                   <groupId>asm</groupId>
                   <artifactId>asm</artifactId>
                   <version>1.5.3</version>
              </dependency>
         </dependencies>
    Thanks
    Shilpa

    984456 wrote:
    java.lang.NoSuchMethodError: org.hibernate.cfg.Configuration.addAnnotatedClass(Ljava/lang/Class;)Lorg/hibernate/cfg/Configuration;
    Thanks
    ShilparClear indication of class path issue, please correct the hibernate files. appropriately.
    Hope this helps.
    Regards,
    Jeets.

  • I am fed up with Spring and Apple passing me off to one another and neither will fix the problem. I am unable to receive a connection on my phone.

    I am fed up with Spring and Apple passing me off to one another and neither will fix the problem. I am unable to receive a connection on my phone.
    The internet goes out and I have to reset network setting each and every time. This is only a temporary solution which by the time I release the line with Spring or leave the apple store the issue is back. Sprint indicates that it is a know issue with the Iphone 5 and apple says it is a network issue as Sprint's network is not up to par with the Iphone and can not meet the expectations on the Iphone 5.
    I have attached a few picture, as you can see it clearly says I have 5 bars and 3g available but I have no connections what so ever.
    This issue affects all data and so I can not send or receive picture messages, use apps, or access the internet. The data goes in and out intermittently and it seems the phone chooses what I can and can't do.
    For example I can watch Youtube or Vevo videos but I can not access Facebook or Instagram.
    Is anyone else having this issue?
    I will soon loose my patience....
    I have reset my phone three time and have reset network and other setting mutltiple times.

Maybe you are looking for

  • I would like to know is there a support link or contact for the "FireFoxHello" browser app ?

    I have not been able to use it no matter what i do to troubleshoot! ; Restart Browser Restoration of settings to default operation Re-Install Update/Patch My FF Breakdown: * Adobe PDF Plug-In For Firefox and Netscape 11.0.10 * Adobe PDF Plug-In For F

  • Creation of logical database

    hi all..... i was created LDB and i created KNA1 as node and in that VBAK as child node and VBAP as child node for VBAK. in the selection option i choosed all fields , in the selection i written as selection-option: cust no for kna1-kunnr, selection-

  • Movement Type 512 has accounting document during posting

    Hi SD Experts, Kindly guide me how to setup a scenario wherein when posting a transfer using movement type 512 with reference Sales Order, there should be no accounting document. Thank you in advance, Glen

  • PC won't recognise ipod after updating iTunes

    I have just updated iTunes to the latest version for Windows, and spent some time getting it to work again - I had to reinstall Quicktime (version 7) before iTunes would open. The new version would not recognise my iPod, so I downloaded the latest iP

  • Audio cutting out periodically

    Just what the subject says. About a week ago I would unplug my external speakers from my Powerbook and the sound would not come out of the internal speakers. This could easily be fixed by plugging the headphone/speaker jack back in, and then taking i