-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
Author Message
 Post subject: NullableType - could not read column value from result set
PostPosted: Thu Mar 18, 2010 8:53 pm 
Newbie

Joined: Tue Feb 16, 2010 8:32 pm
Posts: 7
Hi,
INFO [AWT-EventQueue-0] (CustomerImpl.java:72) - Query is "Select c from Customer c where c.paddleNumber = :paddleNumber "
INFO [AWT-EventQueue-0] (NullableType.java:182) - could not read column value from result set: PaddleN15_16_; No data found

The error is generated by this call .
Code:
                result = (Customer)q.getSingleResult();

Any help would be greatly appreciated.
(full console output follows)

Code:
import java.io.Serializable;
import java.util.Collection;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.NamedQueries;
import javax.persistence.NamedQuery;
import javax.persistence.OneToMany;
import javax.persistence.Table;

/**
*
* @author
*/
@Entity
@Table(name = "Customers", catalog = "", schema = "")

public class Customer implements Serializable {
    private static final long serialVersionUID = 1L;
    @Id
    @Column(name = "CustomerID")
    private Integer customerID;
    @Column(name = "LastName", length = 510)
    private String lastName;
    @Column(name = "FirstName", length = 510)
    private String firstName;
    @Column(name = "MiddleName", length = 510)
    private String middleName;
    @Column(name = "Title", length = 510)
    private String title;
    @Column(name = "PartnerLastName", length = 510)
    private String partnerLastName;
    @Column(name = "PartnerFirstName", length = 510)
    private String partnerFirstName;
    @Column(name = "PartnerMiddleName", length = 510)
    private String partnerMiddleName;
    @Column(name = "PartnerTitle", length = 510)
    private String partnerTitle;
    @Column(name = "PaddleNumber")
    private Integer paddleNumber;
    @Column(name = "TableNumber", length = 100)
    private String tableNumber;
    @Column(name = "Classification", length = 510)
    private String classification;
    @Column(name = "Sponsor", length = 510)
    private String sponsor;
    @Column(name = "IfExpress")
    private Boolean ifExpress;
    @Column(name = "Address1", length = 510)
    private String address1;
    @Column(name = "Address2", length = 510)
    private String address2;
    @Column(name = "City", length = 510)
    private String city;
    @Column(name = "Phone", length = 510)
    private String phone;
    @Column(name = "State", length = 510)
    private String state;
    @Column(name = "Zip", length = 510)
    private String zip;
    @Column(name = "Payment")
    private Integer payment;
    @Column(name = "Attendee1", length = 100)
    private String attendee1;
    @Column(name = "Attendee2", length = 100)
    private String attendee2;
    @Column(name = "Attendee3", length = 100)
    private String attendee3;
    @Column(name = "Email", length = 100)
    private String email;
    @Column(name = "Company", length = 200)
    private String company;
    @OneToMany(mappedBy = "customerID")
    private Collection<Payments> paymentsCollection;
    @OneToMany(mappedBy = "paddleNumber")
    private Collection<NonCatalog> nonCatalogCollection;
    @OneToMany(mappedBy = "customerID")
    private Collection<Bids> bidsCollection;

    public Customer() {
    }

    public Customer(Integer paddleNumber) {
        this.paddleNumber = paddleNumber;
    }

    public Integer getCustomerID() {
        return customerID;
    }

    public void setCustomerID(Integer customerID) {
        this.customerID = customerID;
    }

    public String getLastName() {
        return lastName;
    }

    public void setLastName(String lastName) {
        this.lastName = lastName;
    }

    public String getFirstName() {
        return firstName;
    }

    public void setFirstName(String firstName) {
        this.firstName = firstName;
    }

    public String getMiddleName() {
        return middleName;
    }

