Guest User

Untitled

a guest
Apr 20th, 2018
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.66 KB | None | 0 0
  1. private void btAlterarActionPerformed(java.awt.event.ActionEvent evt) {
  2.  
  3.  
  4. int linha = tblFornecedor.getSelectedRow();
  5.  
  6. CadastroFornecedor cadFornecedor = new CadastroFornecedor();
  7. String codigo = (String) tblFornecedor.getValueAt(linha,1);
  8.  
  9. Fornecedor fornecedor = new Fornecedor();
  10.  
  11. cadFornecedor.preenche_campos_fornecedor(codigo);
  12. cadFornecedor.setVisible(true);
  13. dispose();
  14.  
  15.  
  16. }
  17.  
  18.  
  19. >>>>>>>>>>Erro Console<<<<<<<<<<<<<<<
  20.  
  21.  
  22. run:
  23. Dez 05, 2011 3:18:53 PM org.hibernate.cfg.Environment <clinit>
  24. Informações: Hibernate 3.2.5
  25. Dez 05, 2011 3:18:53 PM org.hibernate.cfg.Environment <clinit>
  26. Informações: hibernate.properties not found
  27. Dez 05, 2011 3:18:53 PM org.hibernate.cfg.Environment buildBytecodeProvider
  28. Informações: Bytecode provider name : cglib
  29. Dez 05, 2011 3:18:53 PM org.hibernate.cfg.Environment <clinit>
  30. Informações: using JDK 1.4 java.sql.Timestamp handling
  31. Dez 05, 2011 3:18:53 PM org.hibernate.cfg.Configuration configure
  32. Informações: configuring from resource: hibernate.cfg.xml
  33. Dez 05, 2011 3:18:53 PM org.hibernate.cfg.Configuration getConfigurationInputStream
  34. Informações: Configuration resource: hibernate.cfg.xml
  35. Dez 05, 2011 3:18:53 PM org.hibernate.cfg.Configuration addResource
  36. Informações: Reading mappings from resource : Frig/Fornecedor.hbm.xml
  37. Dez 05, 2011 3:18:53 PM org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues
  38. Informações: Mapping class: Frig.Fornecedor -> fornecedor
  39. Dez 05, 2011 3:18:53 PM org.hibernate.cfg.Configuration doConfigure
  40. Informações: Configured SessionFactory: null
  41. Dez 05, 2011 3:18:53 PM org.hibernate.connection.DriverManagerConnectionProvider configure
  42. Informações: Using Hibernate built-in connection pool (not for production use!)
  43. Dez 05, 2011 3:18:53 PM org.hibernate.connection.DriverManagerConnectionProvider configure
  44. Informações: Hibernate connection pool size: 20
  45. Dez 05, 2011 3:18:53 PM org.hibernate.connection.DriverManagerConnectionProvider configure
  46. Informações: autocommit mode: false
  47. Dez 05, 2011 3:18:53 PM org.hibernate.connection.DriverManagerConnectionProvider configure
  48. Informações: using driver: com.mysql.jdbc.Driver at URL: jdbc:mysql://localhost:3306/Frigorifico
  49. Dez 05, 2011 3:18:53 PM org.hibernate.connection.DriverManagerConnectionProvider configure
  50. Informações: connection properties: {user=root, password=****}
  51. Dez 05, 2011 3:18:53 PM org.hibernate.cfg.SettingsFactory buildSettings
  52. Informações: RDBMS: MySQL, version: 5.0.45-community-nt
  53. Dez 05, 2011 3:18:53 PM org.hibernate.cfg.SettingsFactory buildSettings
  54. Informações: JDBC driver: MySQL-AB JDBC Driver, version: mysql-connector-java-5.1.6 ( Revision: ${svn.Revision} )
  55. Dez 05, 2011 3:18:53 PM org.hibernate.dialect.Dialect <init>
  56. Informações: Using dialect: org.hibernate.dialect.MySQLDialect
  57. Dez 05, 2011 3:18:53 PM org.hibernate.transaction.TransactionFactoryFactory buildTransactionFactory
  58. Informações: Using default transaction strategy (direct JDBC transactions)
  59. Dez 05, 2011 3:18:53 PM org.hibernate.transaction.TransactionManagerLookupFactory getTransactionManagerLookup
  60. Informações: No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended)
  61. Dez 05, 2011 3:18:53 PM org.hibernate.cfg.SettingsFactory buildSettings
  62. Informações: Automatic flush during beforeCompletion(): disabled
  63. Dez 05, 2011 3:18:53 PM org.hibernate.cfg.SettingsFactory buildSettings
  64. Informações: Automatic session close at end of transaction: disabled
  65. Dez 05, 2011 3:18:53 PM org.hibernate.cfg.SettingsFactory buildSettings
  66. Informações: JDBC batch size: 15
  67. Dez 05, 2011 3:18:53 PM org.hibernate.cfg.SettingsFactory buildSettings
  68. Informações: JDBC batch updates for versioned data: disabled
  69. Dez 05, 2011 3:18:53 PM org.hibernate.cfg.SettingsFactory buildSettings
  70. Informações: Scrollable result sets: enabled
  71. Dez 05, 2011 3:18:53 PM org.hibernate.cfg.SettingsFactory buildSettings
  72. Informações: JDBC3 getGeneratedKeys(): enabled
  73. Dez 05, 2011 3:18:53 PM org.hibernate.cfg.SettingsFactory buildSettings
  74. Informações: Connection release mode: auto
  75. Dez 05, 2011 3:18:53 PM org.hibernate.cfg.SettingsFactory buildSettings
  76. Informações: Maximum outer join fetch depth: 2
  77. Dez 05, 2011 3:18:53 PM org.hibernate.cfg.SettingsFactory buildSettings
  78. Informações: Default batch fetch size: 1
  79. Dez 05, 2011 3:18:53 PM org.hibernate.cfg.SettingsFactory buildSettings
  80. Informações: Generate SQL with comments: disabled
  81. Dez 05, 2011 3:18:53 PM org.hibernate.cfg.SettingsFactory buildSettings
  82. Informações: Order SQL updates by primary key: disabled
  83. Dez 05, 2011 3:18:53 PM org.hibernate.cfg.SettingsFactory buildSettings
  84. Informações: Order SQL inserts for batching: disabled
  85. Dez 05, 2011 3:18:53 PM org.hibernate.cfg.SettingsFactory createQueryTranslatorFactory
  86. Informações: Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
  87. Dez 05, 2011 3:18:53 PM org.hibernate.hql.ast.ASTQueryTranslatorFactory <init>
  88. Informações: Using ASTQueryTranslatorFactory
  89. Dez 05, 2011 3:18:53 PM org.hibernate.cfg.SettingsFactory buildSettings
  90. Informações: Query language substitutions: {}
  91. Dez 05, 2011 3:18:53 PM org.hibernate.cfg.SettingsFactory buildSettings
  92. Informações: JPA-QL strict compliance: disabled
  93. Dez 05, 2011 3:18:53 PM org.hibernate.cfg.SettingsFactory buildSettings
  94. Informações: Second-level cache: enabled
  95. Dez 05, 2011 3:18:53 PM org.hibernate.cfg.SettingsFactory buildSettings
  96. Informações: Query cache: disabled
  97. Dez 05, 2011 3:18:53 PM org.hibernate.cfg.SettingsFactory createCacheProvider
  98. Informações: Cache provider: org.hibernate.cache.NoCacheProvider
  99. Dez 05, 2011 3:18:53 PM org.hibernate.cfg.SettingsFactory buildSettings
  100. Informações: Optimize cache for minimal puts: disabled
  101. Dez 05, 2011 3:18:53 PM org.hibernate.cfg.SettingsFactory buildSettings
  102. Informações: Structured second-level cache entries: disabled
  103. Dez 05, 2011 3:18:53 PM org.hibernate.cfg.SettingsFactory buildSettings
  104. Informações: Statistics: disabled
  105. Dez 05, 2011 3:18:53 PM org.hibernate.cfg.SettingsFactory buildSettings
  106. Informações: Deleted entity synthetic identifier rollback: disabled
  107. Dez 05, 2011 3:18:53 PM org.hibernate.cfg.SettingsFactory buildSettings
  108. Informações: Default entity-mode: pojo
  109. Dez 05, 2011 3:18:53 PM org.hibernate.cfg.SettingsFactory buildSettings
  110. Informações: Named query checking : enabled
  111. Dez 05, 2011 3:18:53 PM org.hibernate.impl.SessionFactoryImpl <init>
  112. Informações: building session factory
  113. Dez 05, 2011 3:18:53 PM org.hibernate.impl.SessionFactoryObjectFactory addInstance
  114. Informações: Not binding factory to JNDI, no JNDI name configured
Add Comment
Please, Sign In to add comment