Search:

Type: Posts; User: kewlkeny; Keyword(s):

Search: Search took 0.04 seconds.

  1. Spring @Transactional, @TransactionConfiguration

    Can anyone please elaborate and tell me how this

    @TransactionConfiguration and

    @Transactional works -

    and is it necessary to mention

    <tx:annotation-driven...
  2. @matthias.hubber - It dint work bro - but if i...

    @matthias.hubber - It dint work bro -
    but if i remove drop
    in this

    <property name="jpaProperties">
    <props>
    <prop key="hibernate.hbm2ddl.auto">create-drop</prop>
    </props>...
  3. Hey @abhijith_p tqq buddy, i gotacha i did small...

    Hey @abhijith_p tqq buddy, i gotacha i did small silly mistake in place of dialect, now my junit test is compiling and working but unfortunately its not creating the table in mysql :(
  4. @abhijith_p yep i gotcha :) But u see my...

    @abhijith_p yep i gotcha :) But u see my configuratin file, i dont see anything wrong, if can find juzz tell me
    here is my contex.xml



    <?xml version="1.0" encoding="UTF-8"?>
    <beans...
  5. @abhijith_p i am afraid, i dint get u, wht...

    @abhijith_p i am afraid, i dint get u, wht exactly ur asking me t recheck, can u pls elaborate bit more
  6. javax.persistence.PersistenceException: org.hibernate.exception.SQLGrammarException

    i have a MessageEntity class


    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private long id;

    private String text;

    public MessageEntity() {
  7. Hey i am sorry i fund the mistake, i did nt add...

    Hey i am sorry i fund the mistake, i did nt add the

    derby client dependency in the pom.xml


    <dependency>
    <groupId>org.apache.derby</groupId>
    <artifactId>derbyclient</artifactId>...
  8. My sincere apologies for post such a crap code ...

    My sincere apologies for post such a crap code

    My JpaDao class is


    public final class JpaMessageDao extends JpaDaoSupport {

    public long count() {
    return (Long)...
  9. java.lang.IllegalStateException: Failed to load ApplicationContext

    Hello, i have a maven spring project in which i am using derby database, i have message entity class, with JpaMessageDao extending JpaDaoSupport

    public final class JpaMessageDao extends...
  10. Replies
    0
    Views
    343

    How to do Junit test for Spring

    Hello, i 've a very small spring project which is working with some .properties information

    .properties file have information of file paths by using those file path i doing some operations with...
  11. Replies
    9
    Views
    6,139

    Thanks mate its working :)

    Thanks mate its working :)
  12. Replies
    9
    Views
    6,139

    @dkarr I tried that one too mate - as the...

    @dkarr

    I tried that one too mate - as the code would be
    <bean id="placeholderConfig" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
    <property...
  13. Replies
    9
    Views
    6,139

    @Enrico Pizzi Hey thanks mate - u mean i just...

    @Enrico Pizzi
    Hey thanks mate - u mean i just have to add the above placed code with path of the .properties file, correct if i am wrong

    my code would be something like

    <bean...
  14. Replies
    9
    Views
    6,139

    I appreciate @dkarr do u mean have to create two...

    I appreciate @dkarr
    do u mean have to create two .property files with same info,that is a great idea, but i have one more doubt, the one "/home/dev06/..." is available for me to customize right....
  15. Replies
    9
    Views
    6,139

    How to give class path for .properties file

    Hello evryone,i am newbie i have a small query
    i have added .properties file, and in my configuration.xml when i enter code
    <bean id="placeholderConfig"...
  16. Hey btw its resolved, with this code ...

    Hey btw its resolved,

    with this code

    <?xml version="1.0" encoding="UTF-8"?>
    <beans xmlns="http://www.springframework.org/schema/beans"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"...
  17. org.springframework.beans.factory.xml.XmlBeanDefin itionStoreException

    Hello, i am newbie to this forum, in my config.xml file i added the below code, adn i am getting an exception
    can anyone please help me what exactly is that ?

    <?xml version="1.0"...
Results 1 to 17 of 17