    public void setMiddleName(String middleName) {
        this.middleName = middleName;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getPartnerLastName() {
        return partnerLastName;
    }

    public void setPartnerLastName(String partnerLastName) {
        this.partnerLastName = partnerLastName;
    }

    public String getPartnerFirstName() {
        return partnerFirstName;
    }

    public void setPartnerFirstName(String partnerFirstName) {
        this.partnerFirstName = partnerFirstName;
    }

    public String getPartnerMiddleName() {
        return partnerMiddleName;
    }

    public void setPartnerMiddleName(String partnerMiddleName) {
        this.partnerMiddleName = partnerMiddleName;
    }

    public String getPartnerTitle() {
        return partnerTitle;
    }

    public void setPartnerTitle(String partnerTitle) {
        this.partnerTitle = partnerTitle;
    }

    public Integer getPaddleNumber() {
        return paddleNumber;
    }

    public void setPaddleNumber(Integer paddleNumber) {
        this.paddleNumber = paddleNumber;
    }

    public String getTableNumber() {
        return tableNumber;
    }

    public void setTableNumber(String tableNumber) {
        this.tableNumber = tableNumber;
    }

    public String getClassification() {
        return classification;
    }

    public void setClassification(String classification) {
        this.classification = classification;
    }

    public String getSponsor() {
        return sponsor;
    }

    public void setSponsor(String sponsor) {
        this.sponsor = sponsor;
    }

    public Boolean getIfExpress() {
        return ifExpress;
    }

    public void setIfExpress(Boolean ifExpress) {
        this.ifExpress = ifExpress;
    }

    public String getAddress1() {
        return address1;
    }

    public void setAddress1(String address1) {
        this.address1 = address1;
    }

    public String getAddress2() {
        return address2;
    }

    public void setAddress2(String address2) {
        this.address2 = address2;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getZip() {
        return zip;
    }

    public void setZip(String zip) {
        this.zip = zip;
    }

    public Integer getPayment() {
        return payment;
    }

    public void setPayment(Integer payment) {
        this.payment = payment;
    }

    public String getAttendee1() {
        return attendee1;
    }

    public void setAttendee1(String attendee1) {
        this.attendee1 = attendee1;
    }

    public String getAttendee2() {
        return attendee2;
    }

    public void setAttendee2(String attendee2) {
        this.attendee2 = attendee2;
    }

    public String getAttendee3() {
        return attendee3;
    }

    public void setAttendee3(String attendee3) {
        this.attendee3 = attendee3;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getCompany() {
        return company;
    }

    public void setCompany(String company) {
        this.company = company;
    }

    public Collection<Payments> getPaymentsCollection() {
        return paymentsCollection;
    }

    public void setPaymentsCollection(Collection<Payments> paymentsCollection) {
        this.paymentsCollection = paymentsCollection;
    }

    public Collection<NonCatalog> getNonCatalogCollection() {
        return nonCatalogCollection;
    }

    public void setNonCatalogCollection(Collection<NonCatalog> nonCatalogCollection) {
        this.nonCatalogCollection = nonCatalogCollection;
    }

    public Collection<Bids> getBidsCollection() {
        return bidsCollection;
    }

    public void setBidsCollection(Collection<Bids> bidsCollection) {
        this.bidsCollection = bidsCollection;
    }

    @Override
    public int hashCode() {
        int hash = 0;
        hash += (paddleNumber != null ? paddleNumber.hashCode() : 0);
        return hash;
    }

    @Override
    public boolean equals(Object object) {
        // TODO: Warning - this method won't work in the case the id fields are not set
        if (!(object instanceof Customer)) {
            return false;
        }
        Customer other = (Customer) object;
        if ((this.paddleNumber == null && other.paddleNumber != null) || (this.paddleNumber != null && !this.paddleNumber.equals(other.paddleNumber))) {
            return false;
        }
        return true;
    }

    @Override
    public String toString() {
        return "com.az.auctionsync.model.Customer[paddleNumber=" + paddleNumber + "]";
    }

}


Code:
init:
Deleting: C:\Documents and Settings\AZ\My Documents\NetBeansProjects\paystation\build\built-jar.properties
deps-jar:
Updating property file: C:\Documents and Settings\AZ\My Documents\NetBeansProjects\paystation\build\built-jar.properties
AuctionSync.init:
AuctionSync.deps-jar:
Updating property file: C:\Documents and Settings\AZ\My Documents\NetBeansProjects\paystation\build\built-jar.properties
Entity.init:
Entity.deps-jar:
Updating property file: C:\Documents and Settings\AZ\My Documents\NetBeansProjects\paystation\build\built-jar.properties
Compiling 1 source file to C:\Documents and Settings\AZ\My Documents\NetBeansProjects\Entity\build\classes
Entity.compile:
Building jar: C:\Documents and Settings\AZ\My Documents\NetBeansProjects\Entity\dist\Entity.jar
Copy libraries to C:\Documents and Settings\AZ\My Documents\NetBeansProjects\Entity\dist\lib.
Entity.jar:
Compiling 1 source file to C:\Documents and Settings\AZ\My Documents\NetBeansProjects\AuctionSync\build\classes
Note: C:\Documents and Settings\AZ\My Documents\NetBeansProjects\AuctionSync\src\com\az\auctionsync\model\CustomerImpl.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
AuctionSync.compile:
Building jar: C:\Documents and Settings\AZ\My Documents\NetBeansProjects\AuctionSync\dist\AuctionSync.jar
Copy libraries to C:\Documents and Settings\AZ\My Documents\NetBeansProjects\AuctionSync\dist\lib.
To run this application from the command line without Ant, try:
java -jar "C:\Documents and Settings\AZ\My Documents\NetBeansProjects\AuctionSync\dist\AuctionSync.jar"
AuctionSync.jar:
SwipeCard.init:
SwipeCard.deps-jar:
Updating property file: C:\Documents and Settings\AZ\My Documents\NetBeansProjects\paystation\build\built-jar.properties
SwipeCard.compile:
Copy libraries to C:\Documents and Settings\AZ\My Documents\NetBeansProjects\swipecard\dist\lib.
To run this application from the command line without Ant, try:
java -jar "C:\Documents and Settings\AZ\My Documents\NetBeansProjects\swipecard\dist\SwipeCard.jar"
SwipeCard.jar:
compile:
INFO [AWT-EventQueue-0] (Version.java:15) - Hibernate Annotations 3.3.1.GA
INFO [AWT-EventQueue-0] (Environment.java:514) - Hibernate 3.2.5
INFO [AWT-EventQueue-0] (Environment.java:547) - hibernate.properties not found
INFO [AWT-EventQueue-0] (Environment.java:681) - Bytecode provider name : cglib
INFO [AWT-EventQueue-0] (Environment.java:598) - using JDK 1.4 java.sql.Timestamp handling
INFO [AWT-EventQueue-0] (Version.java:15) - Hibernate EntityManager 3.3.2.GA
INFO [AWT-EventQueue-0] (AnnotationBinder.java:418) - Binding entity from annotated class: com.az.entity.paystation.model.Organization
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: Organization.findAll => SELECT o FROM Organization o
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: Organization.findByOrganizationId => SELECT o FROM Organization o WHERE o.organizationId = :organizationId
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: Organization.findByOrganizationName => SELECT o FROM Organization o WHERE o.organizationName = :organizationName
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: Organization.findByPhoneNumber => SELECT o FROM Organization o WHERE o.phoneNumber = :phoneNumber
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: Organization.findByWebSite => SELECT o FROM Organization o WHERE o.webSite = :webSite
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: Organization.findByPassword => SELECT o FROM Organization o WHERE o.password = :password
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: Organization.findByPasswordHint => SELECT o FROM Organization o WHERE o.passwordHint = :passwordHint
INFO [AWT-EventQueue-0] (EntityBinder.java:424) - Bind entity com.az.entity.paystation.model.Organization on table ORGANIZATION
INFO [AWT-EventQueue-0] (AnnotationBinder.java:418) - Binding entity from annotated class: com.az.entity.paystation.model.Bid
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: Bid.findAll => SELECT b FROM Bid b
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: Bid.findByBidId => SELECT b FROM Bid b WHERE b.bidId = :bidId
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: Bid.findByBidDate => SELECT b FROM Bid b WHERE b.bidDate = :bidDate
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: Bid.findByBidderNumber => SELECT b FROM Bid b WHERE b.bidderNumber = :bidderNumber
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: Bid.findByAmount => SELECT b FROM Bid b WHERE b.amount = :amount
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: Bid.findByCardHolderName => SELECT b FROM Bid b WHERE b.cardHolderName = :cardHolderName
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: Bid.findByCardType => SELECT b FROM Bid b WHERE b.cardType = :cardType
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: Bid.findByCardNumber => SELECT b FROM Bid b WHERE b.cardNumber = :cardNumber
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: Bid.findByCardExpiry => SELECT b FROM Bid b WHERE b.cardExpiry = :cardExpiry
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: Bid.findByCardHolderEmail => SELECT b FROM Bid b WHERE b.cardHolderEmail = :cardHolderEmail
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: Bid.findByCcv => SELECT b FROM Bid b WHERE b.ccv = :ccv
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: Bid.findByPhoneNumber => SELECT b FROM Bid b WHERE b.phoneNumber = :phoneNumber
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: Bid.findByReference => SELECT b FROM Bid b WHERE b.reference = :reference
INFO [AWT-EventQueue-0] (EntityBinder.java:424) - Bind entity com.az.entity.paystation.model.Bid on table BID
INFO [AWT-EventQueue-0] (AnnotationBinder.java:418) - Binding entity from annotated class: com.az.entity.paystation.model.Auction
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: Auction.findAll => SELECT a FROM Auction a
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: Auction.findByAuctionId => SELECT a FROM Auction a WHERE a.auctionId = :auctionId
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: Auction.findByBatchName => SELECT a FROM Auction a WHERE a.batchName = :batchName
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: Auction.findByAuctionName => SELECT a FROM Auction a WHERE a.auctionName = :auctionName
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: Auction.findByReceiptHeader1 => SELECT a FROM Auction a WHERE a.receiptHeader1 = :receiptHeader1
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: Auction.findByReceiptHeader2 => SELECT a FROM Auction a WHERE a.receiptHeader2 = :receiptHeader2
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: Auction.findByReceiptTypeOrganization => SELECT a FROM Auction a WHERE a.receiptTypeOrganization = :receiptTypeOrganization
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: Auction.findByReceiptTypeCardholder => SELECT a FROM Auction a WHERE a.receiptTypeCardholder = :receiptTypeCardholder
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: Auction.findByPassword => SELECT a FROM Auction a WHERE a.password = :password
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: Auction.findByPasswordHint => SELECT a FROM Auction a WHERE a.passwordHint = :passwordHint
INFO [AWT-EventQueue-0] (EntityBinder.java:424) - Bind entity com.az.entity.paystation.model.Auction on table AUCTION
INFO [AWT-EventQueue-0] (CollectionBinder.java:651) - Mapping collection: com.az.entity.paystation.model.Organization.auctionCollection -> AUCTION
INFO [AWT-EventQueue-0] (CollectionBinder.java:651) - Mapping collection: com.az.entity.paystation.model.Auction.bidCollection -> BID
INFO [AWT-EventQueue-0] (AnnotationConfiguration.java:365) - Hibernate Validator not found: ignoring
INFO [AWT-EventQueue-0] (DriverManagerConnectionProvider.java:41) - Using Hibernate built-in connection pool (not for production use!)
INFO [AWT-EventQueue-0] (DriverManagerConnectionProvider.java:42) - Hibernate connection pool size: 20
INFO [AWT-EventQueue-0] (DriverManagerConnectionProvider.java:45) - autocommit mode: true
INFO [AWT-EventQueue-0] (DriverManagerConnectionProvider.java:80) - using driver: org.apache.derby.jdbc.EmbeddedDriver at URL: jdbc:derby:C:\Documents and Settings\AZ/Application Data/AuctionZoom/PayStation/storage/datastore;dataEncryption=true;bootPassword=auction_zoom;create=true
INFO [AWT-EventQueue-0] (DriverManagerConnectionProvider.java:86) - connection properties: {user=auction_zoom, password=****, autocommit=true, release_mode=auto}
INFO [AWT-EventQueue-0] (SettingsFactory.java:89) - RDBMS: Apache Derby, version: 10.5.3.0 - (802917)
INFO [AWT-EventQueue-0] (SettingsFactory.java:90) - JDBC driver: Apache Derby Embedded JDBC Driver, version: 10.5.3.0 - (802917)
INFO [AWT-EventQueue-0] (Dialect.java:152) - Using dialect: org.hibernate.dialect.DerbyDialect
INFO [AWT-EventQueue-0] (TransactionFactoryFactory.java:34) - Transaction strategy: org.hibernate.transaction.JDBCTransactionFactory
INFO [AWT-EventQueue-0] (TransactionManagerLookupFactory.java:33) - No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended)
INFO [AWT-EventQueue-0] (SettingsFactory.java:143) - Automatic flush during beforeCompletion(): disabled
INFO [AWT-EventQueue-0] (SettingsFactory.java:147) - Automatic session close at end of transaction: disabled
INFO [AWT-EventQueue-0] (SettingsFactory.java:162) - Scrollable result sets: enabled
INFO [AWT-EventQueue-0] (SettingsFactory.java:170) - JDBC3 getGeneratedKeys(): disabled
INFO [AWT-EventQueue-0] (SettingsFactory.java:178) - Connection release mode: auto
INFO [AWT-EventQueue-0] (SettingsFactory.java:205) - Default batch fetch size: 1
INFO [AWT-EventQueue-0] (SettingsFactory.java:209) - Generate SQL with comments: disabled
INFO [AWT-EventQueue-0] (SettingsFactory.java:213) - Order SQL updates by primary key: disabled
INFO [AWT-EventQueue-0] (SettingsFactory.java:217) - Order SQL inserts for batching: disabled
INFO [AWT-EventQueue-0] (SettingsFactory.java:386) - Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
INFO [AWT-EventQueue-0] (ASTQueryTranslatorFactory.java:24) - Using ASTQueryTranslatorFactory
INFO [AWT-EventQueue-0] (SettingsFactory.java:225) - Query language substitutions: {}
INFO [AWT-EventQueue-0] (SettingsFactory.java:230) - JPA-QL strict compliance: enabled
INFO [AWT-EventQueue-0] (SettingsFactory.java:235) - Second-level cache: enabled
INFO [AWT-EventQueue-0] (SettingsFactory.java:239) - Query cache: disabled
INFO [AWT-EventQueue-0] (SettingsFactory.java:373) - Cache provider: org.hibernate.cache.NoCacheProvider
INFO [AWT-EventQueue-0] (SettingsFactory.java:254) - Optimize cache for minimal puts: disabled
INFO [AWT-EventQueue-0] (SettingsFactory.java:263) - Structured second-level cache entries: disabled
INFO [AWT-EventQueue-0] (SettingsFactory.java:290) - Statistics: disabled
INFO [AWT-EventQueue-0] (SettingsFactory.java:294) - Deleted entity synthetic identifier rollback: disabled
INFO [AWT-EventQueue-0] (SettingsFactory.java:309) - Default entity-mode: pojo
INFO [AWT-EventQueue-0] (SettingsFactory.java:313) - Named query checking : enabled
INFO [AWT-EventQueue-0] (SessionFactoryImpl.java:161) - building session factory
INFO [AWT-EventQueue-0] (SessionFactoryObjectFactory.java:82) - Not binding factory to JNDI, no JNDI name configured
INFO [AWT-EventQueue-0] (SchemaUpdate.java:115) - Running hbm2ddl schema update
INFO [AWT-EventQueue-0] (SchemaUpdate.java:126) - fetching database metadata
INFO [AWT-EventQueue-0] (SchemaUpdate.java:138) - updating schema
INFO [AWT-EventQueue-0] (TableMetadata.java:39) - table found: .AUCTION_ZOOM.AUCTION
INFO [AWT-EventQueue-0] (TableMetadata.java:40) - columns: [auction_id, organization_id, batch_name, receipt_type_organization, auction_name, password_hint, receipt_type_cardholder, password, receipt_header_2, receipt_header_1]
INFO [AWT-EventQueue-0] (TableMetadata.java:42) - foreign keys: [fk3586a23eb742d9e]
INFO [AWT-EventQueue-0] (TableMetadata.java:43) - indexes: [sql100316123810540, sql100316123809930]
INFO [AWT-EventQueue-0] (TableMetadata.java:39) - table found: .AUCTION_ZOOM.BID
INFO [AWT-EventQueue-0] (TableMetadata.java:40) - columns: [bid_id, card_holder_email, card_expiry, phone_number, card_number, bid_date, ccv, reference, bidder_number, amount, card_holder_name, auction_id, card_type]
INFO [AWT-EventQueue-0] (TableMetadata.java:42) - foreign keys: [fk100dd16dc8f96]
INFO [AWT-EventQueue-0] (TableMetadata.java:43) - indexes: [sql100316123810170, sql100316123810810]
INFO [AWT-EventQueue-0] (TableMetadata.java:39) - table found: .AUCTION_ZOOM.ORGANIZATION
INFO [AWT-EventQueue-0] (TableMetadata.java:40) - columns: [phone_number, organization_id, password_hint, web_site, password, organization_name]
INFO [AWT-EventQueue-0] (TableMetadata.java:42) - foreign keys: []
INFO [AWT-EventQueue-0] (TableMetadata.java:43) - indexes: [sql100316123810350]
INFO [AWT-EventQueue-0] (SchemaUpdate.java:160) - schema update complete
WARN [AWT-EventQueue-0] (JDBCExceptionReporter.java:54) - SQL Warning: 10000, SQLState: 01J01
WARN [AWT-EventQueue-0] (JDBCExceptionReporter.java:55) - Database 'C:\Documents and Settings\AZ/Application Data/AuctionZoom/PayStation/storage/datastore' not created, connection made to existing database instead.
INFO [AWT-EventQueue-0] (AnnotationBinder.java:418) - Binding entity from annotated class: com.charityauctionhelp.auctioncheckoutpro.model.NonCatalog
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: NonCatalog.findAll => SELECT n FROM NonCatalog n
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: NonCatalog.findByNonCatalogID => SELECT n FROM NonCatalog n WHERE n.nonCatalogID = :nonCatalogID
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: NonCatalog.findByAmount => SELECT n FROM NonCatalog n WHERE n.amount = :amount
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: NonCatalog.findByItemName => SELECT n FROM NonCatalog n WHERE n.itemName = :itemName
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: NonCatalog.findByInvoiceValue => SELECT n FROM NonCatalog n WHERE n.invoiceValue = :invoiceValue
INFO [AWT-EventQueue-0] (EntityBinder.java:424) - Bind entity com.charityauctionhelp.auctioncheckoutpro.model.NonCatalog on table NonCatalog
INFO [AWT-EventQueue-0] (AnnotationBinder.java:418) - Binding entity from annotated class: com.charityauctionhelp.auctioncheckoutpro.model.Activities
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: Activities.findAll => SELECT a FROM Activities a
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: Activities.findByActivity => SELECT a FROM Activities a WHERE a.activity = :activity
INFO [AWT-EventQueue-0] (EntityBinder.java:424) - Bind entity com.charityauctionhelp.auctioncheckoutpro.model.Activities on table Activities
INFO [AWT-EventQueue-0] (AnnotationBinder.java:418) - Binding entity from annotated class: com.charityauctionhelp.auctioncheckoutpro.model.Categories
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: Categories.findAll => SELECT c FROM Categories c
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: Categories.findByCategory => SELECT c FROM Categories c WHERE c.category = :category
INFO [AWT-EventQueue-0] (EntityBinder.java:424) - Bind entity com.charityauctionhelp.auctioncheckoutpro.model.Categories on table Categories
INFO [AWT-EventQueue-0] (AnnotationBinder.java:418) - Binding entity from annotated class: com.charityauctionhelp.auctioncheckoutpro.model.Items
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: Items.findAll => SELECT i FROM Items i
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: Items.findByItemID => SELECT i FROM Items i WHERE i.itemID = :itemID
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: Items.findByTitle => SELECT i FROM Items i WHERE i.title = :title
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: Items.findByCatalogNumber => SELECT i FROM Items i WHERE i.catalogNumber = :catalogNumber
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: Items.findByValue => SELECT i FROM Items i WHERE i.value = :value
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: Items.findByDonorLastName => SELECT i FROM Items i WHERE i.donorLastName = :donorLastName
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: Items.findByDonorFirstName => SELECT i FROM Items i WHERE i.donorFirstName = :donorFirstName
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: Items.findByCategory => SELECT i FROM Items i WHERE i.category = :category
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: Items.findByType => SELECT i FROM Items i WHERE i.type = :type
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: Items.findByCompany => SELECT i FROM Items i WHERE i.company = :company
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: Items.findByAddress1 => SELECT i FROM Items i WHERE i.address1 = :address1
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: Items.findByAddress2 => SELECT i FROM Items i WHERE i.address2 = :address2
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: Items.findByCity => SELECT i FROM Items i WHERE i.city = :city
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: Items.findByPhone => SELECT i FROM Items i WHERE i.phone = :phone
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: Items.findByState => SELECT i FROM Items i WHERE i.state = :state
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: Items.findByZip => SELECT i FROM Items i WHERE i.zip = :zip
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: Items.findByIfSurcharge => SELECT i FROM Items i WHERE i.ifSurcharge = :ifSurcharge
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: Items.findByItem1 => SELECT i FROM Items i WHERE i.item1 = :item1
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: Items.findByItem2 => SELECT i FROM Items i WHERE i.item2 = :item2
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: Items.findByItem3 => SELECT i FROM Items i WHERE i.item3 = :item3
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: Items.findByStartingBid => SELECT i FROM Items i WHERE i.startingBid = :startingBid
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: Items.findByIncrement => SELECT i FROM Items i WHERE i.increment = :increment
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: Items.findByLabelchoice => SELECT i FROM Items i WHERE i.labelchoice = :labelchoice
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: Items.findByItemdt => SELECT i FROM Items i WHERE i.itemdt = :itemdt
INFO [AWT-EventQueue-0] (EntityBinder.java:424) - Bind entity com.charityauctionhelp.auctioncheckoutpro.model.Items on table Items
INFO [AWT-EventQueue-0] (AnnotationBinder.java:418) - Binding entity from annotated class: com.charityauctionhelp.auctioncheckoutpro.model.Payments
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: Payments.findAll => SELECT p FROM Payments p
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: Payments.findByPaymentID => SELECT p FROM Payments p WHERE p.paymentID = :paymentID
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: Payments.findByMethod => SELECT p FROM Payments p WHERE p.method = :method
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: Payments.findByInvoiceNumber => SELECT p FROM Payments p WHERE p.invoiceNumber = :invoiceNumber
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: Payments.findByAmount => SELECT p FROM Payments p WHERE p.amount = :amount
INFO [AWT-EventQueue-0] (EntityBinder.java:424) - Bind entity com.charityauctionhelp.auctioncheckoutpro.model.Payments on table Payments
INFO [AWT-EventQueue-0] (AnnotationBinder.java:418) - Binding entity from annotated class: com.charityauctionhelp.auctioncheckoutpro.model.PaymentsBalance
INFO [AWT-EventQueue-0] (EntityBinder.java:424) - Bind entity com.charityauctionhelp.auctioncheckoutpro.model.PaymentsBalance on table PaymentsBalance
INFO [AWT-EventQueue-0] (AnnotationBinder.java:418) - Binding entity from annotated class: com.charityauctionhelp.auctioncheckoutpro.model.Classifications
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: Classifications.findAll => SELECT c FROM Classifications c
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: Classifications.findByClassification => SELECT c FROM Classifications c WHERE c.classification = :classification
INFO [AWT-EventQueue-0] (EntityBinder.java:424) - Bind entity com.charityauctionhelp.auctioncheckoutpro.model.Classifications on table Classifications
INFO [AWT-EventQueue-0] (AnnotationBinder.java:418) - Binding entity from annotated class: com.charityauctionhelp.auctioncheckoutpro.model.Company
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: Company.findAll => SELECT c FROM Company c
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: Company.findByComanyID => SELECT c FROM Company c WHERE c.comanyID = :comanyID
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: Company.findByOrganization => SELECT c FROM Company c WHERE c.organization = :organization
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: Company.findByAddress1 => SELECT c FROM Company c WHERE c.address1 = :address1
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: Company.findByAddress2 => SELECT c FROM Company c WHERE c.address2 = :address2
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: Company.findByCity => SELECT c FROM Company c WHERE c.city = :city
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: Company.findByState => SELECT c FROM Company c WHERE c.state = :state
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: Company.findByZip => SELECT c FROM Company c WHERE c.zip = :zip
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: Company.findByPhone => SELECT c FROM Company c WHERE c.phone = :phone
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: Company.findByTaxStatement => SELECT c FROM Company c WHERE c.taxStatement = :taxStatement
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: Company.findByTaxID => SELECT c FROM Company c WHERE c.taxID = :taxID
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: Company.findByCheckPayable => SELECT c FROM Company c WHERE c.checkPayable = :checkPayable
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: Company.findByEventName => SELECT c FROM Company c WHERE c.eventName = :eventName
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: Company.findByEventDate => SELECT c FROM Company c WHERE c.eventDate = :eventDate
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: Company.findBySurchargeTitle => SELECT c FROM Company c WHERE c.surchargeTitle = :surchargeTitle
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: Company.findBySurcharge => SELECT c FROM Company c WHERE c.surcharge = :surcharge
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: Company.findByDefaultPercentage => SELECT c FROM Company c WHERE c.defaultPercentage = :defaultPercentage
INFO [AWT-EventQueue-0] (EntityBinder.java:424) - Bind entity com.charityauctionhelp.auctioncheckoutpro.model.Company on table Company
INFO [AWT-EventQueue-0] (AnnotationBinder.java:418) - Binding entity from annotated class: com.charityauctionhelp.auctioncheckoutpro.model.Bids
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: Bids.findAll => SELECT b FROM Bids b
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: Bids.findByBidID => SELECT b FROM Bids b WHERE b.bidID = :bidID
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: Bids.findByItemID => SELECT b FROM Bids b WHERE b.itemID = :itemID
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: Bids.findByPrice => SELECT b FROM Bids b WHERE b.price = :price
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: Bids.findByActivity => SELECT b FROM Bids b WHERE b.activity = :activity
INFO [AWT-EventQueue-0] (EntityBinder.java:424) - Bind entity com.charityauctionhelp.auctioncheckoutpro.model.Bids on table Bids
INFO [AWT-EventQueue-0] (AnnotationBinder.java:418) - Binding entity from annotated class: com.charityauctionhelp.auctioncheckoutpro.model.Types
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: Types.findAll => SELECT t FROM Types t
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: Types.findByType => SELECT t FROM Types t WHERE t.type = :type
INFO [AWT-EventQueue-0] (EntityBinder.java:424) - Bind entity com.charityauctionhelp.auctioncheckoutpro.model.Types on table Types
INFO [AWT-EventQueue-0] (AnnotationBinder.java:418) - Binding entity from annotated class: com.charityauctionhelp.auctioncheckoutpro.model.Customer
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: Customer.findAll => SELECT c FROM Customer c
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: Customer.findByCustomerID => SELECT c FROM Customer c WHERE c.customerID = :customerID
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: Customer.findByLastName => SELECT c FROM Customer c WHERE c.lastName = :lastName
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: Customer.findByFirstName => SELECT c FROM Customer c WHERE c.firstName = :firstName
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: Customer.findByMiddleName => SELECT c FROM Customer c WHERE c.middleName = :middleName
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: Customer.findByTitle => SELECT c FROM Customer c WHERE c.title = :title
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: Customer.findByPartnerLastName => SELECT c FROM Customer c WHERE c.partnerLastName = :partnerLastName
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: Customer.findByPartnerFirstName => SELECT c FROM Customer c WHERE c.partnerFirstName = :partnerFirstName
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: Customer.findByPartnerMiddleName => SELECT c FROM Customer c WHERE c.partnerMiddleName = :partnerMiddleName
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: Customer.findByPartnerTitle => SELECT c FROM Customer c WHERE c.partnerTitle = :partnerTitle
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: Customer.findByPaddleNumber => SELECT c FROM Customer c WHERE c.paddleNumber = :paddleNumber
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: Customer.findByTableNumber => SELECT c FROM Customer c WHERE c.tableNumber = :tableNumber
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: Customer.findByClassification => SELECT c FROM Customer c WHERE c.classification = :classification
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: Customer.findBySponsor => SELECT c FROM Customer c WHERE c.sponsor = :sponsor
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: Customer.findByIfExpress => SELECT c FROM Customer c WHERE c.ifExpress = :ifExpress
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: Customer.findByAddress1 => SELECT c FROM Customer c WHERE c.address1 = :address1
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: Customer.findByAddress2 => SELECT c FROM Customer c WHERE c.address2 = :address2
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: Customer.findByCity => SELECT c FROM Customer c WHERE c.city = :city
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: Customer.findByPhone => SELECT c FROM Customer c WHERE c.phone = :phone
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: Customer.findByState => SELECT c FROM Customer c WHERE c.state = :state
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: Customer.findByZip => SELECT c FROM Customer c WHERE c.zip = :zip
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: Customer.findByPayment => SELECT c FROM Customer c WHERE c.payment = :payment
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: Customer.findByAttendee1 => SELECT c FROM Customer c WHERE c.attendee1 = :attendee1
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: Customer.findByAttendee2 => SELECT c FROM Customer c WHERE c.attendee2 = :attendee2
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: Customer.findByAttendee3 => SELECT c FROM Customer c WHERE c.attendee3 = :attendee3
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: Customer.findByEmail => SELECT c FROM Customer c WHERE c.email = :email
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: Customer.findByCompany => SELECT c FROM Customer c WHERE c.company = :company
INFO [AWT-EventQueue-0] (EntityBinder.java:424) - Bind entity com.charityauctionhelp.auctioncheckoutpro.model.Customer on table Customers
INFO [AWT-EventQueue-0] (AnnotationBinder.java:418) - Binding entity from annotated class: com.charityauctionhelp.auctioncheckoutpro.model.Sponsors
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: Sponsors.findAll => SELECT s FROM Sponsors s
INFO [AWT-EventQueue-0] (QueryBinder.java:64) - Binding Named query: Sponsors.findBySponsor => SELECT s FROM Sponsors s WHERE s.sponsor = :sponsor
INFO [AWT-EventQueue-0] (EntityBinder.java:424) - Bind entity com.charityauctionhelp.auctioncheckoutpro.model.Sponsors on table Sponsors
INFO [AWT-EventQueue-0] (CollectionBinder.java:651) - Mapping collection: com.charityauctionhelp.auctioncheckoutpro.model.Customer.bidsCollection -> Bids
INFO [AWT-EventQueue-0] (CollectionBinder.java:651) - Mapping collection: com.charityauctionhelp.auctioncheckoutpro.model.Customer.nonCatalogCollection -> NonCatalog
INFO [AWT-EventQueue-0] (CollectionBinder.java:651) - Mapping collection: com.charityauctionhelp.auctioncheckoutpro.model.Customer.paymentsCollection -> Payments
INFO [AWT-EventQueue-0] (AnnotationConfiguration.java:365) - Hibernate Validator not found: ignoring
INFO [AWT-EventQueue-0] (DriverManagerConnectionProvider.java:41) - Using Hibernate built-in connection pool (not for production use!)
INFO [AWT-EventQueue-0] (DriverManagerConnectionProvider.java:42) - Hibernate connection pool size: 20
INFO [AWT-EventQueue-0] (DriverManagerConnectionProvider.java:45) - autocommit mode: true
WARN [AWT-EventQueue-0] (DriverManagerConnectionProvider.java:52) - no JDBC Driver class was specified by property hibernate.connection.driver_class
INFO [AWT-EventQueue-0] (DriverManagerConnectionProvider.java:80) - using driver: null at URL: jdbc:odbc:Driver={Microsoft Access Driver (*.mdb)};DBQ=C:\Program Files\AuctionCheckoutPro\AuctionCheckout.mdb;DriverID=22;READONLY=false
INFO [AWT-EventQueue-0] (DriverManagerConnectionProvider.java:86) - connection properties: {user=, password=****, autocommit=true, release_mode=auto}
INFO [AWT-EventQueue-0] (SettingsFactory.java:89) - RDBMS: ACCESS, version: 2.0
INFO [AWT-EventQueue-0] (SettingsFactory.java:90) - JDBC driver: JDBC-ODBC Bridge (odbcjt32.dll), version: 2.0001 (04.00.6305)
INFO [AWT-EventQueue-0] (Dialect.java:152) - Using dialect: com.az.auctionsync.model.MSAccessDialect
INFO [AWT-EventQueue-0] (TransactionFactoryFactory.java:34) - Transaction strategy: org.hibernate.transaction.JDBCTransactionFactory
INFO [AWT-EventQueue-0] (TransactionManagerLookupFactory.java:33) - No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended)
INFO [AWT-EventQueue-0] (SettingsFactory.java:143) - Automatic flush during beforeCompletion(): disabled
INFO [AWT-EventQueue-0] (SettingsFactory.java:147) - Automatic session close at end of transaction: disabled
INFO [AWT-EventQueue-0] (SettingsFactory.java:162) - Scrollable result sets: enabled
INFO [AWT-EventQueue-0] (SettingsFactory.java:170) - JDBC3 getGeneratedKeys(): disabled
INFO [AWT-EventQueue-0] (SettingsFactory.java:178) - Connection release mode: auto
INFO [AWT-EventQueue-0] (SettingsFactory.java:205) - Default batch fetch size: 1
INFO [AWT-EventQueue-0] (SettingsFactory.java:209) - Generate SQL with comments: disabled
INFO [AWT-EventQueue-0] (SettingsFactory.java:213) - Order SQL updates by primary key: disabled
INFO [AWT-EventQueue-0] (SettingsFactory.java:217) - Order SQL inserts for batching: disabled
INFO [AWT-EventQueue-0] (SettingsFactory.java:386) - Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
INFO [AWT-EventQueue-0] (ASTQueryTranslatorFactory.java:24) - Using ASTQueryTranslatorFactory
INFO [AWT-EventQueue-0] (SettingsFactory.java:225) - Query language substitutions: {}
INFO [AWT-EventQueue-0] (SettingsFactory.java:230) - JPA-QL strict compliance: enabled
INFO [AWT-EventQueue-0] (SettingsFactory.java:235) - Second-level cache: enabled
INFO [AWT-EventQueue-0] (SettingsFactory.java:239) - Query cache: disabled
INFO [AWT-EventQueue-0] (SettingsFactory.java:373) - Cache provider: org.hibernate.cache.NoCacheProvider
INFO [AWT-EventQueue-0] (SettingsFactory.java:254) - Optimize cache for minimal puts: disabled
INFO [AWT-EventQueue-0] (SettingsFactory.java:263) - Structured second-level cache entries: disabled
INFO [AWT-EventQueue-0] (SettingsFactory.java:290) - Statistics: disabled
INFO [AWT-EventQueue-0] (SettingsFactory.java:294) - Deleted entity synthetic identifier rollback: disabled
INFO [AWT-EventQueue-0] (SettingsFactory.java:309) - Default entity-mode: pojo
INFO [AWT-EventQueue-0] (SettingsFactory.java:313) - Named query checking : enabled
INFO [AWT-EventQueue-0] (SessionFactoryImpl.java:161) - building session factory
INFO [AWT-EventQueue-0] (SessionFactoryObjectFactory.java:82) - Not binding factory to JNDI, no JNDI name configured
INFO [AWT-EventQueue-0] (CustomerImpl.java:72) - Query is "Select c from Customer c where c.paddleNumber = :paddleNumber "
INFO [AWT-EventQueue-0] (CustomerImpl.java:73) - bidderNumber= 1
INFO [AWT-EventQueue-0] (NullableType.java:182) - could not read column value from result set: PaddleN15_16_; No data found
WARN [AWT-EventQueue-0] (AbstractBatcher.java:280) - exception clearing maxRows/queryTimeout
java.sql.SQLException: [Microsoft][ODBC Microsoft Access Driver]Optional feature not implemented
        at sun.jdbc.odbc.JdbcOdbc.createSQLException(JdbcOdbc.java:6957)
        at sun.jdbc.odbc.JdbcOdbc.standardError(JdbcOdbc.java:7114)
        at sun.jdbc.odbc.JdbcOdbc.SQLGetStmtOption(JdbcOdbc.java:4416)
        at sun.jdbc.odbc.JdbcOdbcStatement.getStmtOption(JdbcOdbcStatement.java:1208)
        at sun.jdbc.odbc.JdbcOdbcStatement.getQueryTimeout(JdbcOdbcStatement.java:697)
        at org.hibernate.jdbc.AbstractBatcher.closeQueryStatement(AbstractBatcher.java:277)
        at org.hibernate.jdbc.AbstractBatcher.closeQueryStatement(AbstractBatcher.java:212)
        at org.hibernate.loader.Loader.doQuery(Loader.java:726)
        at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:236)
        at org.hibernate.loader.Loader.doList(Loader.java:2220)
        at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2104)
        at org.hibernate.loader.Loader.list(Loader.java:2099)
        at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:378)
        at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:338)
        at org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:172)
        at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1121)
        at org.hibernate.impl.QueryImpl.list(QueryImpl.java:79)
        at org.hibernate.ejb.QueryImpl.getSingleResult(QueryImpl.java:81)
        at com.az.auctionsync.model.CustomerImpl.executeQuery(CustomerImpl.java:84)
        at com.az.auctionsync.main.AuctionSync.syncCustomer(AuctionSync.java:79)
        at com.az.paystation.view.AZView.jButton_sync_action(AZView.java:1554)
        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:597)
        at org.jdesktop.application.ApplicationAction.noProxyActionPerformed(ApplicationAction.java:662)
        at org.jdesktop.application.ApplicationAction.actionPerformed(ApplicationAction.java:698)
        at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
        at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
        at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
        at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
        at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
        at java.awt.Component.processMouseEvent(Component.java:6263)
        at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
        at java.awt.Component.processEvent(Component.java:6028)
        at java.awt.Container.processEvent(Container.java:2041)
        at java.awt.Component.dispatchEventImpl(Component.java:4630)
        at java.awt.Container.dispatchEventImpl(Container.java:2099)
        at java.awt.Component.dispatchEvent(Component.java:4460)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4574)
        at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
        at java.awt.Container.dispatchEventImpl(Container.java:2085)
        at java.awt.Window.dispatchEventImpl(Window.java:2478)
        at java.awt.Component.dispatchEvent(Component.java:4460)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
