I use jpa in spring boot 1.5.10.version.
Default, i found that the sql in console printed with table alias and columns,how can i remove the table alias and console alias.
the hibernate print sql:
Hibernate: select adminuserd0_.id as id1_9_, adminuserd0_.avatar as avatar2_9_, adminuserd0_.created_at as created_at3_9_, adminuserd0_.deleted_at as deleted_at4_9_, adminuserd0_.disabled as disabled5_9_, adminuserd0_.password as password6_9_, adminuserd0_.phone as phone7_9_, adminuserd0_.real_name as real_name8_9_, adminuserd0_.sex as sex9_9_, adminuserd0_.updated_at as updated_at10_9_, adminuserd0_.username as username11_9_ from sharding_test2.admin_user adminuserd0_ where adminuserd0_.username=?
the entity file is:
the Repository file like this:
i use jpa like this:
@qerub @jkutner @scheerer @rtack @xenoterracide
Comment From: bclozel
Thanks for getting in touch, but it feels like this is a question that would be better suited to StackOverflow. As mentioned in the guidelines for contributing, we prefer to use GitHub issues only for bugs and enhancements. Feel free to update this issue with a link to the re-posted question (so that other people can find it) or add some more details if you feel this is a genuine bug.