Giter VIP home page Giter VIP logo

Comments (4)

Delors avatar Delors commented on August 22, 2024

Fixed the bug and added a test case to avoid that the bug will be reintroduced.

from bat.

thomasschlosser avatar thomasschlosser commented on August 22, 2024

First of all, thanks for the fix.
The 'int[]' array type (and still all other array types) did no longer occur in the example that I used above.

This minute, I extracted the dependencies of hibernate and, curiously, the resulting structure contains array types.
And now not only to array types with primitive base types. Source elements of array types with object base types are also extracted and added to the structure.

This is the list of array types that occur in the resulting structure (Currently, I was not beeing able to extract any pattern that helps to identify the faulty code fragment):
boolean[]
byte[]
char[]
int[]
java.beans.PropertyDescriptor[]
java.io.Serializable[]
javax.persistence.Column[]
javax.persistence.ColumnResult[]
javax.persistence.EntityResult[]
javax.persistence.FieldResult[]
javax.persistence.JoinColumn[]
javax.persistence.UniqueConstraint[]
org.hibernate.annotations.JoinColumnOrFormula[]
org.hibernate.annotations.MetaValue[]
org.hibernate.annotations.ParamDef[]
org.hibernate.annotations.Parameter[]
org.hibernate.annotations.Tuplizer[]
org.hibernate.cfg.Ejb3Column[]
org.hibernate.cfg.Ejb3JoinColumn[]
org.hibernate.engine.ValueInclusion[]
org.hibernate.event.PreLoadEventListener[]
org.hibernate.hql.ast.ParameterTranslationsImpl$ParameterInfo[]
org.hibernate.hql.QueryTranslator[]
org.hibernate.loader.EntityAliases[]
org.hibernate.param.ParameterSpecification[][]
org.hibernate.property.Setter[]
org.hibernate.tuple.StandardProperty[]
org.hibernate.type.Type[]

from bat.

Delors avatar Delors commented on August 22, 2024

fixed another bug related to the extraction of array types... hopefully it works now

from bat.

Delors avatar Delors commented on August 22, 2024

(all bugs solved)

Remark (if this bug seems to appear again): if the trait UseIDOf... is mixed in at the wrong place, it may happen that array types will be reported. (This is then a client error and not an error in BAT itself.)

from bat.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.