WARN [AWT-EventQueue-0] (JDBCExceptionReporter.java:77) - SQL Error: 0, SQLState: null
ERROR [AWT-EventQueue-0] (JDBCExceptionReporter.java:78) - No data found


Top
 Profile  
 
 Post subject: opening new JDBC connection - Cannot open connection
PostPosted: Thu Mar 18, 2010 11:01 pm 
Newbie

Joined: Tue Feb 16, 2010 8:32 pm
Posts: 7
I turned on debug and it seems that the exception is related to "opening new JDBC connection".
This happens when a result is returned from the query
Therefore it seems that a connection was made with the database
and I'm not sure why this exception is thrown.
Any help would be greatly appreciated.

Code:
DEBUG [main] (AbstractBatcher.java:366) - about to open PreparedStatement (open PreparedStatements: 0, globally: 0)
DEBUG [main] (ConnectionManager.java:421) - opening JDBC connection
DEBUG [main] (DriverManagerConnectionProvider.java:109) - opening new JDBC connection
DEBUG [main] (JDBCExceptionReporter.java:69) - Cannot open connection [???]
java.sql.SQLException: [Microsoft][ODBC Microsoft Access Driver]Optional feature not implemented


Code:
INFO [main] (CustomerImpl.java:72) - Query is "Select c from Customer c where c.paddleNumber = :paddleNumber "
DEBUG [main] (SessionImpl.java:220) - opened session at timestamp: 12689668195
DEBUG [main] (QueryTranslatorImpl.java:246) - parse() - HQL: Select c from com.charityauctionhelp.auctioncheckoutpro.model.Customer c where c.paddleNumber = :paddleNumber
DEBUG [main] (QueryTranslatorImpl.java:266) - --- HQL AST ---
\-[QUERY] 'query'
    +-[SELECT_FROM] 'SELECT_FROM'
    |  +-[FROM] 'from'
    |  |  \-[RANGE] 'RANGE'
    |  |     +-[DOT] '.'
    |  |     |  +-[DOT] '.'
    |  |     |  |  +-[DOT] '.'
    |  |     |  |  |  +-[DOT] '.'
    |  |     |  |  |  |  +-[IDENT] 'com'
    |  |     |  |  |  |  \-[IDENT] 'charityauctionhelp'
    |  |     |  |  |  \-[IDENT] 'auctioncheckoutpro'
    |  |     |  |  \-[IDENT] 'model'
    |  |     |  \-[IDENT] 'Customer'
    |  |     \-[ALIAS] 'c'
    |  \-[SELECT] 'Select'
    |     \-[IDENT] 'c'
    \-[WHERE] 'where'
       \-[EQ] '='
          +-[DOT] '.'
          |  +-[IDENT] 'c'
          |  \-[IDENT] 'paddleNumber'
          \-[COLON] ':'
             \-[IDENT] 'paddleNumber'

