Query Translation

Hi,
I used to use sq07 to translate my header field in a query, but for some of them in sq07 I only get the selection text field.
Do you know some other process to change the translation?
Thanks

Hi,
      check se64 transaction for translation
Regards
amole

Similar Messages

  • Query Translation in Portuguese

    Hello All,
    As per my understanding, when you login in different language(portuguese) and run the query, it should automatically translate entire content in Portuguese language right??
    But when I do so, I am still getting all the text elements and headings in EN.
    I tried using SE63 to translate the query, but it says texts not found.
    What is the exact procedure to translate the queries in different language.
    Thanks-

    That would be a great idea! I have my mobile settings to Portuguese (Portugal) and Spotify assumes Brazilian Portuguese...

  • HQL/SQL query translator error on SJSAS 8.1 EE

    I encountered an error while executing hibernate query in my app and the log message is shown below.
    [#|2006-09-20T13:27:02.956-0400|WARNING|sun-appserver-ee8.1_02|javax.enterprise.system.stream.err|_ThreadID=12;|
    CharScanner; panic: ClassNotFoundException: org.hibernate.hql.ast.HqlToken|#] I am using HIberante 3 and I do have antlr-2.7.2.jar in my classpath. And I am using org.hibernate.hql.classic.ClassicQueryTranslatorFactory class instead of
    org.hibernate.hql.ast.ASTQueryTranslatorFactory. I have also added the antlr-2.7.2.jar in classpath-prefix in domain.xml. Did anybody encounter the same problem? Please advice.
    Thanks.

    I fixed this problem by adding/changing two files: sun-web.xml and srever.policy.
    In sun-web.xml
    <sun-web-app>
    <class-loader delegate="false"/>
    </sun-web-app>  In server.policy
    grant {
       permission java.security.AllPermission;
    }; I am not if this is a good solution but it works.
    Thanks.

  • Crystal Reports and BW Query- Translation

    Hello,
    I'm trying to use Crystal reports with BW Query in the Hebrew Language.
    When i open the Crystal Reports and connect to SAP I'm putting the Hebrew language key in the logon screen. When the crystal report starts i can see the reports info objects but without the Hebrew description. I can see that in the formula fields the Language key is selected but shouldnt i get the info objects description as well?
    Thanks,
    David

    Hi David,
    when I create a new report (using the SAP toolbar) I always get the descriptions for the info objects on the field explorer according to the language I set when I logon on into the SAP system my query resides in. I tried with both english and german language and it works fine. I assume you have installed the hebrew language pack for CR and that the hebrew descriptions are maintained in your SAP system. I also assume that you are talking about creating a report here and not opening an existing one though. In this case the language at creation time defines which descriptions are displayed.
    If the above assumptions are valid, then you may face a hebrew language specific problem here. Opening a support case would probably make sense.
    Regards,
    Stratos

  • Query Translation with the Scratch Editor

    Hallo,
    it seems the scratch editor has some issues with some MS Access queries.
    Convertion from Table Creation Queries work well.
    Trying to translate Update Queries or Insert Queries often fail.
    For example look at this one:
    UPDATE tbleC_Check_Reporting
    INNER JOIN KORDOBA
    ON tbleC_Check_Reporting.[A Kontonummer KORDOBA] = KORDOBA.BS_KTO_NR
    SET tbleC_Check_Reporting.Umsatz = KORDOBA.BSE_DATUM_JJJJMMTT;
    Translating it i get the error:
    Unknown Object: unexpected AST node:
    EXEC_PARAM_LIST: Line -1 Column -1
    What can be the problem ?
    Thanks,
    Jochen

    Hi Jochen,
    Thanks for the feedback.
    I have logged a bug
    6281243: ACCESS UPDATE / INSERT JOINS NOT RECOGNISED
    to track this issue.
    Regards,
    Dermot.
    Message was edited by:
    dooneill

  • ORA-29902 Error when executing context query

    We sometimes get the following error when executing a search based on keywords entered by a user:
    <BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Error generating context stmt ORA-29902: error in executing ODCIIndexStart() routine ORA-20000: interMedia Text error: DRG-50901: text query <HR></BLOCKQUOTE>
    A demonstration of the error can be seen by going to the main
    http://technet.oracle.com technet page and then performing a site search. Type in any of the following search phrases:
    Oracle and not Microsoft
    not Microsoft
    and database
    In my brief experimentation, the presence of any of
    not, and, or
    at the beginning of the keywords, or next to each other 'and not' within the keywords set causes the above oracle error.
    OK, I could train the users not to do this, but with the potential for every net user on the planet using my site, it might take me some time to speak to all of them.
    So how do I stop Intermedia from throwing up the error? I have written a quick parser to try to strip out offending entries, but that is not, imho, a good solution, as I do not know all the rules that will break it.
    tia

    You need to write a text query parser. Check the Query Translator code samples from http://technet.oracle.com/sample_code/products/text/content.html

  • Report generated by ABAP query

    Hello all,
    I have a report name which was generated from ABAP query ( something like AQ10MT=============RO-BONDECONSUM),
    Is there a way to find the ABAP query from which the report was generated?
    Thank you and a nice day,
    Bogdan

    Hi,
    This is a part of the code of FM 'RSAQ_REPORT_NAME'.
    REP        = 'AQ'.                   " fester Anfang
    REP+4(12)  = USERGROUP.              " Benutzergruppe
    REP+16(14) = QUERY.                  " Query
    TRANSLATE REP USING ' ='.
    I hope this could be a little helpful for you.
    Svetlin

  • Org.hibernate.PropertyNotFoundException: Could not find a getter for id in

    [skumar@aithdell3 events]$ java EventManager
    May 15, 2008 8:39:41 PM org.hibernate.cfg.Environment <clinit>
    INFO: Hibernate 3.2.3
    May 15, 2008 8:39:41 PM org.hibernate.cfg.Environment <clinit>
    INFO: hibernate.properties not found
    May 15, 2008 8:39:41 PM org.hibernate.cfg.Environment buildBytecodeProvider
    INFO: Bytecode provider name : cglib
    May 15, 2008 8:39:41 PM org.hibernate.cfg.Environment <clinit>
    INFO: using JDK 1.4 java.sql.Timestamp handling
    May 15, 2008 8:39:42 PM org.hibernate.cfg.Configuration configure
    INFO: configuring from resource: /hibernate.cfg.xml
    May 15, 2008 8:39:42 PM org.hibernate.cfg.Configuration getConfigurationInputStream
    INFO: Configuration resource: /hibernate.cfg.xml
    May 15, 2008 8:39:42 PM org.hibernate.cfg.Configuration addResource
    INFO: Reading mappings from resource : Event.hbm.xml
    May 15, 2008 8:39:43 PM org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues
    INFO: Mapping class: Event -> EVENTS
    May 15, 2008 8:39:43 PM org.hibernate.cfg.Configuration doConfigure
    INFO: Configured SessionFactory: null
    May 15, 2008 8:39:43 PM org.hibernate.connection.DriverManagerConnectionProvider configure
    INFO: Using Hibernate built-in connection pool (not for production use!)
    May 15, 2008 8:39:43 PM org.hibernate.connection.DriverManagerConnectionProvider configure
    INFO: Hibernate connection pool size: 1
    May 15, 2008 8:39:43 PM org.hibernate.connection.DriverManagerConnectionProvider configure
    INFO: autocommit mode: false
    May 15, 2008 8:39:43 PM org.hibernate.connection.DriverManagerConnectionProvider configure
    INFO: using driver: org.hsqldb.jdbcDriver at URL: jdbc:hsqldb:sql://localhost
    May 15, 2008 8:39:43 PM org.hibernate.connection.DriverManagerConnectionProvider configure
    INFO: connection properties: {user=sa, password=****}
    May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
    INFO: RDBMS: HSQL Database Engine, version: 1.8.0
    May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
    INFO: JDBC driver: HSQL Database Engine Driver, version: 1.8.0
    May 15, 2008 8:39:44 PM org.hibernate.dialect.Dialect <init>
    INFO: Using dialect: org.hibernate.dialect.HSQLDialect
    May 15, 2008 8:39:44 PM org.hibernate.transaction.TransactionFactoryFactory buildTransactionFactory
    INFO: Using default transaction strategy (direct JDBC transactions)
    May 15, 2008 8:39:44 PM org.hibernate.transaction.TransactionManagerLookupFactory getTransactionManagerLookup
    INFO: No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended)
    May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
    INFO: Automatic flush during beforeCompletion(): disabled
    May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
    INFO: Automatic session close at end of transaction: disabled
    May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
    INFO: JDBC batch size: 15
    May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
    INFO: JDBC batch updates for versioned data: disabled
    May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
    INFO: Scrollable result sets: enabled
    May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
    INFO: JDBC3 getGeneratedKeys(): disabled
    May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
    INFO: Connection release mode: auto
    May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
    INFO: Default batch fetch size: 1
    May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
    INFO: Generate SQL with comments: disabled
    May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
    INFO: Order SQL updates by primary key: disabled
    May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory createQueryTranslatorFactory
    INFO: Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
    May 15, 2008 8:39:44 PM org.hibernate.hql.ast.ASTQueryTranslatorFactory <init>
    INFO: Using ASTQueryTranslatorFactory
    May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
    INFO: Query language substitutions: {}
    May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
    INFO: JPA-QL strict compliance: disabled
    May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
    INFO: Second-level cache: enabled
    May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
    INFO: Query cache: disabled
    May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory createCacheProvider
    INFO: Cache provider: org.hibernate.cache.NoCacheProvider
    May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
    INFO: Optimize cache for minimal puts: disabled
    May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
    INFO: Structured second-level cache entries: disabled
    May 15, 2008 8:39:45 PM org.hibernate.cfg.SettingsFactory buildSettings
    INFO: Echoing all SQL to stdout
    May 15, 2008 8:39:45 PM org.hibernate.cfg.SettingsFactory buildSettings
    INFO: Statistics: disabled
    May 15, 2008 8:39:45 PM org.hibernate.cfg.SettingsFactory buildSettings
    INFO: Deleted entity synthetic identifier rollback: disabled
    May 15, 2008 8:39:45 PM org.hibernate.cfg.SettingsFactory buildSettings
    INFO: Default entity-mode: pojo
    May 15, 2008 8:39:45 PM org.hibernate.cfg.SettingsFactory buildSettings
    INFO: Named query checking : enabled
    May 15, 2008 8:39:45 PM org.hibernate.impl.SessionFactoryImpl <init>
    INFO: building session factory
    Intial session factory creation failed org.hibernate.PropertyNotFoundException: Could not find a getter for id in class Event
    Exception in thread "main" java.lang.ExceptionInInitializerError
    at HibernateUtil.<clinit>(HibernateUtil.java:18)
    at EventManager.main(EventManager.java:11)
    Caused by: org.hibernate.PropertyNotFoundException: Could not find a getter for id in class Event
    at org.hibernate.property.BasicPropertyAccessor.createGetter(BasicPropertyAccessor.java:282)
    at org.hibernate.property.BasicPropertyAccessor.getGetter(BasicPropertyAccessor.java:275)
    at org.hibernate.tuple.PropertyFactory.getGetter(PropertyFactory.java:168)
    at org.hibernate.tuple.PropertyFactory.buildIdentifierProperty(PropertyFactory.java:44)
    at org.hibernate.tuple.entity.EntityMetamodel.<init>(EntityMetamodel.java:123)
    at org.hibernate.persister.entity.AbstractEntityPersister.<init>(AbstractEntityPersister.java:434)
    at org.hibernate.persister.entity.SingleTableEntityPersister.<init>(SingleTableEntityPersister.java:109)
    at org.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:55)
    at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:226)
    at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1294)
    at HibernateUtil.<clinit>(HibernateUtil.java:14)
    How can i fix this exception
    Please help me.
    Thanks in advance

    [skumar@aithdell3 events]$ java EventManager
    May 15, 2008 8:39:41 PM org.hibernate.cfg.Environment <clinit>
    INFO: Hibernate 3.2.3
    May 15, 2008 8:39:41 PM org.hibernate.cfg.Environment <clinit>
    INFO: hibernate.properties not found
    May 15, 2008 8:39:41 PM org.hibernate.cfg.Environment buildBytecodeProvider
    INFO: Bytecode provider name : cglib
    May 15, 2008 8:39:41 PM org.hibernate.cfg.Environment <clinit>
    INFO: using JDK 1.4 java.sql.Timestamp handling
    May 15, 2008 8:39:42 PM org.hibernate.cfg.Configuration configure
    INFO: configuring from resource: /hibernate.cfg.xml
    May 15, 2008 8:39:42 PM org.hibernate.cfg.Configuration getConfigurationInputStream
    INFO: Configuration resource: /hibernate.cfg.xml
    May 15, 2008 8:39:42 PM org.hibernate.cfg.Configuration addResource
    INFO: Reading mappings from resource : Event.hbm.xml
    May 15, 2008 8:39:43 PM org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues
    INFO: Mapping class: Event -> EVENTS
    May 15, 2008 8:39:43 PM org.hibernate.cfg.Configuration doConfigure
    INFO: Configured SessionFactory: null
    May 15, 2008 8:39:43 PM org.hibernate.connection.DriverManagerConnectionProvider configure
    INFO: Using Hibernate built-in connection pool (not for production use!)
    May 15, 2008 8:39:43 PM org.hibernate.connection.DriverManagerConnectionProvider configure
    INFO: Hibernate connection pool size: 1
    May 15, 2008 8:39:43 PM org.hibernate.connection.DriverManagerConnectionProvider configure
    INFO: autocommit mode: false
    May 15, 2008 8:39:43 PM org.hibernate.connection.DriverManagerConnectionProvider configure
    INFO: using driver: org.hsqldb.jdbcDriver at URL: jdbc:hsqldb:sql://localhost
    May 15, 2008 8:39:43 PM org.hibernate.connection.DriverManagerConnectionProvider configure
    INFO: connection properties: {user=sa, password=****}
    May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
    INFO: RDBMS: HSQL Database Engine, version: 1.8.0
    May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
    INFO: JDBC driver: HSQL Database Engine Driver, version: 1.8.0
    May 15, 2008 8:39:44 PM org.hibernate.dialect.Dialect <init>
    INFO: Using dialect: org.hibernate.dialect.HSQLDialect
    May 15, 2008 8:39:44 PM org.hibernate.transaction.TransactionFactoryFactory buildTransactionFactory
    INFO: Using default transaction strategy (direct JDBC transactions)
    May 15, 2008 8:39:44 PM org.hibernate.transaction.TransactionManagerLookupFactory getTransactionManagerLookup
    INFO: No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended)
    May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
    INFO: Automatic flush during beforeCompletion(): disabled
    May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
    INFO: Automatic session close at end of transaction: disabled
    May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
    INFO: JDBC batch size: 15
    May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
    INFO: JDBC batch updates for versioned data: disabled
    May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
    INFO: Scrollable result sets: enabled
    May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
    INFO: JDBC3 getGeneratedKeys(): disabled
    May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
    INFO: Connection release mode: auto
    May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
    INFO: Default batch fetch size: 1
    May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
    INFO: Generate SQL with comments: disabled
    May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
    INFO: Order SQL updates by primary key: disabled
    May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory createQueryTranslatorFactory
    INFO: Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
    May 15, 2008 8:39:44 PM org.hibernate.hql.ast.ASTQueryTranslatorFactory <init>
    INFO: Using ASTQueryTranslatorFactory
    May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
    INFO: Query language substitutions: {}
    May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
    INFO: JPA-QL strict compliance: disabled
    May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
    INFO: Second-level cache: enabled
    May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
    INFO: Query cache: disabled
    May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory createCacheProvider
    INFO: Cache provider: org.hibernate.cache.NoCacheProvider
    May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
    INFO: Optimize cache for minimal puts: disabled
    May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
    INFO: Structured second-level cache entries: disabled
    May 15, 2008 8:39:45 PM org.hibernate.cfg.SettingsFactory buildSettings
    INFO: Echoing all SQL to stdout
    May 15, 2008 8:39:45 PM org.hibernate.cfg.SettingsFactory buildSettings
    INFO: Statistics: disabled
    May 15, 2008 8:39:45 PM org.hibernate.cfg.SettingsFactory buildSettings
    INFO: Deleted entity synthetic identifier rollback: disabled
    May 15, 2008 8:39:45 PM org.hibernate.cfg.SettingsFactory buildSettings
    INFO: Default entity-mode: pojo
    May 15, 2008 8:39:45 PM org.hibernate.cfg.SettingsFactory buildSettings
    INFO: Named query checking : enabled
    May 15, 2008 8:39:45 PM org.hibernate.impl.SessionFactoryImpl <init>
    INFO: building session factory
    Intial session factory creation failed org.hibernate.PropertyNotFoundException: Could not find a getter for id in class Event
    Exception in thread "main" java.lang.ExceptionInInitializerError
    at HibernateUtil.<clinit>(HibernateUtil.java:18)
    at EventManager.main(EventManager.java:11)
    Caused by: org.hibernate.PropertyNotFoundException: Could not find a getter for id in class Event
    at org.hibernate.property.BasicPropertyAccessor.createGetter(BasicPropertyAccessor.java:282)
    at org.hibernate.property.BasicPropertyAccessor.getGetter(BasicPropertyAccessor.java:275)
    at org.hibernate.tuple.PropertyFactory.getGetter(PropertyFactory.java:168)
    at org.hibernate.tuple.PropertyFactory.buildIdentifierProperty(PropertyFactory.java:44)
    at org.hibernate.tuple.entity.EntityMetamodel.<init>(EntityMetamodel.java:123)
    at org.hibernate.persister.entity.AbstractEntityPersister.<init>(AbstractEntityPersister.java:434)
    at org.hibernate.persister.entity.SingleTableEntityPersister.<init>(SingleTableEntityPersister.java:109)
    at org.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:55)
    at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:226)
    at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1294)
    at HibernateUtil.<clinit>(HibernateUtil.java:14)
    How can i fix this exception
    Please help me.
    Thanks in advance

  • Unable to read one-to-many relations using Hibernate

    Hi,
    I am trying with a very simple one-to-many relationship. When I am storing the objects, there are no problems. But when I am trying to read out the collection, it says invalid descriptor index. Please help.
    Regards,
    Hibernate version:
    hibernate-3.1rc2
    Mapping documents:
    <?xml version="1.0"?>
    <!DOCTYPE hibernate-mapping PUBLIC
    "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
    "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
    <hibernate-mapping>
         <class name="Parent">
              <id name="id">
                   <generator class="identity"/>
              </id>
              <set name="children">
                   <key column="parent_id"/>
                   <one-to-many class="Child"/>
              </set>
         </class>
         <class name="Child">
              <id name="id">
                   <generator class="identity"/>
              </id>
              <property name="name"/>
         </class>
    </hibernate-mapping>
    Code between sessionFactory.openSession() and session.close():
    The Parent class:
    public class Parent
         private Long id ;     
         private Set children;
         Parent(){}
         public Long getId()
              return id;
         public void setId(Long id)
              this.id=id;
         public Set getChildren()
              return children;
         public void setChildren(Set children)
              this.children=children;
    The Child class:
    public class Child
         private Long id;
         private String name;
         Child(){}
         public Long getId()
              return id;
         private void setId(Long id)
              this.id=id;
         public String getName()
              return name;
         public void setName(String name)
              this.name=name;
    The Main class:
    public class PCManager
         public static void main(String[] args)
              PCManager mgr = new PCManager();
              List lt = null;
              if (args[0].equals("store"))
                   mgr.createAndStoreParent(new HashSet(3));
              else if (args[0].equals("list"))
                   mgr.listEvents();
              HibernateUtil.getSessionFactory().close();
         private void createAndStoreParent(HashSet s)
              HibernateUtil.getSessionFactory().getCurrentSession().beginTransaction();
              Parent p1 = new Parent();
              int size = 3;
              for (int i=size; i>0; i--)
                   Child c = new Child();
                   c.setName("Child"+i);
                   s.add(c);
              p1.setChildren (s);
              Iterator elems = s.iterator();
              do {     
                   Child ch = (Child) elems.next();
                   HibernateUtil.getSessionFactory().getCurrentSession().save(ch);
              }while(elems.hasNext());
              HibernateUtil.getSessionFactory().getCurrentSession().save(p1);
              HibernateUtil.getSessionFactory().getCurrentSession().getTransaction().commit();
         private void listEvents()
              HibernateUtil.getSessionFactory().getCurrentSession().beginTransaction();
              Parent result = (Parent) HibernateUtil.getSessionFactory().getCurrentSession().load(Parent.class, new Long(1));
              System.out.println("Id is :"+ result.getId());
              Set children = result.getChildren();
              Iterator elems = children.iterator();
              do {     
                   Child ch = (Child) elems.next();
                   System.out.println("Child Name"+ ch.getName());
              }while(elems.hasNext());
              HibernateUtil.getSessionFactory().getCurrentSession().getTransaction().commit();          
    Full stack trace of any exception that occurs:
    When I run with "hbm2ddl.auto" property as validate and trying to list the contents, I get the following out put.
    C:\Documents and Settings\mirza\Desktop\hibernate-3.1rc2\MyHibernate>ant run -Da
    ction=list
    Buildfile: build.xml
    clean:
    [delete] Deleting directory C:\Documents and Settings\mirza\Desktop\hibernate
    -3.1rc2\MyHibernate\bin
    [mkdir] Created dir: C:\Documents and Settings\mirza\Desktop\hibernate-3.1rc
    2\MyHibernate\bin
    copy-resources:
    [copy] Copying 4 files to C:\Documents and Settings\mirza\Desktop\hibernate
    -3.1rc2\MyHibernate\bin
    compile:
    [javac] Compiling 5 source files to C:\Documents and Settings\mirza\Desktop\
    hibernate-3.1rc2\MyHibernate\bin
    run:
    [java] 09:09:23,433 INFO Environment:474 - Hibernate 3.1 rc2
    [java] 09:09:23,449 INFO Environment:489 - loaded properties from resource
    hibernate.properties: {hibernate.cglib.use_reflection_optimizer=true, hibernate
    .cache.provider_class=org.hibernate.cache.HashtableCacheProvider, hibernate.dial
    ect=org.hibernate.dialect.SQLServerDialect, hibernate.max_fetch_depth=1, hiberna
    te.jdbc.use_streams_for_binary=true, hibernate.format_sql=true, hibernate.query.
    substitutions=yes 'Y', no 'N', hibernate.proxool.pool_alias=pool1, hibernate.cac
    he.region_prefix=hibernate.test, hibernate.jdbc.batch_versioned_data=true, hiber
    nate.connection.pool_size=1}
    [java] 09:09:23,465 INFO Environment:519 - using java.io streams to persis
    t binary types
    [java] 09:09:23,465 INFO Environment:520 - using CGLIB reflection optimize
    r
    [java] 09:09:23,481 INFO Environment:550 - using JDK 1.4 java.sql.Timestam
    p handling
    [java] 09:09:23,559 INFO Configuration:1257 - configuring from resource: /
    hibernate.cfg.xml
    [java] 09:09:23,559 INFO Configuration:1234 - Configuration resource: /hib
    ernate.cfg.xml
    [java] 09:09:23,872 INFO Configuration:460 - Reading mappings from resourc
    e: PCMapping.hbm.xml
    [java] 09:09:24,013 INFO HbmBinder:266 - Mapping class: Parent -> Parent
    [java] 09:09:24,045 INFO HbmBinder:266 - Mapping class: Child -> Child
    [java] 09:09:24,045 INFO Configuration:1368 - Configured SessionFactory: n
    ull
    [java] 09:09:24,061 INFO Configuration:1014 - processing extends queue
    [java] 09:09:24,061 INFO Configuration:1018 - processing collection mappin
    gs
    [java] 09:09:24,061 INFO HbmBinder:2233 - Mapping collection: Parent.child
    ren -> Child
    [java] 09:09:24,076 INFO Configuration:1027 - processing association prope
    rty references
    [java] 09:09:24,076 INFO Configuration:1049 - processing foreign key const
    raints
    [java] 09:09:24,155 INFO DriverManagerConnectionProvider:41 - Using Hibern
    ate built-in connection pool (not for production use!)
    [java] 09:09:24,170 INFO DriverManagerConnectionProvider:42 - Hibernate co
    nnection pool size: 1
    [java] 09:09:24,170 INFO DriverManagerConnectionProvider:45 - autocommit m
    ode: false
    [java] 09:09:24,170 INFO DriverManagerConnectionProvider:80 - using driver
    : sun.jdbc.odbc.JdbcOdbcDriver at URL: jdbc:odbc:MySQL
    [java] 09:09:24,170 INFO DriverManagerConnectionProvider:86 - connection p
    roperties: {}
    [java] 09:09:24,264 INFO SettingsFactory:77 - RDBMS: Microsoft SQL Server,
    version: 08.00.0194
    [java] 09:09:24,264 INFO SettingsFactory:78 - JDBC driver: JDBC-ODBC Bridg
    e (SQLSRV32.DLL), version: 2.0001 (03.85.1117)
    [java] 09:09:24,296 INFO Dialect:100 - Using dialect: org.hibernate.dialec
    t.SQLServerDialect
    [java] 09:09:24,311 INFO TransactionFactoryFactory:31 - Using default tran
    saction strategy (direct JDBC transactions)
    [java] 09:09:24,327 INFO TransactionManagerLookupFactory:33 - No Transacti
    onManagerLookup configured (in JTA environment, use of read-write or transaction
    al second-level cache is not recommended)
    [java] 09:09:24,327 INFO SettingsFactory:125 - Automatic flush during befo
    reCompletion(): disabled
    [java] 09:09:24,327 INFO SettingsFactory:129 - Automatic session close at
    end of transaction: disabled
    [java] 09:09:24,343 INFO SettingsFactory:144 - Scrollable result sets: ena
    bled
    [java] 09:09:24,343 INFO SettingsFactory:152 - JDBC3 getGeneratedKeys(): d
    isabled
    [java] 09:09:24,343 INFO SettingsFactory:160 - Connection release mode: au
    to
    [java] 09:09:24,358 INFO SettingsFactory:184 - Maximum outer join fetch de
    pth: 1
    [java] 09:09:24,358 INFO SettingsFactory:187 - Default batch fetch size: 1
    [java] 09:09:24,358 INFO SettingsFactory:191 - Generate SQL with comments:
    disabled
    [java] 09:09:24,358 INFO SettingsFactory:195 - Order SQL updates by primar
    y key: disabled
    [java] 09:09:24,358 INFO SettingsFactory:338 - Query translator: org.hiber
    nate.hql.ast.ASTQueryTranslatorFactory
    [java] 09:09:24,374 INFO ASTQueryTranslatorFactory:21 - Using ASTQueryTran
    slatorFactory
    [java] 09:09:24,374 INFO SettingsFactory:203 - Query language substitution
    s: {no='N', yes='Y'}
    [java] 09:09:24,374 INFO SettingsFactory:209 - Second-level cache: enabled
    [java] 09:09:24,374 INFO SettingsFactory:213 - Query cache: disabled
    [java] 09:09:24,374 INFO SettingsFactory:325 - Cache provider: org.hiberna
    te.cache.HashtableCacheProvider
    [java] 09:09:24,374 INFO SettingsFactory:228 - Optimize cache for minimal
    puts: disabled
    [java] 09:09:24,374 INFO SettingsFactory:233 - Cache region prefix: hibern
    ate.test
    [java] 09:09:24,405 INFO SettingsFactory:237 - Structured second-level cac
    he entries: disabled
    [java] 09:09:24,437 INFO SettingsFactory:257 - Echoing all SQL to stdout
    [java] 09:09:24,452 INFO SettingsFactory:264 - Statistics: disabled
    [java] 09:09:24,452 INFO SettingsFactory:268 - Deleted entity synthetic id
    entifier rollback: disabled
    [java] 09:09:24,452 INFO SettingsFactory:283 - Default entity-mode: POJO
    [java] 09:09:24,593 INFO SessionFactoryImpl:155 - building session factory
    [java] 09:09:24,938 INFO SessionFactoryObjectFactory:82 - Not binding fact
    ory to JNDI, no JNDI name configured
    [java] 09:09:24,954 INFO SchemaValidator:99 - Running schema validator
    [java] 09:09:24,954 INFO SchemaValidator:107 - fetching database metadata
    [java] 09:09:24,954 INFO Configuration:1014 - processing extends queue
    [java] 09:09:24,954 INFO Configuration:1018 - processing collection mappin
    gs
    [java] 09:09:24,954 INFO Configuration:1027 - processing association prope
    rty references
    [java] 09:09:24,954 INFO Configuration:1049 - processing foreign key const
    raints
    [java] 09:09:24,985 WARN JDBCExceptionReporter:71 - SQL Error: 0, SQLState
    : S1002
    [java] 09:09:24,985 ERROR JDBCExceptionReporter:72 - [Microsoft][ODBC SQL S
    erver Driver]Invalid Descriptor Index
    [java] 09:09:25,001 ERROR SchemaValidator:129 - Error closing connection
    [java] java.sql.SQLException: [Microsoft][ODBC SQL Server Driver]Invalid transaction state
    [java] Initial SessionFactory creation failed.org.hibernate.exception.Gener
    icJDBCException: could not get table metadata: Child
    [java] java.lang.ExceptionInInitializerError
    [java] at HibernateUtil.<clinit>(Unknown Source)
    [java] at PCManager.listEvents(Unknown Source)
    [java] at PCManager.main(Unknown Source)
    [java] Caused by: org.hibernate.exception.GenericJDBCException: could not g
    et table metadata: Child
    [java] at org.hibernate.exception.SQLStateConverter.handledNonSpecificE
    xception(SQLStateConverter.java:91)
    [java] at sun.jdbc.odbc.JdbcOdbc.createSQLException(JdbcOdbc.java:6879)
    [java] at sun.jdbc.odbc.JdbcOdbc.standardError(JdbcOdbc.java:7036)
    [java] at sun.jdbc.odbc.JdbcOdbc.SQLDisconnect(JdbcOdbc.java:2988)
    [java] at sun.jdbc.odbc.JdbcOdbcDriver.disconnect(JdbcOdbcDriver.java:9
    80)
    [java] at sun.jdbc.odbc.JdbcOdbcConnection.close(JdbcOdbcConnection.jav
    a:739)
    [java] at org.hibernate.tool.hbm2ddl.SchemaValidator.validate(SchemaVal
    idator.java:125)
    [java] at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryIm
    pl.java:299)
    [java] at org.hibernate.cfg.Configuration.buildSessionFactory(Configura
    tion.java:1145)
    [java] at HibernateUtil.<clinit>(Unknown Source)
    [java] at org.hibernate.exception.SQLStateConverter.convert(SQLStateCon
    verter.java:79)
    [java] at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExcep
    tionHelper.java:43)
    [java] at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExcep
    tionHelper.java:29)
    [java] at org.hibernate.tool.hbm2ddl.DatabaseMetadata.getTableMetadata(
    DatabaseMetadata.java:100)
    [java] at org.hibernate.cfg.Configuration.validateSchema(Configuration.
    java:946)
    [java] at org.hibernate.tool.hbm2ddl.SchemaValidator.validate(SchemaVal
    idator.java:116)
    [java] at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryIm
    pl.java:299)
    [java] at org.hibernate.cfg.Configuration.buildSessionFactory(Configura
    tion.java:1145)
    [java] ... 3 more
    [java] Caused by: java.sql.SQLException: [Microsoft][ODBC SQL Server Driver
    ]Invalid Descriptor Index
    [java] at sun.jdbc.odbc.JdbcOdbc.createSQLException(JdbcOdbc.java:6879)
    [java] at sun.jdbc.odbc.JdbcOdbc.standardError(JdbcOdbc.java:7036)
    [java] at sun.jdbc.odbc.JdbcOdbc.SQLGetDataString(JdbcOdbc.java:3862)
    [java] at sun.jdbc.odbc.JdbcOdbcResultSet.getDataString(JdbcOdbcResultS
    et.java:5561)
    [java] at sun.jdbc.odbc.JdbcOdbcResultSet.getString(JdbcOdbcResultSet.j
    ava:338)
    [java] at sun.jdbc.odbc.JdbcOdbcResultSet.getString(JdbcOdbcResultSet.j
    ava:395)
    [java] at PCManager.listEvents(Unknown Source)
    [java] at PCManager.main(Unknown Source)
    [java] at org.hibernate.tool.hbm2ddl.TableMetadata.<init>(TableMetadata
    .java:30)
    [java] at org.hibernate.tool.hbm2ddl.DatabaseMetadata.getTableMetadata(
    DatabaseMetadata.java:85)
    [java] ... 7 more
    [java] Exception in thread "main"
    [java] Java Result: 1
    BUILD SUCCESSFUL
    Total time: 4 seconds
    Name and version of the database you are using:
    Microsoft SQLServer2000
    The generated SQL (show_sql=true):
    When the program is run with "hbm2ddl.auto" property as create, I get the following output.
    C:\Documents and Settings\mirza\Desktop\hibernate-3.1rc2\MyHibernate>ant run -Daction=store
    Buildfile: build.xml
    clean:
    [delete] Deleting directory C:\Documents and Settings\mirza\Desktop\hibernate
    -3.1rc2\MyHibernate\bin
    [mkdir] Created dir: C:\Documents and Settings\mirza\Desktop\hibernate-3.1rc
    2\MyHibernate\bin
    copy-resources:
    [copy] Copying 4 files to C:\Documents and Settings\mirza\Desktop\hibernate
    -3.1rc2\MyHibernate\bin
    compile:
    [javac] Compiling 5 source files to C:\Documents and Settings\mirza\Desktop\
    hibernate-3.1rc2\MyHibernate\bin
    run:
    [java] 09:12:54,820 INFO Environment:474 - Hibernate 3.1 rc2
    [java] 09:12:54,836 INFO Environment:489 - loaded properties from resource
    hibernate.properties: {hibernate.cglib.use_reflection_optimizer=true, hibernate
    .cache.provider_class=org.hibernate.cache.HashtableCacheProvider, hibernate.dial
    ect=org.hibernate.dialect.SQLServerDialect, hibernate.max_fetch_depth=1, hiberna
    te.jdbc.use_streams_for_binary=true, hibernate.format_sql=true, hibernate.query.
    substitutions=yes 'Y', no 'N', hibernate.proxool.pool_alias=pool1, hibernate.cac
    he.region_prefix=hibernate.test, hibernate.jdbc.batch_versioned_data=true, hiber
    nate.connection.pool_size=1}
    [java] 09:12:54,852 INFO Environment:519 - using java.io streams to persis
    t binary types
    [java] 09:12:54,852 INFO Environment:520 - using CGLIB reflection optimize
    r
    [java] 09:12:54,867 INFO Environment:550 - using JDK 1.4 java.sql.Timestam
    p handling
    [java] 09:12:54,946 INFO Configuration:1257 - configuring from resource: /
    hibernate.cfg.xml
    [java] 09:12:54,946 INFO Configuration:1234 - Configuration resource: /hib
    ernate.cfg.xml
    [java] 09:12:55,259 INFO Configuration:460 - Reading mappings from resourc
    e: PCMapping.hbm.xml
    [java] 09:12:55,400 INFO HbmBinder:266 - Mapping class: Parent -> Parent
    [java] 09:12:55,447 INFO HbmBinder:266 - Mapping class: Child -> Child
    [java] 09:12:55,447 INFO Configuration:1368 - Configured SessionFactory: n
    ull
    [java] 09:12:55,447 INFO Configuration:1014 - processing extends queue
    [java] 09:12:55,447 INFO Configuration:1018 - processing collection mappin
    gs
    [java] 09:12:55,447 INFO HbmBinder:2233 - Mapping collection: Parent.child
    ren -> Child
    [java] 09:12:55,463 INFO Configuration:1027 - processing association prope
    rty references
    [java] 09:12:55,479 INFO Configuration:1049 - processing foreign key const
    raints
    [java] 09:12:55,557 INFO DriverManagerConnectionProvider:41 - Using Hibern
    ate built-in connection pool (not for production use!)
    [java] 09:12:55,557 INFO DriverManagerConnectionProvider:42 - Hibernate co
    nnection pool size: 1
    [java] 09:12:55,557 INFO DriverManagerConnectionProvider:45 - autocommit m
    ode: false
    [java] 09:12:55,573 INFO DriverManagerConnectionProvider:80 - using driver
    : sun.jdbc.odbc.JdbcOdbcDriver at URL: jdbc:odbc:MySQL
    [java] 09:12:55,573 INFO DriverManagerConnectionProvider:86 - connection p
    roperties: {}
    [java] 09:12:55,651 INFO SettingsFactory:77 - RDBMS: Microsoft SQL Server,
    version: 08.00.0194
    [java] 09:12:55,667 INFO SettingsFactory:78 - JDBC driver: JDBC-ODBC Bridg
    e (SQLSRV32.DLL), version: 2.0001 (03.85.1117)
    [java] 09:12:55,682 INFO Dialect:100 - Using dialect: org.hibernate.dialec
    t.SQLServerDialect
    [java] 09:12:55,698 INFO TransactionFactoryFactory:31 - Using default tran
    saction strategy (direct JDBC transactions)
    [java] 09:12:55,714 INFO TransactionManagerLookupFactory:33 - No Transacti
    onManagerLookup configured (in JTA environment, use of read-write or transaction
    al second-level cache is not recommended)
    [java] 09:12:55,714 INFO SettingsFactory:125 - Automatic flush during befo
    reCompletion(): disabled
    [java] 09:12:55,714 INFO SettingsFactory:129 - Automatic session close at
    end of transaction: disabled
    [java] 09:12:55,729 INFO SettingsFactory:144 - Scrollable result sets: ena
    bled
    [java] 09:12:55,729 INFO SettingsFactory:152 - JDBC3 getGeneratedKeys(): d
    isabled
    [java] 09:12:55,745 INFO SettingsFactory:160 - Connection release mode: au
    to
    [java] 09:12:55,745 INFO SettingsFactory:184 - Maximum outer join fetch de
    pth: 1
    [java] 09:12:55,745 INFO SettingsFactory:187 - Default batch fetch size: 1
    [java] 09:12:55,745 INFO SettingsFactory:191 - Generate SQL with comments:
    disabled
    [java] 09:12:55,745 INFO SettingsFactory:195 - Order SQL updates by primar
    y key: disabled
    [java] 09:12:55,745 INFO SettingsFactory:338 - Query translator: org.hiber
    nate.hql.ast.ASTQueryTranslatorFactory
    [java] 09:12:55,777 INFO ASTQueryTranslatorFactory:21 - Using ASTQueryTran
    slatorFactory
    [java] 09:12:55,792 INFO SettingsFactory:203 - Query language substitution
    s: {no='N', yes='Y'}
    [java] 09:12:55,792 INFO SettingsFactory:209 - Second-level cache: enabled
    [java] 09:12:55,792 INFO SettingsFactory:213 - Query cache: disabled
    [java] 09:12:55,792 INFO SettingsFactory:325 - Cache provider: org.hiberna
    te.cache.HashtableCacheProvider
    [java] 09:12:55,808 INFO SettingsFactory:228 - Optimize cache for minimal
    puts: disabled
    [java] 09:12:55,808 INFO SettingsFactory:233 - Cache region prefix: hibern
    ate.test
    [java] 09:12:55,808 INFO SettingsFactory:237 - Structured second-level cac
    he entries: disabled
    [java] 09:12:55,839 INFO SettingsFactory:257 - Echoing all SQL to stdout
    [java] 09:12:55,839 INFO SettingsFactory:264 - Statistics: disabled
    [java] 09:12:55,839 INFO SettingsFactory:268 - Deleted entity synthetic id
    entifier rollback: disabled
    [java] 09:12:55,839 INFO SettingsFactory:283 - Default entity-mode: POJO
    [java] 09:12:55,980 INFO SessionFactoryImpl:155 - building session factory
    [java] 09:12:56,325 INFO SessionFactoryObjectFactory:82 - Not binding fact
    ory to JNDI, no JNDI name configured
    [java] 09:12:56,341 INFO Configuration:1014 - processing extends queue
    [java] 09:12:56,341 INFO Configuration:1018 - processing collection mappin
    gs
    [java] 09:12:56,341 INFO Configuration:1027 - processing association prope
    rty references
    [java] 09:12:56,341 INFO Configuration:1049 - processing foreign key const
    raints
    [java] 09:12:56,356 INFO Configuration:1014 - processing extends queue
    [java] 09:12:56,356 INFO Configuration:1018 - processing collection mappin
    gs
    [java] 09:12:56,356 INFO Configuration:1027 - processing association prope
    rty references
    [java] 09:12:56,372 INFO Configuration:1049 - processing foreign key const
    raints
    [java] 09:12:56,372 INFO SchemaExport:153 - Running hbm2ddl schema export
    [java] 09:12:56,388 DEBUG SchemaExport:171 - import file not found: /import
    .sql
    [java] 09:12:56,388 INFO SchemaExport:180 - exporting generated schema to
    database
    [java] 09:12:56,403 DEBUG SchemaExport:283 -
    [java] alter table Child
    [java] drop constraint FK3E104FC976A59A
    [java] 09:12:56,466 DEBUG SchemaExport:283 -
    [java] drop table Child
    [java] 09:12:56,544 DEBUG SchemaExport:283 -
    [java] drop table Parent
    [java] 09:12:56,654 DEBUG SchemaExport:283 -
    [java] create table Child (
    [java] id numeric(19,0) identity not null,
    [java] name varchar(255) null,
    [java] parent_id numeric(19,0) null,
    [java] primary key (id)
    [java] )
    [java] 09:12:56,779 DEBUG SchemaExport:283 -
    [java] create table Parent (
    [java] id numeric(19,0) identity not null,
    [java] primary key (id)
    [java] )
    [java] 09:12:56,873 DEBUG SchemaExport:283 -
    [java] alter table Child
    [java] add constraint FK3E104FC976A59A
    [java] foreign key (parent_id)
    [java] references Parent
    [java] 09:12:56,952 INFO SchemaExport:200 - schema export complete
    [java] 09:12:56,952 WARN JDBCExceptionReporter:48 - SQL Warning: 5701, SQL
    State: 01000
    [java] 09:12:56,952 WARN JDBCExceptionReporter:49 - [Microsoft][ODBC SQL S
    erver Driver][SQL Server]Changed database context to 'master'.
    [java] 09:12:56,952 WARN JDBCExceptionReporter:48 - SQL Warning: 5703, SQL
    State: 01000
    [java] 09:12:56,952 WARN JDBCExceptionReporter:49 - [Microsoft][ODBC SQL S
    erver Driver][SQL Server]Changed language setting to us_english.
    [java] 09:12:56,983 INFO SessionFactoryImpl:432 - Checking 0 named queries
    [java] Hibernate:
    [java] insert
    [java] into
    [java] Child
    [java] (name)
    [java] values
    [java] (?) select
    [java] scope_identity()
    [java] Hibernate:
    [java] insert
    [java] into
    [java] Child
    [java] (name)
    [java] values
    [java] (?) select
    [java] scope_identity()
    [java] Hibernate:
    [java] insert
    [java] into
    [java] Child
    [java] (name)
    [java] values
    [java] (?) select
    [java] scope_identity()
    [java] Hibernate:
    [java] insert
    [java] into
    [java] Parent
    [java] default
    [java] values
    [java] select
    [java] scope_identity()
    [java] Hibernate:
    [java] update
    [java] Child
    [java] set
    [java] parent_id=?
    [java] where
    [java] id=?
    [java] Hibernate:
    [java] update
    [java] Child
    [java] set
    [java] parent_id=?
    [java] where
    [java] id=?
    [java] Hibernate:
    [java] update
    [java] Child
    [java] set
    [java] parent_id=?
    [java] where
    [java] id=?
    [java] 09:12:57,390 INFO SessionFactoryImpl:831 - closing
    [java] 09:12:57,390 INFO DriverManagerConnectionProvider:147 - cleaning up
    connection pool: jdbc:odbc:MySQL
    BUILD SUCCESSFUL
    Total time: 5 seconds
    Debug level Hibernate log excerpt:
    Included in the above description.

    That's not the right mapping for the 1:m relationship in Hibernate.
    First of all, I believe the recommendation is to have a separate .hbm.xml file for each class, so you should have one for Parent and Child.
    Second, you'll find the proper syntax for a one-to-many relationship here:
    http://www.hibernate.org/hib_docs/v3/reference/en/html/tutorial.html#tutorial-associations
    See if those help.
    The tutorial docs for Hibernate are quite good. I'd recommend going through them carefully.
    %

  • LIKE Operator not supported from CMIS Search on Foundation Server

    I am running a CMIS query against Sharepoint foundation server.
    The app is returning the following error: One or more of the input parameters to the service method is missing or invalid
    The log files report the following: 
    CMIS Repository Interfaces    This operator is not supported:   like
    CMIS Repository Interfaces    Exception is thrown of type: Microsoft.SharePoint.CMIS.Data.Exception.InvalidArgumentException
    CMIS Repository Interfaces    Exception thrown in core dll. Microsoft.SharePoint.CMIS.Data.Exception.InvalidArgumentException: One or more of the input parameters to the service method is missing or invalid.
    CMIS Repository Interfaces    Constructing soap exception from  invalidArgument 
    Strange thing is the query works against Sharepoint Enterprise server after setting "Reduce storage requirements for text properties by using a hash for comparison” 
    Does anyone know if this is a limitation of Foundation Server or something in the CMIS Repository Interfaces
    Thank you.

    I've been testing Sharepoint 2010 CMIS api for a while and pretty much everything worked according to CMIS 1.0 spec except the Query which is unfinished work.
    As Alex already wrote only "=", "<=", ">=" and "<>" operators will work. LIKE and IN do not work for me either. And there are other issues that I found.
    Query does not return all properties defined for specific content type, but you can use them in the query: SELECT * FROM "Fixed Assets" WHERE Vendor_x0020_ID = '134' (Select all from "Fixed Assets" document library that holds
    documents of "Fixed Asset" content type). This query will run fine but will not return any custom properties for the "Fixed Asset" content type. Forcing select fields does not help either.
    Selecting SELECT Vendor_x0020_ID,Vendor_x0020_Name FROM "Fixed Asset"
    returns list of empty objects and properties tags:
    <queryResponse xmlns="http://docs.oasis-open.org/ns/cmis/messaging/200908/">
    <objects>
    <objects>
    <properties xmlns="http://docs.oasis-open.org/ns/cmis/core/200908/"/>
    </objects>
    <objects>
    <properties xmlns="http://docs.oasis-open.org/ns/cmis/core/200908/"/>
    </objects>
    <objects>
    <properties xmlns="http://docs.oasis-open.org/ns/cmis/core/200908/"/>
    </objects>
    Content type id (cmis:objectTypeId) is not queryable type. If your document library contains multiple content types you cannot query by content type. Funny thing is that you can query by ContentTypeId which is Sharepoint property name for content type.
    And, I am sure there is more :)
     My conclusion is that this version Sharepoint CMIS DiscoveryService is just a lousy implementation of SQL to CAML query translation. CAML is a strong query language and I don't see any CMIS SQL expression that cannot be easily converted to CAML. Unfortunately
    with the first version of Sharepoint CMIS producer this is not the case.
    Thanks,
    Boris

  • Status : Not Loaded Problem

    I tried deploying a WAR File in OAS 10G R2. It says that the file deployment was successful. But when in the Enterprise Manager I get a Not Loaded status. I'm attaching the following details for more information
    application.log (shows that the file was deployed properly)
    07/11/21 19:02:18 Stopped (Shutdown executed by jazn.com/admin from 127.0.0.1 (127.0.0.1))
    07/11/21 19:02:24 Started
    07/11/21 19:02:26 SFAP: jsp: init
    07/11/21 19:02:26 SFAP: context: init
    07/11/21 19:02:26 SFAP: Loading Spring root WebApplicationContext
    07/11/21 19:02:28 SFAP: Started
    I added log4j logging to add additional trace and I get the following Errors. The hibernate.properties not found INFO is handled in my applicationContext-Hibernate.xml (I'll be adding both my web.xml and applicationContext-Hibernate.xml).
    19:01:54,109 INFO (org.hibernate.cfg.Environment:479) - Hibernate 3.1.1
    19:01:54,140 INFO (org.hibernate.cfg.Environment:509) - hibernate.properties not found
    19:01:54,140 INFO (org.hibernate.cfg.Environment:525) - using CGLIB reflection optimizer
    19:01:54,140 INFO (org.hibernate.cfg.Environment:555) - using JDK 1.4 java.sql.Timestamp handling
    19:01:54,328 INFO (org.hibernate.connection.ConnectionProviderFactory:72) - Initializing connection provider: org.springframework.orm.hibernate3.LocalDataSourceConnectionProvider
    19:01:54,781 WARN (org.hibernate.util.JDBCExceptionReporter:71) - SQL Error: 604, SQLState: 60000
    19:01:54,781 ERROR (org.hibernate.util.JDBCExceptionReporter:72) - ORA-00604: error occurred at recursive SQL level 1
    ORA-12705: invalid or unknown NLS parameter value specified
    19:01:54,781 WARN (org.hibernate.cfg.SettingsFactory:103) - Could not obtain connection metadata
    java.sql.SQLException: ORA-00604: error occurred at recursive SQL level 1
    ORA-12705: invalid or unknown NLS parameter value specified
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:137)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:304)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:271)
         at oracle.jdbc.driver.T4CTTIoauthenticate.receiveOauth(T4CTTIoauthenticate.java:647)
         at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:307)
         at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:433)
         at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:150)
         at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:31)
         at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:571)
         at java.sql.DriverManager.getConnection(DriverManager.java:512)
         at java.sql.DriverManager.getConnection(DriverManager.java:140)
         at org.springframework.jdbc.datasource.DriverManagerDataSource.getConnectionFromDriverManager(DriverManagerDataSource.java:291)
         at org.springframework.jdbc.datasource.DriverManagerDataSource.getConnectionFromDriverManager(DriverManagerDataSource.java:277)
         at org.springframework.jdbc.datasource.DriverManagerDataSource.getConnectionFromDriverManager(DriverManagerDataSource.java:259)
         at org.springframework.jdbc.datasource.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:241)
         at org.springframework.orm.hibernate3.LocalDataSourceConnectionProvider.getConnection(LocalDataSourceConnectionProvider.java:80)
         at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:72)
         at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1869)
         at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1162)
         at org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:800)
         at org.springframework.orm.hibernate3.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:726)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1059)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:363)
         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:226)
         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:147)
         at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:269)
         at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:320)
         at org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:134)
         at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:246)
         at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:184)
         at org.springframework.web.context.ContextLoaderServlet.init(ContextLoaderServlet.java:83)
         at javax.servlet.GenericServlet.init(GenericServlet.java:258)
         at com.evermind.server.http.HttpApplication.loadServlet(HttpApplication.java:2354)
         at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4795)
         at com.evermind.server.http.HttpApplication.initPreloadServlets(HttpApplication.java:4889)
         at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1015)
         at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:549)
         at com.evermind.server.Application.getHttpApplication(Application.java:890)
         at com.evermind.server.http.HttpServer.getHttpApplication(HttpServer.java:707)
         at com.evermind.server.http.HttpSite.getApplication(HttpSite.java:438)
         at com.evermind.server.http.HttpSite.invalidateHttpApplications(HttpSite.java:1209)
         at com.evermind.server.http.HttpServer.invalidateHttpApplications(HttpServer.java:790)
         at com.evermind.server.ApplicationServer.doCheckForUpdates(ApplicationServer.java:2920)
         at com.evermind.server.ApplicationServer.forceCheckForUpdates(ApplicationServer.java:2731)
         at com.evermind.server.administration.DefaultApplicationServerAdministrator.checkForUpdates(DefaultApplicationServerAdministrator.java:241)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:124)
         at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:48)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Thread.java:534)
    19:01:54,843 INFO (org.hibernate.dialect.Dialect:103) - Using dialect: org.hibernate.dialect.OracleDialect
    19:01:54,968 INFO (org.hibernate.transaction.TransactionFactoryFactory:31) - Using default transaction strategy (direct JDBC transactions)
    19:01:54,968 INFO (org.hibernate.transaction.TransactionManagerLookupFactory:33) - No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended)
    19:01:54,968 INFO (org.hibernate.cfg.SettingsFactory:125) - Automatic flush during beforeCompletion(): disabled
    19:01:54,968 INFO (org.hibernate.cfg.SettingsFactory:129) - Automatic session close at end of transaction: disabled
    19:01:54,984 INFO (org.hibernate.cfg.SettingsFactory:144) - Scrollable result sets: disabled
    19:01:54,984 INFO (org.hibernate.cfg.SettingsFactory:152) - JDBC3 getGeneratedKeys(): disabled
    19:01:54,984 INFO (org.hibernate.cfg.SettingsFactory:160) - Connection release mode: on_close
    19:01:54,984 INFO (org.hibernate.cfg.SettingsFactory:187) - Default batch fetch size: 1
    19:01:54,984 INFO (org.hibernate.cfg.SettingsFactory:191) - Generate SQL with comments: disabled
    19:01:54,984 INFO (org.hibernate.cfg.SettingsFactory:195) - Order SQL updates by primary key: disabled
    19:01:54,984 INFO (org.hibernate.cfg.SettingsFactory:338) - Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
    19:01:55,000 INFO (org.hibernate.hql.ast.ASTQueryTranslatorFactory:21) - Using ASTQueryTranslatorFactory
    19:01:55,015 INFO (org.hibernate.cfg.SettingsFactory:203) - Query language substitutions: {}
    19:01:55,015 INFO (org.hibernate.cfg.SettingsFactory:209) - Second-level cache: enabled
    19:01:55,015 INFO (org.hibernate.cfg.SettingsFactory:213) - Query cache: disabled
    19:01:55,015 INFO (org.hibernate.cfg.SettingsFactory:325) - Cache provider: org.hibernate.cache.EhCacheProvider
    19:01:55,015 INFO (org.hibernate.cfg.SettingsFactory:228) - Optimize cache for minimal puts: disabled
    19:01:55,031 INFO (org.hibernate.cfg.SettingsFactory:237) - Structured second-level cache entries: disabled
    19:01:55,046 INFO (org.hibernate.cfg.SettingsFactory:257) - Echoing all SQL to stdout
    19:01:55,046 INFO (org.hibernate.cfg.SettingsFactory:264) - Statistics: disabled
    19:01:55,046 INFO (org.hibernate.cfg.SettingsFactory:268) - Deleted entity synthetic identifier rollback: disabled
    19:01:55,046 INFO (org.hibernate.cfg.SettingsFactory:283) - Default entity-mode: pojo
    19:01:55,125 INFO (org.hibernate.impl.SessionFactoryImpl:153) - building session factory
    19:01:55,156 WARN (net.sf.ehcache.config.Configurator:126) - No configuration found. Configuring ehcache from ehcache-failsafe.xml found in the classpath: classloader:/ehcache-failsafe.xml
    19:01:55,187 INFO (org.hibernate.impl.SessionFactoryObjectFactory:82) - Not binding factory to JNDI, no JNDI name configured
    19:02:18,937 INFO (org.hibernate.impl.SessionFactoryImpl:728) - closing
    I'm using ojdbc driver for oracle 9i and the database I'm connecting to is Oracle9i Database.
    web.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
         "http://java.sun.com/dtd/web-app_2_2.dtd">
    <web-app>
    <display-name>New Struts Test</display-name>
         <!-- Spring/Hibernate -->
         <context-param>
              <param-name>contextConfigLocation</param-name>
              <param-value>/WEB-INF/applicationContext-hibernate.xml</param-value>
         </context-param>
         <servlet>
         <servlet-name>context</servlet-name>
         <servlet-class>
              org.springframework.web.context.ContextLoaderServlet
         </servlet-class>
         <load-on-startup>1</load-on-startup>
         </servlet>
         <!-- Spring/Hibernate -->
    <filter>
    <filter-name>struts2</filter-name>
    <filter-class>org.apache.struts2.dispatcher.FilterDispatcher</filter-class>
    </filter>
    <filter-mapping>
    <filter-name>struts2</filter-name>
    <url-pattern>/*</url-pattern>
    </filter-mapping>
    <welcome-file-list>
    <welcome-file>index.jsp</welcome-file>
    </welcome-file-list>
    </web-app>
    applicationContext-Hibernate.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">
    <beans>
         <!-- ========================= RESOURCE DEFINITIONS ========================= -->
         <!-- Local DataSource that works in any environment -->     
         <bean id="dataSource" class="org.springframework.jdbc.datasource.DriverManagerDataSource">
              <property name="driverClassName"><value>oracle.jdbc.driver.OracleDriver</value></property>
              <property name="url"><value>jdbc:oracle:thin:@192.168.0.11:1521:ORCL</value></property>
              <property name="username"><value>scott</value></property>
              <property name="password"><value>admin</value></property>
         </bean>
         <!-- JNDI DataSource for J2EE environments -->
         <!-- Hibernate SessionFactory -->
         <bean id="sessionFactory" class="org.springframework.orm.hibernate3.LocalSessionFactoryBean">
              <property name="dataSource"><ref local="dataSource"/></property>
              <property name="mappingResources">
              <list>
                   <value>asia/online/co/ph/safp/model/Users.hbm.xml</value>
              </list>
              </property>
              <property name="hibernateProperties">
                   <props>
                        <prop key="hibernate.dialect">org.hibernate.dialect.OracleDialect</prop>
                        <prop key="hibernate.show_sql">true</prop>
                   </props>
              </property>
         </bean>
         <!-- Transaction manager for a single Hibernate SessionFactory (alternative to JTA) -->
         <bean id="transactionManager" class="org.springframework.orm.hibernate3.HibernateTransactionManager">
              <property name="sessionFactory"><ref local="sessionFactory"/></property>
         </bean>
         <!-- ========================= BUSINESS OBJECT DEFINITIONS ========================= -->
         <!--
         Data access object: Hibernate implementation.
    -->
         <bean id="LGNService" class="service.LGNImpl" >
              <property name="sessionFactory"><ref local="sessionFactory"/></property>
         </bean>     
    </beans>
    Hope you guys can help. Thanks in advance

    hmmm seems the problem i got was a bit weird. the first server that I was using was only a Windows 2000 Professional Edition. When I installed both database and OAS in a Windows 2000 Server , I was able to deploy the WAR file properly and no NLS error was displayed. However, I'm still getting the servlet not deployed problem.
    I'm getting this in the status display of the WAR File
    context Not Loaded Servlet org.springframework.web.context.ContextLoaderServlet 0 0 0 1

  • Trouble connecting to MySQL database with Hibernate

    I'm using red hat studio pro. I created an hibernate.cfg.xml file with
    the hibernate tools.
    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE hibernate-configuration PUBLIC
              "-//Hibernate/Hibernate Configuration DTD 3.0//EN"
              "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
    <hibernate-configuration>
    <session-factory>
         <property name="hibernate.connection.driver_jar">mysql-connector-
    java-5.0.6-bin.jar</property>
    <property
    name="hibernate.connection.driver_class">org.gjt.mm.mysql.Driver</
    property>
    <property name="hibernate.connection.password"> </property>
    <property name="hibernate.connection.url">jdbc:mysql://
    localhost/eshop</property>
    <property name="hibernate.connection.username">user</property>
    <property
    name="hibernate.dialect">org.hibernate.dialect.MySQLInnoDBDialect</
    property>
    </session-factory>
    </hibernate-configuration>
    Reverse Engineering was no problem, it found the database, could read
    the tables and create the java classes.
    Now I tried to open a simple connection to the database and that
    doesn*t work. I always get a "no suitable driver found" error.
    Code:
         Configuration config = new Configuration()
         .setProperty("hibernate.dialect",
    "org.hibernate.dialect.MySQLInnoDBDialect")
         .setProperty("hibernate.connection.driver_class",
    "org.gjt.mm.mysql.Driver")
         .setProperty("hibernate.connection.driver_jar", "mysql-connector-
    java-5.0.6-bin.jar")
         .setProperty("hibernate.connection.password", " ")
         .setProperty("hibernate.connection.url", "jdbc:mysql://localhost:
    3306/eshop")
         .setProperty("hibernate.connection.username", "user")
         .addClass(Adressen.class);
         config.configure();
         SessionFactory sessionFactory = config.buildSessionFactory();
         Session session = sessionFactory.openSession();
         Transaction tx = null;
         try {
              tx = session.beginTransaction();
              System.out.println("works");
         } catch (Exception e) {
              if (tx != null) {
                   tx.rollback();
                   System.out.println("error - rollback");
         } finally {
              session.close();
         sessionFactory.close();
    The errors I'm getting are:
    Code:
    23:41:05,187 INFO [Environment] Hibernate 3.2.4.sp1
    23:41:05,187 INFO [Environment] loaded properties from resource
    hibernate.properties: {hibernate.co
    nnection.username=user, hibernate.connection.password=****,
    hibernate.dialect=org.hibernate.dialect.
    MySQLInnoDBDialect, hibernate.connection.url=jdbc:mysql://localhost:
    3306/eshop, hibernate.bytecode.u
    se_reflection_optimizer=false,
    hibernate.connection.driver_class=com.mysql.jdbc.Driver}
    23:41:05,187 INFO [Environment] Bytecode provider name : javassist
    23:41:05,203 INFO [Environment] using JDK 1.4 java.sql.Timestamp
    handling
    23:41:05,312 INFO [Configuration] Reading mappings from resource:
    hibernateGenerated/Adressen.hbm.x
    ml
    23:41:05,312 INFO [Configuration] Reading mappings from resource:
    hibernateGenerated/Adressen.hbm.x
    ml
    23:41:05,515 INFO [HbmBinder] Mapping class:
    hibernateGenerated.Adressen -> Adressen
    23:41:05,531 INFO [Configuration] configuring from resource: /
    hibernate.cfg.xml
    23:41:05,531 INFO [Configuration] Configuration resource: /
    hibernate.cfg.xml
    23:41:05,546 INFO [Configuration] Configured SessionFactory: null
    23:41:05,656 INFO [DriverManagerConnectionProvider] Using Hibernate
    built-in connection pool (not f
    or production use!)
    23:41:05,656 INFO [DriverManagerConnectionProvider] Hibernate
    connection pool size: 20
    23:41:05,656 INFO [DriverManagerConnectionProvider] autocommit mode:
    false
    23:41:05,656 INFO [DriverManagerConnectionProvider] using driver:
    org.gjt.mm.mysql.Driver at URL: j
    dbc:mysql://localhost/eshop
    23:41:05,656 INFO [DriverManagerConnectionProvider] connection
    properties: {driver_jar=mysql-connec
    tor-java-5.0.6-bin.jar, user=user, password= }
    23:41:05,656 WARN [SettingsFactory] Could not obtain connection
    metadata
    java.sql.SQLException: No suitable driver found for jdbc:mysql://
    localhost/eshop
         at java.sql.DriverManager.getConnection(Unknown Source)
         at java.sql.DriverManager.getConnection(Unknown Source)
         at
    org.hibernate.connection.DriverManagerConnectionProvider.getConnection(DriverManagerConnectionPr
    ovider.java:110)
         at
    org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:
    84)
         at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:
    2009)
         at
    org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:
    1292)
         at sample.RegisterAciton.writeInDatabase(RegisterAciton.java:147)
         at sample.RegisterAciton.execute(RegisterAciton.java:246)
         at
    org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:
    484)
         at
    org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:
    274)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:
    1482)
         at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:
    525)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
         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:
    230)
         at
    org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:
    175)
         at
    org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:
    179)
         at
    org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:
    84)
         at
    org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:
    128)
         at
    org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:
    104)
         at
    org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:
    157)
         at
    org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:
    109)
         at
    org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:
    241)
         at
    org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:
    844)
         at org.apache.coyote.http11.Http11Protocol
    $Http11ConnectionHandler.process(Http11Protocol.java:580)
         at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:
    447)
         at java.lang.Thread.run(Unknown Source)
    23:41:06,046 INFO [Dialect] Using dialect:
    org.hibernate.dialect.MySQLInnoDBDialect
    23:41:06,046 INFO [TransactionFactoryFactory] Using default
    transaction strategy (direct JDBC trans
    actions)
    23:41:06,046 INFO [TransactionManagerLookupFactory] No
    TransactionManagerLookup configured (in JTA
    environment, use of read-write or transactional second-level cache is
    not recommended)
    23:41:06,046 INFO [SettingsFactory] Automatic flush during
    beforeCompletion(): disabled
    23:41:06,046 INFO [SettingsFactory] Automatic session close at end of
    transaction: disabled
    23:41:06,046 INFO [SettingsFactory] Scrollable result sets: disabled
    23:41:06,062 INFO [SettingsFactory] JDBC3 getGeneratedKeys():
    disabled
    23:41:06,062 INFO [SettingsFactory] Connection release mode: auto
    23:41:06,062 INFO [SettingsFactory] Maximum outer join fetch depth: 2
    23:41:06,062 INFO [SettingsFactory] Default batch fetch size: 1
    23:41:06,062 INFO [SettingsFactory] Generate SQL with comments:
    disabled
    23:41:06,062 INFO [SettingsFactory] Order SQL updates by primary key:
    disabled
    23:41:06,062 INFO [SettingsFactory] Order SQL inserts for batching:
    disabled
    23:41:06,062 INFO [SettingsFactory] Query translator:
    org.hibernate.hql.ast.ASTQueryTranslatorFacto
    ry
    23:41:06,062 INFO [ASTQueryTranslatorFactory] Using
    ASTQueryTranslatorFactory
    23:41:06,062 INFO [SettingsFactory] Query language substitutions: {}
    23:41:06,062 INFO [SettingsFactory] JPA-QL strict compliance:
    disabled
    23:41:06,062 INFO [SettingsFactory] Second-level cache: enabled
    23:41:06,062 INFO [SettingsFactory] Query cache: disabled
    23:41:06,062 INFO [SettingsFactory] Cache provider:
    org.hibernate.cache.NoCacheProvider
    23:41:06,062 INFO [SettingsFactory] Optimize cache for minimal puts:
    disabled
    23:41:06,062 INFO [SettingsFactory] Structured second-level cache
    entries: disabled
    23:41:06,078 INFO [SettingsFactory] Statistics: disabled
    23:41:06,078 INFO [SettingsFactory] Deleted entity synthetic
    identifier rollback: disabled
    23:41:06,078 INFO [SettingsFactory] Default entity-mode: pojo
    23:41:06,078 INFO [SettingsFactory] Named query checking : enabled
    23:41:06,125 INFO [SessionFactoryImpl] building session factory
    23:41:06,437 INFO [SessionFactoryObjectFactory] Not binding factory
    to JNDI, no JNDI name configure
    d
    23:41:06,515 WARN [JDBCExceptionReporter] SQL Error: 0, SQLState:
    08001
    23:41:06,515 ERROR [JDBCExceptionReporter] No suitable driver found
    for jdbc:mysql://localhost/eshop
    23:41:06,515 INFO [SessionFactoryImpl] closing
    23:41:06,515 INFO [DriverManagerConnectionProvider] cleaning up
    connection pool: jdbc:mysql://local
    host/eshop
    Can anybody tell me, what I'm doing wrong?

    ClassNotFoundException means the driver isn't loaded. "No suitable driver" usually tells me that the syntax in the connection URL is incorrect for some reason.
    Make sure you have an up to date driver JAR:
    http://www.mysql.com/products/connector/j/
    The driver class name should be com.mysql.jdbc.Driver
    %

  • POWL tab tooltip

    Hi ,
    Each POWL query turns to the tab on the screen.
    Description of query defined in POWL_QUERY transaction turns to the name of tab.
    Each tab has its tooltip.
    Text of the tooltip is the following: "tab_name (0) for Object Type: tab_name"
    How the text of this tooltip can be changed ?
    Thanks,
    Oleg

    Hi guys,
    I've translated both the table entries in POWL_QUERY_T and POWL_TYPE_T and actually can see the translations in
    tcodes powl_query and powl_type. The really strange thing is that only one of my POWL tabs is really translated.
    The others are still staying in English and their tooltips are half in English, half in Italian (the current portal language) e.g. "My Notifications (63) per Tipo oggetto: I miei Avvisi."
    So, it barely means the type translation is loaded OK, but query translation is not loaded correctly.
    Do you have any ideas what can cause this portal malfunction - some sort of caching, etc. ..?
    Thanks in advance
    Best Regards,
    Lalo

  • Currency Translation: Query use different Rates based on country/Currency

    Hi Friends,
    There is a requirement from our client to apply two different Exchange Rates on the rows of a single query (based on the Inflationary status of countries/Currencies).
    For regular set of countries(or Local currencies), we want normal P&L Rate to be applied on local curency.
    But at the same time if it is a High Inflationary country (or currency), the Global Currency should be displayed as it is without any translation.
    Both these effects should happen and appear on the same Key figure column.
    How can we achieve this?
    Looking forward to have your inputs. Thanks in Anticipation!

    Hi Vikram,
    Thanks for the suggestion.
    It seems as if this suggestion could work only when we want to excute for a given country code. In Reality the query will be executed for all countries in one go and we want the query result rows follow different logic for Different LEs or Currency.
    Any further Ideas Pls. Thanks!

  • Currency Translation in Query on InfoSet

    Hi Experts,
    I need to do a currency conversion from 0LOC_CURRENCY to USD on an Infoset. The Data flow is DSOs --> Infoset --> Multiprovider --> Query. I want to do this Translation on Posting date which is in my DSO, Infoset and Multiprovider. I have created custom Translation Type on Postind date (with Exchange Rate Type = M, Fixed Target Currency = USD, Time Reference as Special Infoobject = 0PSTNG_DATE in RSCUR) in RSCUR but in the Query, I cannot see this custom conversion type available, as in report the infoobject 0PSTNG_DATE is available as '<Infoset Name>__FXX' .
    Is there any paricular setting need to be done on an infoset to incorporate Currency Translation on Query ? Also, if there is any other procedure available for Infoset Currency Translation, please let me know.
    Thanks fin advance or all your help.
    Regards,
    Dibyendu

    Hi,
    As I want to do my currency translation on an Infoset the infoobjects do not appear in traditional format. 0PSTING_DATE has taken a name '<Infoset Name>__FXX' (like ZISCURTR__F24). How can I put this reference in RSCUR 'Time Ref' tab in Infoset option over there ? It gives only a F4 help option (donot allow to write something there) and my infoset is not available in the list. Is there any particular setting that I can do in my infoset to make that available in RSCUR F4 help ?
    Please suggest.
    Regards,
    Dibyendu

Maybe you are looking for

  • Calendar display issues for "All Day Events" coming from Exchange Server

    My problem is with the display of All Day events. I'm running a 3gs, Outlook 2007 on winxp, connected to a Exchange 2007 server. When an all day event is put in for multiple days the phone calendar displays it as starting at midnight going to midnigh

  • Project Online Enterprise Resource Pool Limit

    Does anyone know if there's a limit to the size of an ERP in Project Online? We have 30K+ users that need to be added to the ERP... Thanks, Roland

  • Album Art Display question...

    Hello, I am able to sync my songs onto my nano with the album art from ITunes, but when the song plays, the art on the screen is very small. I thought that it would fill the whole screen. Is there a setting or some way to get the album art to fill th

  • Dreamweaver very slow when linking to external CSS style sheets

    I'm working on a site on my PC using Dreamweaver CS6.  When I link to external style sheets, Dreamweaver virtually grinds to a halt.  Just clicking from one line to another can take up 10 seconds.  My PC is high spec, i3720, stripes set drives and 32

  • Can't see printer on PC with airport extreme

    I've been running an Airport Extreme for a couple of years and the printer and internet work great. Just added a PC running Vista, I have to connect to the internet on my iBook before I can connect on the PC. The PC does not see the wireless printer