"Connect to server" option changed in 14.04?? Can't connect using WebDav

83

Regarding the second question, the answer is to type "dav://10.0.1.15:8888/" into the location bar and/or the "Connect to Server" dialog box. This is the prefix that Nautilus uses

Share:
83

Related videos on Youtube

AjFmO
Author by

AjFmO

Updated on September 18, 2022

Comments

  • AjFmO
    AjFmO almost 2 years

    In order to accomplish another task, I need redefine my pojos classes and use property access to take advantage of JavaFX properties in my mentioned classes, but I'm facing this error.

    org.hibernate.MappingException: Could not determine type for: java.util.Set, at table: deposito, for columns: [org.hibernate.mapping.Column(productoses)]
    

    I have already tryied the solutions mentioned in org.hibernate.MappingException: Could not determine type for: java.util.Set and org.hibernate.MappingException: Could not determine type for: java.util.List but still can't make it work.

    Here is my OneToMany entity class and here is my ManyToOne class.

    And this is the stacktrace.

    org.hibernate.MappingException: Could not determine type for: java.util.Set, at table: deposito, for columns: [org.hibernate.mapping.Column(productoses)]
        at org.hibernate.mapping.SimpleValue.getType(SimpleValue.java:455)
        at org.hibernate.mapping.SimpleValue.isValid(SimpleValue.java:422)
        at org.hibernate.mapping.Property.isValid(Property.java:226)
        at org.hibernate.mapping.PersistentClass.validate(PersistentClass.java:597)
        at org.hibernate.mapping.RootClass.validate(RootClass.java:265)
        at org.hibernate.boot.internal.MetadataImpl.validate(MetadataImpl.java:329)
        at org.hibernate.boot.internal.SessionFactoryBuilderImpl.build(SessionFactoryBuilderImpl.java:451)
        at org.hibernate.boot.internal.MetadataImpl.buildSessionFactory(MetadataImpl.java:170)
        at ajfmo.inventario.utils.HibernateUtil.getSessionFactory(HibernateUtil.java:19)
        at ajfmo.inventario.DAO.ProductDAO.<init>(ProductDAO.java:20)
        at ajfmo.inventario.view.MainView.<init>(MainView.java:60)
    

    Edit


    This is my HibernateUtil class. This one is the DAO that appears in the stack trace.


    Thank you in advance, this is my first project using hibernate... Or my first project at all indeed.

    • Rsync
      Rsync about 10 years
      Regarding the second question, the answer is to type "dav://10.0.1.15:8888/" into the location bar and/or the "Connect to Server" dialog box. This is the prefix that Nautilus uses. If someone knows of the list of prefixes, it would be helpful (for example, http does not work.
    • Markus K
      Markus K over 6 years
      So looking at the stack trace the problem seems to be inside the HibernateUtil class. It is invoked by the ProductDAOclass, which is invoked by the MainView class. You should post those instead of the classes you posted. This would help a lot. Also take at look at this to help people solve your problem.
    • AjFmO
      AjFmO over 6 years
      @MarkusK thanks for your comment. I edited the posts and added those two clasess, but I dont think the problem comes from there, I think is the annotation but still haven't found a way to solve it.
  • AjFmO
    AjFmO over 6 years
    @nicolschl Thank you very much! indeed the problem was the misplacing of the annotation. To clarify your doubt just in case, "producto" obviusly is product and "deposito" is warehouse, many products have one warehouse, one warehouse have many products, in my product's table there is a varchar column called "deposito_productos" this a FK of "descripcion_deposito", I found this way a little more easy when it comes to retrieve data, not pretty sure but so far for what I need it works fine, I know that in a future I'll have to do this kind of relationships using the primary/foreign keys. 10x!