DEBUG [main] (ErrorCounter.java:68) - throwQueryException() : no errors
DEBUG [main] (HqlSqlBaseWalker.java:111) - select << begin [level=1, statement=select]
DEBUG [main] (FromElement.java:108) - FromClause{level=1} :  com.charityauctionhelp.auctioncheckoutpro.model.Customer (c) -> customer0_
DEBUG [main] (FromReferenceNode.java:51) - Resolved :  c -> customer0_.CustomerID
DEBUG [main] (FromReferenceNode.java:51) - Resolved :  c -> customer0_.CustomerID
DEBUG [main] (DotNode.java:568) - getDataType() : paddleNumber -> org.hibernate.type.IntegerType@7038b9
DEBUG [main] (FromReferenceNode.java:51) - Resolved :  c.paddleNumber -> customer0_.PaddleNumber
DEBUG [main] (HqlSqlBaseWalker.java:117) - select : finishing up [level=1, statement=select]
DEBUG [main] (HqlSqlWalker.java:509) - processQuery() :  ( SELECT ( {select clause} customer0_.CustomerID ) ( FromClause{level=1} Customers customer0_ ) ( where ( = ( customer0_.PaddleNumber customer0_.CustomerID paddleNumber ) ? ) ) )
DEBUG [main] (JoinProcessor.java:148) - Using FROM fragment [Customers customer0_]
DEBUG [main] (HqlSqlBaseWalker.java:123) - select >> end [level=1, statement=select]
DEBUG [main] (QueryTranslatorImpl.java:232) - --- SQL AST ---
\-[SELECT] QueryNode: 'SELECT'  querySpaces (Customers)
    +-[SELECT_CLAUSE] SelectClause: '{select clause}'
    |  +-[ALIAS_REF] IdentNode: 'customer0_.CustomerID as CustomerID10_' {alias=c, className=com.charityauctionhelp.auctioncheckoutpro.model.Customer, tableAlias=customer0_}
    |  \-[SQL_TOKEN] SqlFragment: 'customer0_.Address1 as Address2_10_, customer0_.Address2 as Address3_10_, customer0_.Attendee1 as Attendee4_10_, customer0_.Attendee2 as Attendee5_10_, customer0_.Attendee3 as Attendee6_10_, customer0_.City as City10_, customer0_.Classification as Classifi8_10_, customer0_.Company as Company10_, customer0_.Email as Email10_, customer0_.FirstName as FirstName10_, customer0_.IfExpress as IfExpress10_, customer0_.LastName as LastName10_, customer0_.MiddleName as MiddleName10_, customer0_.PaddleNumber as PaddleN15_10_, customer0_.PartnerFirstName as Partner16_10_, customer0_.PartnerLastName as Partner17_10_, customer0_.PartnerMiddleName as Partner18_10_, customer0_.PartnerTitle as Partner19_10_, customer0_.Payment as Payment10_, customer0_.Phone as Phone10_, customer0_.Sponsor as Sponsor10_, customer0_.State as State10_, customer0_.TableNumber as TableNu24_10_, customer0_.Title as Title10_, customer0_.Zip as Zip10_'
    +-[FROM] FromClause: 'from' FromClause{level=1, fromElementCounter=1, fromElements=1, fromElementByClassAlias=[c], fromElementByTableAlias=[customer0_], fromElementsByPath=[], collectionJoinFromElementsByPath=[], impliedElements=[]}
    |  \-[FROM_FRAGMENT] FromElement: 'Customers customer0_' FromElement{explicit,not a collection join,not a fetch join,fetch non-lazy properties,classAlias=c,role=null,tableName=Customers,tableAlias=customer0_,origin=null,colums={,className=com.charityauctionhelp.auctioncheckoutpro.model.Customer}}
    \-[WHERE] SqlNode: 'where'
       \-[EQ] BinaryLogicOperatorNode: '='
          +-[DOT] DotNode: 'customer0_.PaddleNumber' {propertyName=paddleNumber,dereferenceType=4,propertyPath=paddleNumber,path=c.paddleNumber,tableAlias=customer0_,className=com.charityauctionhelp.auctioncheckoutpro.model.Customer,classAlias=c}
          |  +-[ALIAS_REF] IdentNode: 'customer0_.CustomerID' {alias=c, className=com.charityauctionhelp.auctioncheckoutpro.model.Customer, tableAlias=customer0_}
          |  \-[IDENT] IdentNode: 'paddleNumber' {originalText=paddleNumber}
          \-[NAMED_PARAM] ParameterNode: '?' {name=paddleNumber, expectedType=org.hibernate.type.IntegerType@7038b9}

