Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sts@sts:~/workspace/business-function-kukuh$ mvn clean package jleaf:generate-entity-dao
- [INFO] Scanning for projects...
- [INFO]
- [INFO] ------------------------------------------------------------------------
- [INFO] Building Learn Jleaf Business Object 1.0.1-SNAPSHOT
- [INFO] ------------------------------------------------------------------------
- [INFO]
- [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ learn-bo ---
- [INFO] Deleting /home/sts/workspace/business-function-kukuh/target
- [INFO]
- [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ learn-bo ---
- [debug] execute contextualize
- [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
- [INFO] Copying 1 resource
- [INFO]
- [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ learn-bo ---
- [WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
- [INFO] Compiling 29 source files to /home/sts/workspace/business-function-kukuh/target/classes
- [INFO]
- [INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ learn-bo ---
- [debug] execute contextualize
- [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
- [INFO] Copying 14 resources
- [INFO]
- [INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ learn-bo ---
- [WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
- [INFO] Compiling 10 source files to /home/sts/workspace/business-function-kukuh/target/test-classes
- [INFO]
- [INFO] --- maven-surefire-plugin:2.16:test (default-test) @ learn-bo ---
- [INFO] Tests are skipped.
- [INFO]
- [INFO] --- maven-jar-plugin:2.3.2:jar (default-jar) @ learn-bo ---
- [INFO] Building jar: /home/sts/workspace/business-function-kukuh/target/learn-bo-1.0.1-SNAPSHOT.jar
- [INFO]
- [INFO] --- jleaf-maven-plugin:2.1.4:generate-entity-dao (default-cli) @ learn-bo ---
- [INFO] BEGIN generate entity dao, daoimpl
- [INFO] Configuiration Generate Entity Dao Plugin :
- [INFO] # serverConfig.persistenceXml = /home/sts/workspace/business-function-kukuh/src/main/resources/META-INF/learn-persistence.xml
- [INFO] # serverConfig.groupId = org.jleaf
- [INFO] # serverConfig.artifactId = jleaf-server-config
- [INFO] # serverConfig.version = 2.1.0
- [INFO] # serverConfig.file.source = server-config-local.properties
- [INFO] # serverConfig.target.forClass = /home/sts/workspace/business-function-kukuh/src/main/java
- [INFO] # serverConfig.target.forClass = /home/sts/workspace/business-function-kukuh/src/main/java
- Press <ENTER> if unchaged
- Database driver (org.postgresql.Driver) :
- Database url (jdbc:postgresql://localhost:5432/jleaf) : jdbc:postgresql://localhost:5432/learn-jleaf
- Database username (postgres) :
- Database password (postgres) :
- log4j:WARN No appenders could be found for logger (org.springframework.jdbc.datasource.DriverManagerDataSource).
- log4j:WARN Please initialize the log4j system properly.
- [INFO] List tablename :
- customer
- Table Name () : customer
- [INFO] Table found in database
- [INFO] Column :
- customer_id
- customer_code
- customer_name
- address_line_1
- address_line_2
- city
- state_of_province
- postal_code
- phone_number
- mobile_phone
- active
- active_datetime
- non_active_datetime
- create_user_id
- update_user_id
- create_datetime
- update_datetime
- version
- [INFO] ENTITY CLASS
- Entity Package () : org.jleaf.learnjleaf.entity
- Entity Name (CustomerCustomer) : Customer
- Author : Kukuh
- [INFO] LIST ENTITY EXTENDS :
- Option list :
- 1. BaseEntity
- 2. BaseEntityMaster
- 3. None
- Entity extends (2) : 2
- [INFO] PRIMARY KEY USING SEQUENCE
- column = customer_id, type = Long, sequence = lj_customer_seq
- customer_id (id) :
- [INFO] LIST COLUMN INFO
- 1. name = customer_code, data type = character varying, length = 50
- 2. name = customer_name, data type = character varying, length = 100
- 3. name = address_line_1, data type = character varying, length = 1024
- 4. name = address_line_2, data type = character varying, length = 1024
- 5. name = city, data type = character varying, length = 100
- 6. name = state_of_province, data type = character varying, length = 100
- 7. name = postal_code, data type = character varying, length = 50
- 8. name = phone_number, data type = character varying, length = 50
- 9. name = mobile_phone, data type = character varying, length = 50
- [INFO] FILL COLUMN INFO
- 1. customer_code (customerCode) :
- 2. customer_name (customerName) :
- 3. address_line_1 (addressLine1) :
- 4. address_line_2 (addressLine2) :
- 5. city (city) :
- 6. state_of_province (stateOfProvince) :
- 7. postal_code (postalCode) :
- 8. phone_number (phoneNumber) :
- 9. mobile_phone (mobilePhone) :
- [INFO] Writing entity java file
- File /home/sts/workspace/business-function-kukuh/src/main/java/org/jleaf/learnjleaf/entity/Customer.java exists, ovewrite file? (N) : Y
- [INFO] GENERATE Dao and DaoImpl
- Package name for Dao (org.jleaf.learnjleaf.dao) :
- Dao Name (CustomerDao) :
- Dao Impl Name (CustomerDaoImpl) :
- [INFO] Writing Dao and DaoImpl file
- File /home/sts/workspace/business-function-kukuh/src/main/java/org/jleaf/learnjleaf/dao/CustomerDao.java exists, ovewrite file? (N) : Y
- File /home/sts/workspace/business-function-kukuh/src/main/java/org/jleaf/learnjleaf/dao/CustomerDaoImpl.java exists, ovewrite file? (N) : Y
- [INFO] Done generate Dao and DaoImpl
- entity : org.jleaf.learnjleaf.entity.Customer
- [INFO] Adding <class>org.jleaf.learnjleaf.entity.Customer</class> persistence xml
- persistenceXml :
- <?xml version="1.0" encoding="UTF-8"?>
- <persistence version="1.0"
- xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd">
- <persistence-unit name="default" transaction-type="RESOURCE_LOCAL">
- <class>org.jleaf.learnjleaf.entity.Sample</class>
- <class>org.jleaf.learnjleaf.entity.Customer</class>
- </persistence-unit>
- </persistence>
- [INFO] PLEASE RESFRESH YOUR PROJECT IN ECLIPSE TO VIEW THE GENERATED CLASS FILE
- [INFO] END generate entity dao, daoimpl
- [INFO] ------------------------------------------------------------------------
- [INFO] BUILD SUCCESS
- [INFO] ------------------------------------------------------------------------
- [INFO] Total time: 6:47.400s
- [INFO] Finished at: Mon Jan 30 11:48:54 WIT 2017
- [INFO] Final Memory: 21M/216M
- [INFO] ------------------------------------------------------------------------
- sts@sts:~/workspace/business-function-kukuh$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement