Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想用Java创建一个工作流管理工具,它允许不同的用户根据他们的需要在运行时从一个swing Gui客户端动态创建他们自己的数据库表和记录。有没有一种理智的方法来实现这一点?我会很感激一些正确方向的指示。谢谢。
您可以使用 JDBC 使用简单的“CREATE table”SQL 命令即时创建表。有时数据库的模式可能会被锁定在不允许创建新对象的生产环境中,如果您有权在数据库中创建表,那么没有什么可以阻止您动态创建表。