DEBUG [main] (ErrorCounter.java:68) - throwQueryException() : no errors
DEBUG [main] (QueryTranslatorImpl.java:216) - HQL: Select c from com.charityauctionhelp.auctioncheckoutpro.model.Customer c where c.paddleNumber = :paddleNumber
DEBUG [main] (QueryTranslatorImpl.java:217) - SQL: select customer0_.CustomerID as CustomerID10_, customer0_.Address1 as Address2_10_, customer0_.Address2 as Address3_10_, customer0_.Attendee1 as Attendee4_10_, customer0_.Attendee2 as Attendee5_10_, customer0_.Attendee3 as Attendee6_10_, customer0_.City as City10_, customer0_.Classification as Classifi8_10_, customer0_.Company as Company10_, customer0_.Email as Email10_, customer0_.FirstName as FirstName10_, customer0_.IfExpress as IfExpress10_, customer0_.LastName as LastName10_, customer0_.MiddleName as MiddleName10_, customer0_.PaddleNumber as PaddleN15_10_, customer0_.PartnerFirstName as Partner16_10_, customer0_.PartnerLastName as Partner17_10_, customer0_.PartnerMiddleName as Partner18_10_, customer0_.PartnerTitle as Partner19_10_, customer0_.Payment as Payment10_, customer0_.Phone as Phone10_, customer0_.Sponsor as Sponsor10_, customer0_.State as State10_, customer0_.TableNumber as TableNu24_10_, customer0_.Title as Title10_, customer0_.Zip as Zip10_ from Customers customer0_ where customer0_.PaddleNumber=?
DEBUG [main] (ErrorCounter.java:68) - throwQueryException() : no errors
DEBUG [main] (AbstractBatcher.java:366) - about to open PreparedStatement (open PreparedStatements: 0, globally: 0)
DEBUG [main] (ConnectionManager.java:421) - opening JDBC connection
DEBUG [main] (DriverManagerConnectionProvider.java:109) - opening new JDBC connection
DEBUG [main] (JDBCExceptionReporter.java:69) - Cannot open connection [???]
java.sql.SQLException: [Microsoft][ODBC Microsoft Access Driver]Optional feature not implemented
        at sun.jdbc.odbc.JdbcOdbc.createSQLException(JdbcOdbc.java:6957)
        at sun.jdbc.odbc.JdbcOdbc.standardError(JdbcOdbc.java:7114)
        at sun.jdbc.odbc.JdbcOdbc.SQLGetConnectOption(JdbcOdbc.java:3427)
        at sun.jdbc.odbc.JdbcOdbcConnection.getTransactionIsolation(JdbcOdbcConnection.java:1046)
        at org.hibernate.connection.DriverManagerConnectionProvider.getConnection(DriverManagerConnectionProvider.java:115)
        at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:423)
        at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:144)
        at org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatcher.java:139)
        at org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1547)
        at org.hibernate.loader.Loader.doQuery(Loader.java:673)
        at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:236)
        at org.hibernate.loader.Loader.doList(Loader.java:2220)
        at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2104)
        at org.hibernate.loader.Loader.list(Loader.java:2099)
        at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:378)
        at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:338)
        at org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:172)
        at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1121)
        at org.hibernate.impl.QueryImpl.list(QueryImpl.java:79)
        at org.hibernate.ejb.QueryImpl.getSingleResult(QueryImpl.java:81)
        at com.az.auctionsync.model.CustomerImpl.executeQuery(CustomerImpl.java:84)
        at com.az.auctionsync.main.AuctionSync.test(AuctionSync.java:60)
        at com.az.auctionsync.main.AuctionSync.main(AuctionSync.java:54)
WARN [main] (JDBCExceptionReporter.java:77) - SQL Error: 106, SQLState: S1C00
ERROR [main] (JDBCExceptionReporter.java:78) - [Microsoft][ODBC Microsoft Access Driver]Optional feature not implemented
DEBUG [main] (ConnectionManager.java:404) - aggressively releasing JDBC connection
DEBUG [main] (AbstractEntityManagerImpl.java:425) - mark transaction for rollback
javax.persistence.PersistenceException: org.hibernate.exception.GenericJDBCException: Cannot open connection
        at org.hibernate.ejb.AbstractEntityManagerImpl.throwPersistenceException(AbstractEntityManagerImpl.java:637)
        at org.hibernate.ejb.QueryImpl.getSingleResult(QueryImpl.java:107)
        at com.az.auctionsync.model.CustomerImpl.executeQuery(CustomerImpl.java:84)
        at com.az.auctionsync.main.AuctionSync.test(AuctionSync.java:60)
        at com.az.auctionsync.main.AuctionSync.main(AuctionSync.java:54)
Caused by: org.hibernate.exception.GenericJDBCException: Cannot open connection
        at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:103)
        at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:91)
        at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
        at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:29)
        at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:426)
        at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:144)
        at org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatcher.java:139)
        at org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1547)
        at org.hibernate.loader.Loader.doQuery(Loader.java:673)
        at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:236)
        at org.hibernate.loader.Loader.doList(Loader.java:2220)
        at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2104)
        at org.hibernate.loader.Loader.list(Loader.java:2099)
        at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:378)
        at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:338)
        at org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:172)
        at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1121)
        at org.hibernate.impl.QueryImpl.list(QueryImpl.java:79)
        at org.hibernate.ejb.QueryImpl.getSingleResult(QueryImpl.java:81)
        ... 3 more
Caused by: java.sql.SQLException: [Microsoft][ODBC Microsoft Access Driver]Optional feature not implemented
        at sun.jdbc.odbc.JdbcOdbc.createSQLException(JdbcOdbc.java:6957)
        at sun.jdbc.odbc.JdbcOdbc.standardError(JdbcOdbc.java:7114)
        at sun.jdbc.odbc.JdbcOdbc.SQLGetConnectOption(JdbcOdbc.java:3427)
        at sun.jdbc.odbc.JdbcOdbcConnection.getTransactionIsolation(JdbcOdbcConnection.java:1046)
        at org.hibernate.connection.DriverManagerConnectionProvider.getConnection(DriverManagerConnectionProvider.java:115)
        at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:423)
        ... 17 more


Top
 Profile  
 
 Post subject: Re: NullableType - could not read column value from result set
PostPosted: Fri Mar 19, 2010 12:19 am 
Newbie

Joined: Tue Feb 16, 2010 8:32 pm
Posts: 7
The curious thing is that a much more complex MS Access query, PaymentsBalance, executes correctly and returns the expected result

PaymentsBalance
Code:
SELECT SumCharges.CustomerID, SumCharges.PaddleNumber, SumCharges.LastName, SumCharges.FirstName, SumCharges.MiddleName, SumCharges.IfExpress, SumCharges.SumOfPrice, SumPayments.SumOfAmount, IIf(IsNull([SumOfAmount]),[SumOfPrice],([SumOfPrice]-[SumOfAmount])) AS Balance
FROM SumCharges LEFT JOIN SumPayments ON SumCharges.CustomerID = SumPayments.CustomerID;

SumCharges
Code:
SELECT ListCharges.CustomerID, ListCharges.PaddleNumber, ListCharges.LastName, ListCharges.FirstName, ListCharges.MiddleName, ListCharges.IfExpress, Sum(ListCharges.Price) AS SumOfPrice
FROM ListCharges
GROUP BY ListCharges.CustomerID, ListCharges.PaddleNumber, ListCharges.LastName, ListCharges.FirstName, ListCharges.MiddleName, ListCharges.IfExpress;

ListCharges
Code:
SELECT Customers.CustomerID, Customers.PaddleNumber, LastName, FirstName, MiddleName, IfExpress,
Bids.Price AS Price
FROM (Customers INNER JOIN Bids ON Customers.CustomerID = Bids.CustomerID)
ORDER BY PaddleNumber
UNION ALL SELECT Customers.CustomerID, Customers.PaddleNumber, LastName, FirstName, MiddleName, IfExpress,
NonCatalog.Amount AS Price
FROM (Customers INNER JOIN NonCatalog ON Customers.PaddleNumber = NonCatalog.PaddleNumber)
ORDER BY PaddleNumber;

Code:
Hibernate: select paymentsba0_.CustomerID as CustomerID47_, paymentsba0_.Balance as Balance47_, paymentsba0_.IfExpress as IfExpress47_, paymentsba0_.PaddleNumber as PaddleNu4_47_ from PaymentsBalance paymentsba0_
WARN [AWT-EventQueue-0] (AbstractBatcher.java:280) - exception clearing maxRows/queryTimeout
java.sql.SQLException: [Microsoft][ODBC Microsoft Access Driver]Optional feature not implemented


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.